Re: using grib tables

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Fri, 7 Jul 2006 13:27:20 -0600 (MDT)

>I've been using NCL to look at this NWS MOS grib file,
>and I haven't been able to find the variables which
>should be in there. I emailed an NWS person,
>and he asked if I was using the correct grib table
>rather than the standard one.

>This is the link to the table he sent me:
>http://www.weather.gov/mdl/synop/docs/mdl_ncepgrib2.tbl

>And the grib files, I"m using can be found in this directory:
>ftp://tgftp.nws.noaa.gov/SL.us008001/DF.gr1/DC.mos/DS.metcns/

>I'm wondering if I have define a the grib table somewhere
>to make sure the variables are showing up correctly?

-----------------
NCL tells you what parameter table it is using
as part of each variable's attributes:

         parameter_table_version : 2
         parameter_number : 31

EG:

Variable: f (file variable)

filename: cy.00.bin
path: cy.00.bin
   file global attributes:
   dimensions:
      forecast_time0 = 27
      gridx_213 = 85
      gridy_213 = 129
      forecast_time3 = 3
      forecast_time4 = 3
      forecast_time5 = 13
      forecast_time6 = 12
      forecast_time7 = 6
   variables:
      float WDIR_213_HTGL ( forecast_time0, gridx_213, gridy_213 )
         sub_center : NWS Meteorological Development Laboratory
         center : US National Weather Service - NCEP (WMC)
         long_name : Wind direction
         units : deg
         _FillValue : -999
         coordinates : gridlat_213 gridlon_213
         level_indicator : 105
         grid_number : 213
         parameter_table_version : 2 <***************NOTE
         parameter_number : 31 <***************NOTE
         model : MESO ETA Model
         level : 10
         initial_time : 07/06/2006 (00:00)
[snip]

Looks to me like NCL is handling the file correctly.

D

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Jul 07 2006 - 13:27:20 MDT

This archive was generated by hypermail 2.2.0 : Mon Jul 10 2006 - 09:18:20 MDT