Re: Fwd: Fwd: Fwd: grib2 to nc conversion problem- cfsr data

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Tue Feb 21 2012 - 17:54:27 MST

Hi Naoki,

This is a problem in the 6.0.0 version of NCL. It does not handle reading single GRIB variables that exceed 2GB (when expanded into standard arrays) within NCL. This has been fixed earlier for GRIB1 data and just now for GRIB2 data. The next version of NCL (V6.1.0-beta -- due early in March) will have the fix.

As an aside, I'm curious why you are pointing to the previous version of the GRIB2 code tables. The warning you get at the beginning would not appear if you switched to the current code tables.
 -dave

On Feb 21, 2012, at 4:03 PM, Naoki Mizukami wrote:

> Hi,
>
> I have some problems/question with conversion from grib2 data to netcdf
> file.
>
> I am trying to convert grib2 data from NCDC
> (http://nomads.ncdc.noaa.gov/data/cfsr/200809/prate.gdas.200809.grb2)
> with following ncl command and get error (segmentation fault). I am using ncl-6.0.0.
>
> >> ncl_convert2nc prate.gdas.200709.grb2
> Processing file: prate.gdas.200709.grb2...
> Copyright (C) 1995-2011 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 6.0.0
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> warning: Entry (0) not found in code table file
> /fs/local/lib/ncarg/grib2_codetables.previous/ncep/4/4.2.table
> Classic model NetCDF does not support string types, converting
> initial_time0 to a character array
> Dimension 'ncl_strlen_0' will be added
> Segmentation fault
>
>
> It is strange that I got almost identical data from NCAR HPSS and I
> was able to convert. Only difference is NCDC data has one additional
> dimension (it is 4D data- x, y, time, and forecast time, and NCDC has
> one additional forecast time).
>
> I checked both grib2 data content with ncl_filedump (I attached the outputs)
>
> I wonder if you could give me any idea what is causing the error in converting NCDC grib2
> data. I will need to use NCDC data.
>
> thanks,
> Naoki
> <grib_hpss.txt><grib_ncdc.txt>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Feb 21 17:54:40 2012

This archive was generated by hypermail 2.1.8 : Thu Feb 23 2012 - 10:01:53 MST