STAREmaster  1.0
Public Member Functions | Public Attributes | List of all members
GeoFile Class Reference

This is the base class for a data file with geolocation. More...

#include <GeoFile.h>

Inheritance diagram for GeoFile:
Inheritance graph
[legend]

Public Member Functions

int determineFormat (const std::string fileName, int *gf_format)
 Determine the format of the target file. More...
 
int readFile (const std::string fileName, int verbose, int quiet, int build_level)
 Read file.
 

Public Attributes

int num_index
 Number of STARE indicies needed for this file.
 
int * geo_num_i1
 Number of I.
 
int * geo_num_j1
 Number of J.
 
double ** geo_lat1
 Array of latitude values.
 
double ** geo_lon1
 Array of longitude values.
 
unsigned long long ** geo_index1
 Array of STARE index.
 
vector< string > var_name [MAX_NUM_INDEX]
 Names of vars that use this index.
 

Detailed Description

This is the base class for a data file with geolocation.

Member Function Documentation

◆ determineFormat()

int GeoFile::determineFormat ( const std::string  fileName,
int *  gf_format 
)

Determine the format of the target file.

Parameters
fileNameName of the target file.
gf_formatPointer to int that gets a constant indicating the format. Ignored if NULL.
Returns
0 for success, error code otherwise.

The documentation for this class was generated from the following files: