Re: Bad read of grib file

From: Ian Harris (i.harris AT XXXXXX)
Date: Thu Mar 25 2004 - 11:53:08 MST

  • Next message: Jing Yang: "i have some problem when use the specx_anal"

    Hi,

    Wahey! I'm always especially grateful when it's a know problem, despite
    the bleak prospects as a result ;-)

    Thanks for the info, Adam. I wonder if this also explains the ECHAM
    daily surface temperature data (coming from the CERA gateway) appearing
    as potential vorticity? Maybe I didn't waste a 2.5GB download after all!

    Who'd have expected standardisation to create more problems than it
    solved, eh?

    Cheers

    Harry
    (off to fiddle with wgrib again)

    On Thursday, March 25, 2004, at 06:26 PM, Adam Phillips wrote:

    > Ian,
    >
    > I too have downloaded the IPCC DDC Grib files off of the web site that
    > you cite,
    > and have had that same problems reading in the CCSR-NIES data. This
    > happened to
    > me a couple of months ago, and I showed Dennis Shea the problem, who
    > sent it
    > onto the NCL developers. Turns out that there is an error in the
    > CCSR-NIES .grb
    > files that is causing NCL to fail. I believe that the number of
    > latitudes north
    > of the equator is specified incorrectly in the files, and thus it is
    > not a NCL
    > issue.
    >
    > I contacted the DKRZ data support people telling them about the
    > problem, and
    > they responded by saying the CCSR-NIES files read in fine using their
    > software,
    > so they see no need to change them. (I'm paraphrasing here.)
    >
    > Since that time I have started to analyze other data, and due to the
    > same
    > problem specified above, the latitude coordinate variables are
    > deciphered wrong
    > in NCL for the following data: CCCma, CSIRO, GFDL, NCAR-CSM, NCAR-PCM.
    > (Although
    > NCL will not crash like it does for the CCSR-NIES data)
    >
    > So, I believe the NCL developers are working on the problem, even
    > though it is
    > not their fault these files were written incorrectly. In the meantime,
    > I would
    > suggest using wgrib to write out a binary file and then read the
    > binary file
    > into NCL.
    >
    > On a much more minor note, NCL does not have the parameter table that
    > the IPCC
    > DDC site used, so for instance TS (Sea surface temperature) is listed
    > as Dew
    > point depression as the long_name in NCL.
    >
    > (Did I leave anything out Dennis?)
    > Hope this helps.
    > Adam
    >
    >> Hi,
    >>
    >> I have a set of grib files to open. They're climate model data,
    >> downloaded from the IPCC DDC here:
    >>
    >> http://ipcc-ddc.cru.uea.ac.uk/dkrz/dkrz_index.html
    >>
    >> The files come in at between 1.5 and 6MB, so hardly huge.
    >>
    >> The problem is that one set of files - from the CCSR/NIES model (last
    >> one in the table), give an error when I try loading them:
    >>
    >> ncl 0> a = addfile("CCSRNIES_SRES_A2_PREC_1990-2019.grb", "r")
    >> fatal:NclMalloc Failed:[errno=12]:Not enough space
    >> Segmentation fault (core dumped)
    >>
    >> Is this a known/recognised sequence of events? Grib files from all
    >> other models load without problem. The problem is with four separate
    >> files so I don't think it's a download/corruption issue; wgrib also
    >> reads them without trouble.
    >>
    >> ncl version 4.2.0.a027, Tru64 Unix on an Alpha.
    >>
    >> (it also fails with 4.2.0.a028 on OS X, but no error message, just an
    >> infinite wait :-/ )
    >>
    >> Cheers for any thoughts,
    >>
    >> Harry
    >> Ian "Harry" Harris
    >> Climatic Research Unit
    >> University of East Anglia
    >> Norwich NR2 4HG
    >> United Kingdom
    >>
    >> _______________________________________________
    >> ncl-talk mailing list
    >> ncl-talk@ucar.edu
    >> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
    >
    > -------------------------------------------------------------
    > Adam Phillips email: asphilli@ucar.edu
    > Climate and Global Dynamics Division tel: (303) 497-1726
    > National Center for Atmospheric Research fax: (303) 497-1333
    > P.O. Box 3000
    > Boulder, CO 80307-3000 http://www.cgd.ucar.edu/~asphilli
    >
    >
    "That's the coolest thing I've ever seen a woman do!"

    _______________________________________________
    ncl-talk mailing list
    ncl-talk@ucar.edu
    http://mailman.ucar.edu/mailman/listinfo/ncl-talk



    This archive was generated by hypermail 2b29 : Thu Mar 25 2004 - 14:03:00 MST