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.
Wanhong, I see that you are not sourcing the Gemenviron file that came with GEMPAK 5.6. The message you show below is from the Gemenviron from GEMPAK 5.4: [gempak@weather3]# source .cshrc [gempak@weather3]# source GEMsetup Setting to decmaps You must source the Gemenviron file in the GEMPAK5.6 distribution to use the GEMPAK 5.6 programs. Once you source the Gemenviron file for your GEMPAK 5.6 distribution, the environmental variable $GEMMAPS will be set to $NAWIPS/gempak/maps. In your programs such as gdcntr, you should only need to set $MAPFIL to the name of the file. No path is needed, eg: $MAPFIL = hipowo.cia The mapfile format changed between 5.4 and 5.6. Since you are sourcing the 5.4 Gemenviron script, that is likely confusing the programs. Steve Chiswell Unidata User Support >From: Wanhong Wang <address@hidden> >Organization: University of Kentucky, USA >Keywords: 200011282107.eASL7Co19091 >HI Steve, > >Thanks for your gempak workshop. I learned so much in the workshop, now >I am working >on the gempak 5.6. I have problem with new gempak, any map files can't >be readed, >following is simple example. It can run on gempak 5.4, but not on gempak >5.6. By the way, >Gempak 5.4 is running on Redhat Linux 6.2 and Gempak 5.6 on Redhat Linux >7. I checked, >the mape files are ok, no permission problem, system over 256M ram... >I will appreciate your help. > >Dr. Wanhong Wang > >System programmer and analyst >AG Weather >Center >address@hidden >243 Ag. Engineering >Bldg ( >859)257-7381ext243 >Dept. of Biosystems and Ag. Engr. >University of Kentucky >Lexington, KY 40546-0276 >HOMEPAGE http://wwwagwx.ca.uky.edu > >****************************************** >[gempak@weather3]# source .cshrc >[gempak@weather3]# source GEMsetup >Setting to decmaps >[gempak@weather3]# gdcntr >... > >GEMPAK-GDCNTR>dis > GDATTIM Grid date/time LAST > GLEVEL Grid level 500 > GVCORD Grid vertical coordinate PRES > GFUNC Scalar grid TMPC > GDFILE Grid file >/ldmdata/gempak/hds/00112812_ngm.gem > CINT Contour interval/min/max 0 > LINE Color/type/width/label/smth/fltr 3 > MAP Map color/dash/width/filter flag 1 > TITLE Title color/line/title 1 > DEVICE Device|name|x size;y size|color XW > SATFIL Satellite image filename(s) > RADFIL Radar image filename(s) > PROJ Map projection/angles/margins|dr MER > GAREA Graphics area WV > CLEAR Clear screen flag YES > PANEL Panel loc/color/dash/width/regn 0 > TEXT Size/fnt/wdth/brdr/N-rot/just/hw 1 > SCALE Scalar scale / vector scale 999 > LATLON Line color/dash/width/label/inc 0 > HILO Color/symbol/rng/rad/cnt/intp > HLSYM HILO txt size/posn/font/wdth/hw > CLRBAR Color/ornt/anch/x;y/ln;wd/freq > CONTUR Subbox/smooth 0 > SKIP Skip_cntr/skip_plt_x;skip_plt_y 0 > FINT Fill interval/min/max 0 > FLINE Fill colors 10-20 > CTYPE Contour type: C/F C > LUTFIL Enhancement lookup table filenam > STNPLT Txtc/txt attr|marker attr|stnfil > GEMPAK-GDCNTR>$MAPFIL = >/export/home/gempak/NAWIPS-5.6/gempak/maps/hipowo.cia > GEMPAK-GDCNTR>r > Grid file: /ldmdata/gempak/hds/00112812_ngm.gem > GRID IDENTIFIER: > TIME1 TIME2 LEVL1 LEVL2 VCORD PARM >001128/1200F048 500 PRES TMPC > > GAREA: >WV >SCALE: 0 > > MINIMUM AND MAXIMUM VALUES -32.52 -13.40 > > LINE CONTOURS: > > LEVELS: -32.00 -30.00 -28.00 -26.00 -24.00 -22.00 >-20.00 > > LEVELS: -18.00 -16.00 -14.00 >Enter <cr> to accept parameters or type EXIT: > [GEMPLT -35] NMAPFR - Map file read error. > [GG -7] No map drawn. > Parameters requested: GDATTIM,GLEVEL,GVCORD,GFUNC,GDFILE,CINT,LINE,MAP, > > TITLE,DEVICE,SATFIL,RADFIL,PROJ,GAREA,CLEAR,PANEL,TEXT,SCALE,LATLON,HILO, > > HLSYM,CLRBAR,CONTUR,SKIP,FINT,FLINE,CTYPE,LUTFIL,STNPLT. > GEMPAK-GDCNTR> >************************************************* > > > >