[ncl-talk] Grib file warning
Dennis Shea
shea at ucar.edu
Fri Apr 17 15:43:43 MDT 2015
Dave Brown is the person. He is off today.
See the '*File I/O improvements'* of the most recent version (6.3.0)
http://www.ncl.ucar.edu/current_release.shtml
The GRIB stuff is a moving target. No surprise that no commercial tools
would support it.
===
What machine are upu working on?
D
On Fri, Apr 17, 2015 at 3:27 PM, Jason English <jayenglish at gmail.com> wrote:
> Hi Dennis,
>
> Thanks for the tips. Who updates the GRIB look-up tables? I'm analyzing
> output from the NCEP GFS weather prediction runs which is pretty standard
> output, so I'm surprised I'm getting warnings.
>
> I'm using NCL 6.2.1.
>
> ~Jason
>
> On Fri, Apr 17, 2015 at 3:23 PM, Dennis Shea <shea at ucar.edu> wrote:
>
>> Hi Jason,
>>
>> [1] These are 'warnings'. The unpacked values are correct but there are
>> no entries in the GRIB look-up tables used by NCL to create a valid netCDF
>> variable name; also, long_name, units
>>
>> [2] http://www.ncl.ucar.edu/FAQ/
>>
>> Error messages:
>>
>> *How can I turn off NCL warning messages?*
>>
>> You can add the following code near the top of your NCL script:
>>
>> err = NhlGetErrorObjectId()
>> setvalues err
>> "errLevel" : "Fatal" ; only report Fatal errors
>> end setvalues
>>
>> This will turn off *all* "warning" type messages, so only do this if you
>> are feeling pretty confident about your code.
>>
>> For more information about error reporting, see the documentation for
>> *NhlGetErrorObjectId*
>> <http://www.ncl.ucar.edu/Document/Functions/Built-in/NhlGetErrorObjectId.shtml>.
>>
>>
>>
>> [3] What version of NCL are you using? There are numerous additions to
>> the 6.3.0 version of NCL.
>>
>> %> ncl -V
>>
>>
>> D
>>
>>
>>
>>
>>
>> On Fri, Apr 17, 2015 at 2:37 PM, Jason English <jayenglish at gmail.com>
>> wrote:
>>
>>> I am opening GFS output Grib files using NCL and I constantly get
>>> warnings such as these:
>>>
>>> warning:NclGRIB: Unknown grib parameter number detected (241, center 7,
>>> table version 129 grib record 5), using default variable name (VAR_241)
>>> warning:NclGRIB: Unknown grib parameter number detected (250, center 7,
>>> table version 129 grib record 280), using default variable name (VAR_250)
>>> warning:NclGRIB: Unknown grib parameter number detected (191, center 7,
>>> table version 133 grib record 349), using default variable name (VAR_191)
>>>
>>> It doesn't cause any problems other than it makes my scripts difficult
>>> to read the print statements that are more useful. How do we add grib
>>> parameters to the master table? If that's not an option, how do we suppress
>>> these warnings? Thanks.
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150417/8016ef4c/attachment.html
More information about the ncl-talk
mailing list