Re: [gembud] decoding specific parameters from NARR reanalysis

  • To: Mike Voss <voss@xxxxxxxxxxxx>
  • Subject: Re: [gembud] decoding specific parameters from NARR reanalysis
  • From: daryl herzmann <akrherz@xxxxxxxxxxx>
  • Date: Tue, 1 Jun 2010 12:04:48 -0500 (CDT)
Hi Mike,

On Tue, 1 Jun 2010, Mike Voss wrote:

It seems there are three possible directions to head. 1) use dcgrib2 with command line options to only decode certain parameters, or 2) use dcgrib2 and custom grib tables to only decode certain parameters, or 3) use NAGRIB to create a new grid from the fully decoded grid, which would only contain the particular parameters I need.

I'd use wgrib[1] to split things up.  You can do something like so:

wgrib -s FILE | grep SOMETHING | wgrib -i FILE -grib -o SOMETHING.grib -append

Run wgrib -s FILE once to see what it prints out and then build your grep based on it.

[1] http://www.cpc.noaa.gov/products/wesley/wgrib.html

daryl



  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the gembud archives: