This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
On Mon, 29 Dec 2003, Teresa Van Hove wrote: > Robb, > > Thanks so much for the help. However the /pub directory I'm trying > to write to has 970 Gbytes free and the netcdf files I'm trying to > duplicate or possibly replace with 1x1 deg for 1.25x1.25 deg are 5 > Mbytes each so there should be plenty of room. > > How does one run gribtonc on command line? I'm being dense here, > but trying to cat individual HHxxxx files into gribtonc gives a > segmentation fault and I cant think how else the PIPE would work on > command line. > > ie I'm trying to go > cat HHMA40 | /usr/local/ldm/decoders/gribtonc -v HHMA40 -q > "lin,dlat=1.25,dlon=1.25" > /usr/local/ldm/decoders/cdls/avn-1.25x1.25.cdl test_nc Teresa, Maybe something else is going wrong. Here's the command line I use that sends the errors to the screen, then we can see what's wrong. % /usr/local/ldm/decoders/gribtonc -v -l - -q "lin,dlat=1.25,dlon=1.25" \ /usr/local/ldm/decoders/cdls/avn-1.25x1.25.cdl test.nc < HHMA40 Robb... > > trying to use <HHMA40 on the end of the gribtonc doesn't work either > > > Robb Kambic wrote: > > On Mon, 29 Dec 2003, Unidata Support wrote: > > > > > > > Teresa, > > > > The write error is usually the result of not enough disk space to write > > the data to the netcdf file. Since the gribtonc allocates all the space > > for the next record at one time, the original netcdf file will be created > > but the data cannot be entered because of space limitations. I would run > > gribtonc from the command line from the ldm home dir as user ldm. A good > > rule of thumb is that the netcdf file is 8-10 larger then the original > > grib files. So a 8meg file ends up to be 80 mgs netcdf, this is the > > biggest drawback of netcdf. > > > > Robb... > > > > > > > > > > > >> > >> > >>------- End of Forwarded Message > >> > >> > > > > > > =============================================================================== > > Robb Kambic Unidata Program Center > > Software Engineer III Univ. Corp for Atmospheric > > Research > > address@hidden WWW: http://www.unidata.ucar.edu/ > > =============================================================================== > > > > -- > Teresa Van Hove > Associate Scientist GST/UCAR > address@hidden > --------------------------------- > > =============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research address@hidden WWW: http://www.unidata.ucar.edu/ ===============================================================================