[ncl-talk] downloaded grib 2 files
Walter Kolczynski
walter.kolczynski at noaa.gov
Fri Apr 8 13:05:50 MDT 2016
Jerry,
In order for NCL to recognize the file type, you need to use one of the
approved file extensions for that type when you open it (you don't
actually have to change the system filename). So if you want to open a
grib2 file that does not already end in grb2 or grib2, do the following:
filename = "foo"
file = addfile( filename + ".grb2", "r" )
The same is true if you are using ncl_filedump: add the appropriate
extension to the filename. In both cases, NCL will look for the file
sans extension as well but will use the extension to determine the file
type.
- Walter
On 2016-04-08 14:40, Thomas Cram wrote:
> Jerry,
>
> I'm re-sending this, because my previous e-mail was rejected by the
> ncl-talk mailing list. I'm now subscribed to the list, and this now
> should go through.
>
> - Tom
>
> On Friday, April 8, 2016 at 12:35:04 PM UTC-6, Thomas Cram wrote:
>
> Hi Jerry,
>
> I'm bringing NCL support into this thread, as they should be able
> to help you out on this issue. Could you please follow up this
> e-mail and provide a more detailed error message that is being
> returned by NCL? See the section 'Submitting a bug report' at
> https://www.ncl.ucar.edu/Support/email_lists.shtml
> <https://www.ncl.ucar.edu/Support/email_lists.shtml>, which
> instructs what information NCL support asks for.
>
> - Tom
>
> On Friday, April 8, 2016 at 10:05:07 AM UTC-6, jerry wrote:
>
> Hi,
>
> I have downloaded some NCEP files that appear to be in grib2
> binary:
>
> gfs.0p25b.2016033012.f036.grib2.spasub.browning156421
>
> on my UBUNTU 64 bit Debian linux OS. It seems that NCL is not
> recognizing that it is a grib2 file.
> Is there something I must do to have NCL recognize it? Thank
> you for
> your help.
>
> Jerry
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160408/8aaf7846/attachment.html
More information about the ncl-talk
mailing list