Site files list the 12 monthly values for a single variable in one file. This time-sequential format was developed to facilitate data extraction for individual grid cells.
For the VEMAP project the conterminous US was divided into 0.5 degree by 0.5 degree grid cells. There are 115 grid cells across the US from west to east and 48 from north to south. The cells are numbered consecutively from 1 to 5520, beginning in the NW corner of the grid and increasing first to the east and then to the south. All grid cells are referenced by the latitude and longitude of the cell center.
Each variable with monthly data has an associated site file. The site files list all non-background grid points sequentially, with one line per grid point (3261 records). Each record contains the grid point and 6 columns of data describing the general physical characteristics of the grid cell (e.g., latitude, longitude, elevation). These 7 columns are followed by 12 columns of monthly values for the variable described by the filename.
Note: The grid cells are large enough (0.5 degree x 0.5 degree) to contain significant terrain variation within the cell. Grid cells with less than half their area covered by land have been omitted. This occurs both near the ocean and near inland lakes.
xx25 xx75 xx25 ....
In our example the nearest grid cell coordinates are latitude 43.25N
and longitude 87.75W, which delineates a cell centered slightly to
the northeast of Milwaukee.
4325 8775
The file position for a specific grid point can be easily calculated.
row_number = 1 + [(grid point - 1)/115]
Truncate the decimal portion of row_number without rounding (i.e., 5.6 = 5). Then use row_number to calculate the column number.
column_number = grid point - [115 * (row_number - 1)]
Example for grid point 1338:
row_number = 1 + [(1338 - 1)/115]
= 1 + 11.63
= 12.63
= 12
column_number = 1338 - [115 * (12 - 1)]
= 1338 - 1265
= 73