Hello Mat,
The UNIX/Linux version works with format of the data like:
FILE:2005-09-25_00
while under Windows “:” is not possible symbol for file name so we have to replace in the source code the symbol “:” with “+” for example. The file is:
proc_ingest_first_guess.F.
(actually this file is in the \regridder\src but as I remember I changed only in this file the “:” with “+” at lines 132, 134, 136, the lines may be be different for the different versions of the code but they should be three).
First you can try gribprint command (\regrid\pregrid\src\util\gribprint.exe):
C:\gribprint some_GRIB_file.grib
where some_GRIB_file.grib is a file which store weather data (for example the atmosphere pressure, temperature, dewpoint, wind direction&speed for 00 UTC 09/25/2005. At this point I get error. If I run gribprint without data file (only “c:\gribprint.exe”) then it works and gives me the options (-v,-V=verbose,etc.). With gribprint we look inside the GRIB files to check what is the time stamp, for what time is the GRIB file (gribprint show a list of the dates of each variable in a column and other data if used -v or -V options).
Here are two grib files:
http://www.stormlab.net/mat/GRIBFILE.AA.txt
http://www.stormlab.net/mat/GRIBFILE.AB.txt
http://www.stormlab.net/mat/pregrid.namelist.txt
Rename gfs1.grib to GRIBFILE.AA, gfs2.grib to GRIBFILE.AB, pregrid.namelist.txt to pregrid.namelist (it’s not possible to download from my web site files without extension, only jpg,html,txt,etc.) and put this files in \regrid\pregrid\grib.misc\ directory.
Run \regrid\pregrid\grib.misc\pregrid_grib.exe
When it tires to read the data it fails. I think that the problem is in the file \regrid\pregrid\util\cio.c (which is realted with the data reading/writing, and as you see is the only one C file in MM5 package) or just in the compiler’s flags.
Thanks for your time!
Angel