Middle Rio Grande Conservancy District
The Middle Rio Grande Conservancy District operates a network of weather stations along the Rio Grande, mostly in North-Central New Mexico.
Station Information
As of this writing, the following station information is correct. Included are station ID, name, latitude, longitude, elevation, status, and raw data file values. The raw data file value is the name of the file containing un-processed data for the given station and downloaded by the NM Climate Office.
ID |
Name |
Latitude |
Longitude |
Elevation (m) |
Status |
Raw Data File |
PBLN5 |
Pena Blanca |
35.581111 |
-106.333889 |
1591.056 |
Reporting |
pbln5.dat |
ANGN5 |
Angostura |
35.375278 |
-106.502778 |
1549.908 |
Reporting |
angn5.dat |
CSBN5 |
Corrales Bosque |
35.261389 |
-106.596111 |
1531.0104 |
Reporting |
csbn5.dat |
CFMN5 |
Candelaria Farms |
35.133333 |
-106.683333 |
1513.6368 |
Reporting |
cfmn5.dat |
BBAN5 |
Albuquerque Bosque |
35.261389 |
-106.596111 |
1502.664 |
Reporting |
bban5.dat |
PDFN5 |
Prices Dairy Farm |
34.980833 |
-106.669167 |
1499.616 |
Reporting |
pdfn5.dat |
JRLN5 |
Jarales |
34.612222 |
-106.755 |
1459.992 |
Reporting |
jrln5.dat |
ASFN5 |
Adolf Sanchez Farm |
34.55 |
-106.76667 |
1455.42 |
Reporting |
asfn5.dat |
IHFN5 |
Indian Hill Farm |
34.116667 |
-106.8883 |
1406 |
Reporting |
ihfn5.dat |
LNCN5 |
Lemitar Nature Center |
34.164444 |
-106.891 |
1411 |
Reporting |
lncn5.dat |
GWFN5 |
Gus Wagner Farm |
34.083333 |
-106.883333 |
1400.556 |
Reporting |
gwfn5.dat |
LLZN5 |
Luis Lopez |
33.95 |
-106.866667 |
1388.364 |
Reporting |
llzn5.dat |
CQFN5 |
Cisto Quintana Farm |
35.5125 |
-106.38 |
1574 |
Closed |
cqfn5.dat |
BWWN5 |
Bosque Farms |
34.8319 |
-106.711 |
1480 |
Closed |
bwwn5.dat |
LCZN5 |
Los Chavez Bosque |
34.7447 |
-106.745 |
1472 |
Closed |
lczn5.dat |
BOYN5 |
Boy Ranch |
34.4369 |
-106.784 |
1444 |
Closed |
boyn5.dat |
BANN5 |
BDA North |
33.87 |
-106.862 |
1381 |
Closed |
bann5.dat |
MRGCD Raw Data
The MRGCD raw data is downloaded using a Python script and saved in directory available via the web.
Downloader Script
The downloader script may be found in the D:\nmcc_lib\ directory on Weather and is called mrgcd.py. The script has the following command line options:
Options |
Meaning |
-a |
Flag specifying that all data will be downloaded, regardless of -y option. |
-d |
The directory where the MRGCD data will be downloaded. Defaults to the computer user's home directory. |
-h |
Prints a list of command line options. |
-y |
Sets the year of the data to download. Note that this works only if the year value is > 2005. |
--all |
Same as -a option. |
--directory |
Same as -d option. |
--year |
Same as -y option. |
This script is used by entering the following command on the command line:
d:\nmcc_lib\python mrgcd.py
To specify the c:\temp\ directory, for example, use the following commands:
d:\nmcc_lib\python mrgcd.py -d c:/temp/
To specify downloading 2008 data to the c:\temp\ directory, use the following commands:
d:\nmcc_lib\python mrgcd.py -d c:/temp/ -y 2008
Every morning at 05:00 MST, a script located in the D:\cns\scripts\ directory called do_process.py is executed via Window's task scheduler application. The do_process.py script runs the mrgcd.py script, where the MRGCD data is saved in D:\webroot\raw_data\mrgcd\.
Raw Data Format
Raw data for the MRGCD network is stored in file consisting of comma-separated values (CSV). Both hourly and daily data are stored in the same file and are differentiated by the first value of a row of CSV data. The following table describes the output format of MRGCD data. Although the table is formatted vertically, they describe a row of CSV data in the raw data file. Also, the CNS processing system processes CSV data using the convention that 1st column of a row of data is the 1st index of that row. In computer science, it is customary, when dealing with a row of delimited data, that the first column is the 0th index of that row. This table will use the CNS convention.
Index |
Meaning |
1 |
A value of 200 denotes hourly data. 300 denotes daily data. |
2 |
Year (YYYY) |
3 |
Julian Day |
4 |
Hour. Midnight = 2400 |
5 |
Avg. Air Temperature (F) |
6 |
Max. Air Temperature (F). Not used for hourly data. 999 placeholder value. |
7 |
Min. Air Temperature (F). Not used for hourly data. 999 placeholder value. |
8 |
Avg. Relative Humidity (%) |
9 |
Max. Relative Humidity (%) Not used for hourly data. 999 placeholder value. |
10 |
Min. Relative Humidity (%) Not used for hourly data. 999 placeholder value. |
11 |
Total Precipitation (inches) |
12 |
Avg. Wind Speed (MPH) |
13 |
Max. Wind Speed (MPH) Not used for hourly data. 999 placeholder value. |
14 |
Avg. Wind Speed (MPH) Vector Component |
15 |
Avg. Wind Direction (degrees) Vector Component |
16 |
Standard Deviation of Wind Direction (degrees) Vector Component |
17 |
Total Solar Radiation (MJ/m^2) |
18 |
Avg. Soil Temperature (F) |
19 |
Avg. Soil Moisture A (% volume) Not used. 999 placeholder value. |
20 |
Avg. Soil Moisture B (% volume) Not used. 999 placeholder value. |
21 |
Fuel Moisture (%) Not used. 999 placeholder value. |
22 |
Fuel Temperature (F) Not used. 999 placeholder value. |
23 |
Battery Voltage |
Note that the 999 placeholder value may also occur if data is expected, but missing.
Quality Control
At this time, it is not known if there are any QC schemes for the MRGCD raw data. Quality control flags are added to this data as it is processed into the CNS system.
Contact Information
Email: dgensler@mrgcd.com