






typedef struct geo_pos
{
    float lat;
    float lon;    
    float elv;
    
};


typedef struct station_data_type
{
    char time[10];
    int temp;

};





typedef struct station_type
{
    geo_pos pos;

/*    int lat_deg;
    int lat_min;
    char lat_dir;

    int lon_deg;
    int lon_min;
    char lon_dir;*/
        
   // float temp;
        
       
    char id[10];        
        
    char state[64];
    bool data_valid;
    
    station_data_type data;
};






extern station_type *stations;
extern unsigned int num_stations;

void load_stations ( char *filename );
void load_data ( char *filename );



extern int max_temp;
extern int min_temp;


