Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Hi Nick:gribtonc is indeed very much out of date and is deprecated, although if youve been maintaining the templates you need, then it may be fine.
Have you tried using the netcdf-java library? man page is here: http://www.unidata.ucar.edu/software/netcdf-java/reference/manPages.html#nccopy "fileIn" is the grib file and "fileOut" is the netcdf file.GRIB is a difficult format to get 100% right, you may need to be familiar with the edges, especially with tables:
http://www.unidata.ucar.edu/software/netcdf-java/formats/GribFiles.html http://www.unidata.ucar.edu/software/netcdf-java/formats/GribTables.htmlIm not sure about the equivalent -q functionality, quasi-regular grids are simply expanded to be regular grids, using cubic splines i think.
Try it and let me know how it goes. John On 8/17/2013 7:37 AM, nick robinson wrote:
Hi I have a client who has a number of legacy systems that process grib1 files using gribtonc. Unfortunately they are being forced to move to grib2 and the developer is no longer available. I have been attempting the change using wgrib2, however there is so much code written around the specific format of the netcdf file produced from gribtonc its quite daunting. Is there an equivalent gribtonc which will read grib2 files compressed with jpeg200 or is it possible for me to run a function within netcdfAll-4.3.jar which can use a CDL file as a template in the same way gribtonc did? basically I need a replacement for gribtonc -v -l- -q "lin,dlat=1.25,dlon=1.25" xxx.cdl xxx.nc <http://xxx.nc> < xxx.grib1 which will work on grib2 files. any help is much appreciated kind regards _______________________________________________ netcdf-java mailing list netcdf-java@xxxxxxxxxxxxxxxx For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/
netcdf-java
archives: