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.
---------- Forwarded message ---------- Date: Thu, 15 Mar 2001 09:56:21 -0700 From: Steve Chiswell <address@hidden> To: Greg Stossmeister <address@hidden> Subject: Re: Problem with dcgrib2 Greg, dcgrib (and dcgrib) need the location of $GEMTBL, which you can either set as an environmental variable in the script (this is what sourcing Gemenviron does in an interactive csh session), or add a command line option to the incovation of the decoder: -e GEMTBL=path Steve CHiswell Unidata User Support On Thu, 15 Mar 2001, Greg Stossmeister wrote: > Steve, > I know this is probably a stupid question - I have a script that runs > dcgrib2 and it works fine when I run the job from a window, when cron > runs this same script it produces the following problem. What am I > missing so dcgrib2 will know wher to find everything?? > > Thanks, > Greg > > -------- Original Message -------- > Subject: Output from "cron" command > Date: Thu, 15 Mar 2001 01:10:06 -0700 (MST) > From: Greg Stossmeister <address@hidden> > To: address@hidden > > Your "cron" job on storm > (cd /home/stoss/perl; ./nogaps2gem.pl ) > > produced the following output: > > Trun is: 2001031500 , Tdate is: 20010315 > /raid1/stoss/nogaps/nogaps_current.gem: No such file or directory > cat US058*.2001031500 | /usr/local/gempak5.6/bin/sol/dcgrib2 -v 1 > /raid1/stoss/nogaps/YYYYMMDDHH_nogaps.gem > [24884] 010315/0110 [DC 3] > [24884] 010315/0110 [NA -1] cntrgrib1.tbl > [24884] 010315/0110 [DCGRIB -51] can't open grib tables [NA -51], set > GEMTBL > [24884] 010315/0110 [DC 5] > [24884] 010315/0110 [DC 2] Number of bulletins read and processed: 0 > [24884] 010315/0110 [DC 6] > Changing center table to cntrgrib1.tbl >