Keith Cherkauer
July 25, 1996
This routine reads in meteorological data from NCDC surface airways gridded hourly data files. Originally this subroutine was written to skip data if the time step was greater then hourly, but currently the routine assumes that the data is provided in the correct time step. If the atmos_data_struct has been defined (as in read_atmosdata.c), then this routine simply reads the surface airways data into the structure array, otherwise it determines the number of records, and allocates the structure.
Variable |
Type |
Units |
Description |
|
temp |
atmos_data_struct ** |
N/A |
Structure contains all atmospheric forcing data |
|
sawdf |
FILE * |
N/A |
File pointer to surface airways data file |
|
nrecs |
int * |
N/A |
Number of records or time steps for which the model will be run |
|
dt |
int |
hours |
Model time step |
|
prec |
int |
N/A |
Flag indicating whether hourly precipitation is read from the surface airways data file |
Variable |
Type |
Units |
Description |
|
temp |
atmos_data_struct ** |
N/A |
Structure contains all atmospheric forcing data
|
|
nrecs |
int * |
N/A |
Number of records or time steps for which the model will be run |
Page Last Modified on 2/9/98