Re: grib2NetCdf problem

NOTE: The decoders mailing list is no longer active. The list archives are made available for historical reasons.

Julien,

could you make available vie the web or ftp your input grib file?  the library 
wasn't created to do complete file conversions because the size of the output 
file could be 10-25 times the size of the input file and some of the input 
files are large.  but, i have created output files as large as 2 gigabytes.

have you tried to create a index file for your input?

java -Xmx256m ucar/grib/grib1/Grib1Indexer input input.gbx
or
java -Xmx256m ucar/grib/grib2/Grib2Indexer input input.gbx

depending on if it's a grib1 or grib2 file. i would be interested in the 
results.

robb...


On Tue, 12 Sep 2006, Julien Mariel wrote:
I want to convert Grib file into NetCdf format with the 
ucar.nc2.iosp.grib.Grib2NetCdf.java class. But, when I run this class with my 
input Grib file (25ko), a netcdf file of more than 1Go is created, and 
obviously an OutOfMemoryError appears.

So, could you tell me what?s the problem with the code or with my grib file?

You could find my grid file in enclosure.

Regards,
Julien


  • 2006 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the decoders archives: