[GRASS-user] Import GRIB files to GRASS

Randy Bradley Randy.Bradley at ars.usda.gov
Wed Jun 9 15:08:37 EDT 2010


>> I'm planning on using some global meteo datasets that are
>> distributed in GRIB format. has anyone ever tried to parse
>> GRIB NCEP files to GRASS?

    It is so interesting to see vastly different approaches to solve a
similar problem.  I'm downloading NOAA forecast data which is in GRIB
format.  I run the files through degrib and then parse the shape files with
a C program using the shapelib libraries and create a new shape file which I
import into GRASS with v.in.ogr.  I plot the values with d.vect.thematic.

    The resulting maps can be viewed at:
http://www.ars.usda.gov/npa/marc/heatstress

    That reminds me, I originally set up a location for each region with an
eye forward on multithreading the map generation phases.  I forgot the
reason in the middle of the project and created several regions in one
location.  I had to revert back to a location for each region when I
implemented multithreading but reduced the total map generation time from
several hours to 15 minutes.  :-)


Randy




More information about the grass-user mailing list