Re: Problems reading GRIB2 files

From: Leung Samuel <shwl0608_at_nyahnyahspammersnyahnyah>
Date: Wed, 2 Sep 2009 22:43:20 +0800

Gerry,

Thanks for your quick reply.

Sorry that I cannot access that computer until I am back to office tomorrow
(I am from Hong Kong).

As I remember, the path /data2/share/ncarg/lib/ncarg/ does exist but there
is no "grib2_codetables" folder inside. What does that codetable folder
essentially do?

Samuel

On Wed, Sep 2, 2009 at 10:20 PM, Gerry Creager <gerry.creager_at_tamu.edu>wrote:

> Samuel,
>
> Sorry for the obvious questions, but, have you made sure
> /data2/share/ncarg/lib really IS $NCARG_ROOT, or is it something more like,
> /data2/share/ncl/lib/ncarg
>
> Also, what are the permissions on reading $NCARG_ROOT ?
>
> gerry
>
>
> Leung Samuel wrote:
>
>> Hi NCL Team,
>>
>> This is the first time I use NCL to read GRIB2 files and I got problems
>> when doing that. It seems that ncl is looking for a "codetable directory"
>> and the following is the output of reading that GRIB2 file
>>
>> Copyright (C) 1995-2009 - All Rights Reserved
>> University Corporation for Atmospheric Research
>> NCAR Command Language Version 5.1.1-alpha
>> The use of this software is governed by a License Agreement.
>> See http://www.ncl.ucar.edu/ for more details.
>> fatal: NclGRIB2: codetable directory
>> "/data2/share/ncarg/lib/ncarg/grib2_codetables" invalid
>> fatal:Could not open (myfile.grb2)
>>
>> (/data2/share/ncarg/ is the $NCARG_ROOT in my computer)
>>
>> And this error makes the ncl cannot continue. Does it mean I have to
>> download a codetable from somewhere else before reading the GRIB2 file?
>>
>> Thanks and regards,
>> Samuel Leung
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
> --
> Gerry Creager -- gerry.creager_at_tamu.edu
> Texas Mesonet -- AATLT, Texas A&M University
> Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.862.3983
> Office: 1700 Research Parkway Ste 160, TAMU, College Station, TX 77843
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Sep 02 2009 - 08:43:20 MDT

This archive was generated by hypermail 2.2.0 : Thu Sep 03 2009 - 07:55:08 MDT