Re: 40 KM RUC data

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu, 29 Jan 2009 12:23:47 -0700

Hi Jeff

This file can be read with NCL both version 5.0.0 and 5.1.0
However, note the *warning* message.

Also, FYI ...

NCL allows users to input GRIB code tables.

%> ncl_filedump fh.0003_tl.press_gr.us40km.grb

Copyright (C) 1995-2009 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 5.1.0 [same for
5.0.0]
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.

warning: NclGRIB2: codetable file
"/contrib/ncl-5.0.1-beta/lib/ncarg/grib2_codetables/ncep/4/4.2.255.255.ta
ble" not a valid GRIB2 code table.

Variable: f (file variable)
filename: fh.0003_tl.press_gr.us40km
path: fh.0003_tl.press_gr.us40km
   file global attributes:
   dimensions:
      ygrid_0 = 113
      xgrid_0 = 151
      lv_ISBL0 = 37
      lv_SPDL1 = 6
      lv_HTGL2 = 2
   variables:
      float TMP_P0_L1_GLC0 ( ygrid_0, xgrid_0 )
         center : US National Weather Service - NCEP (WMC)
         production_status : Operational products
         long_name : Temperature
         units : K
         _FillValue : -999
         coordinates : gridlat_0 gridlon_0
         grid_type : Lambert Conformal can be secant or tangent,
conical or bipolar
         parameter_discipline_and_category : Meteorological products,
Temperature
         parameter_template_discipline_category_number : ( 0, 0,
0, 0 )
         level_type : Ground or water surface
         level : 0
         forecast_time : 3
         forecast_time_units : hours
         initial_time : 01/29/2009 (13:00)

[SNIP]
     float gridrot_0 ( ygrid_0, xgrid_0 )
         long_name : vector rotation angle
         GridType : Lambert Conformal (secant, tangent, conical or
bipolar)
         units : radians
         formula_u : Uearth = sin(rot)*Vgrid + cos(rot)*Ugrid
         formula_v : Vearth = cos(rot)*Vgrid - sin(rot)*Ugrid
         note1 : u and v components of vector quantities are
resolved relative to grid
         note2 : apply formulas to derive u and v components
relative to earth

      float gridlat_0 ( ygrid_0, xgrid_0 )
         corners : ( 16.281, 17.34025, 55.48128, 54.17237 )
         long_name : latitude
         grid_type : Lambert Conformal (secant, tangent, conical or
bipolar)
         units : degrees_north
         Latin2 : 25
         Latin1 : 25
         Dy : 40.635
         Dx : 40.635
         Lov : 265
         Lo1 : 233.862
         La1 : 16.281

      float gridlon_0 ( ygrid_0, xgrid_0 )
         corners : ( -126.138, -69.03806, -57.38121, -139.8561 )
         long_name : longitude
         grid_type : Lambert Conformal (secant, tangent, conical or
bipolar)
         units : degrees_east
         Latin2 : 25
         Latin1 : 25
         Dy : 40.635
         Dx : 40.635
         Lov : 265
         Lo1 : 233.862
         La1 : 16.281

Copes, Jeff wrote:
>
> All,
>
> I am not able to decode a 40 KM RUC data GRIB2 file with NCL. The
> NetCDF Java decoder is able to handle the file, as well as wgrib2, but
> not the NCL. The GRIB2 code table mentioned below, 4.2.255.255.table,
> does not exist in any directory. I am not sure why the path to the
> file is incorrect, but, as a temporary debug workaround, created a
> link in the code table directory to "/programs" to allow for the path
> to be valid.
>
> jcopes(193):/programs/ssa/jcopes/ncarg/bin/ncl_convert2nc
> /programs/public/yogin/fh.0003_tl.press_gr.us40km.grb
> Processing file: fh.0003_tl.press_gr.us40km.grb...
> Copyright (C) 1995-2007 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 5.0.0
> The use of this software is governed by a License Agreement.
> See _http://www.ncl.ucar.edu/_ for more details.
> warning: NclGRIB2: codetable file
> "/programs/ssa/jcopes/ncarg/lib/ncarg/grib2_codetables//programs/ssa/jcopes/ncarg/lib/ncarg/grib2_codetables/ncep/4/4.2.255.255.table"
> not a valid GRIB2 code table.
>
>
> jcopes(195):ls -l /programs/public/yogin/fh.0003_tl.press_gr.us40km.nc
> -rwxrwxrwx 1 jcopes users 0 Jan 29 17:25
> /programs/public/yogin/fh.0003_tl.press_gr.us40km.nc*
>
> If possible, I would like to resolve the incorrect path issue also.
>
> Thanks,
>
> Jeff Copes
> Weather Research and Development
> Harris Corporation
> Melbourne, Florida
> 321.309.7856
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

-- 
======================================================
Dennis J. Shea                  tel: 303-497-1361    |
P.O. Box 3000                   fax: 303-497-1333    |
Climate Analysis Section                             |
Climate & Global Dynamics Div.                       |
National Center for Atmospheric Research             |
Boulder, CO  80307                                   |
USA                        email: shea 'at' ucar.edu |
======================================================
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jan 29 2009 - 12:23:47 MST

This archive was generated by hypermail 2.2.0 : Mon Feb 02 2009 - 07:53:06 MST