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.
> ############################################################## > #/bin/ksh > gdgrib2=/nwprod/gempak/nawips/os/linux2.6.32_x86_64/bin/gdgrib2 > $gdgrib2 << EOF > GDFILE = spcsref_2015082609f087 > GBFILE = output.grib2 > GFUNC = CALRDS > GDATTIM = ALL > GLEVEL = 0 > GVCORD = NONE > PROJ = lcc/25;-95;25 > GRDAREA = 12.190;-133.459;57.290;-49.385 > KXKY = 185; 129 > CPYFIL = > G2TBLS = > G2IS = > G2IDS = ;9 > G2PDT = 0|2;10;;;110;;;;;100;0;275000;255;0;0 > G2DRT = |4 > WMOHDR = > r > EOF > ############################################################### > > But running this script get error, the message says: > > Parameters requested:. > GEMPAK-GDGRIB2> GEMPAK-GDGRIB2> GEMPAK-GDGRIB2> GEMPAK-GDGRIB2> > GEMPAK-GDGRIB2> GEMPAK-GDGRIB2> GEMPAK-GDGRIB2> GEMPAK-GDGRIB2> > GEMPAK-GDGRIB2> GEMPAK-GDGRIB2> GEMPAK-GDGRIB2> GEMPAK-GDGRIB2> > GEMPAK-GDGRIB2> GEMPAK-GDGRIB2> GEMPAK-GDGRIB2> GEMPAK-GDGRIB2> > GEMPAK-GDGRIB2> GEMPAK-GDGRIB2> [DG -22] > [GDGRIB2 -20] > > I would like to know what does mean this message? Hello Binbin, Without a copy of the input file (spcsref_2015082609f087) I can not recreate this problem, only make a guess as to what is happening. Is it possible for you to upload this file to the GEMPAK support repository ( http://motherlode.ucar.edu/repository/alias/gempakuploads/ ) so I have a copy to work with? As for the problem, I can only speculate until I have the file. Is it possible that you have not sourced the GEMPAK envvars correctly? Has your shell sourced Gemenviron or Gemeenviron.profile? You can check this with the command "env|grep GEMPAK" - which will return a number of environmental variables if you have sourced the correct file. > I also tried to use > interactive way, just type gdgrib2, enter gdgrib2 > GEMPAK-GDGRIB2> > then type > GDFILE = spcsref_2015082609f087, > GDFILE = spcsref_2015082609f087.grib2 > GFUNC = CALRDS > Since I won't change anything (keep original grid, time, etc), so I just > type "r" to run > But get error message saying: > [DG -51] > [GDGRIB2 -4] > > Since I have very little knowledge about gdgrib2, could you please help me > out of this? > Thanks in advance! > > Binbin Zhou > EMC/NCEP > > Ticket Details =================== Ticket ID: HHT-608062 Department: Support GEMPAK Priority: Normal Status: Open