NAME

init_master - Open the file cache and index

SYNOPSIS

#include "topo/master.h"

Example compile flags (system dependent):
  -DLINUX_X86_64 -DLINUX_X86_64_OPTERON  -DGNU_COMPILER 
   -I/home/kobus/include
   -L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
  -lKJB                               -lfftw3  -lgsl -lgslcblas -ljpeg  -lSVM -lstdc++                    -lpthread -lSLATEC -lg2c    -lacml -lacml_mv -lblas -lg2c      -lncursesw 


int init_master(const char *map_cache_path);

DESCRIPTION

Initialize the file and memory caches of USGS DOQ tiles. This and all file cache functions are NOT reentrant, because they access static structures.

RETURNS

NO_ERROR on success, otherwise ERROR.

DISCLAIMER

This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Scott Morris

DOCUMENTER

Andrew Predoehl