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.
Steve, Your gdinfo output shows that there is a problem with creating your grid file as the times are not defined. That is your problem. Output shoud look like: NUM TIME1 TIME2 LEVL1 LEVL2 VCORD PARM 1 060516/1200F000 0 CLDT PRES 2 060516/1200F000 0 CLDT HGHT 3 060516/1200F000 0 CLDT TMPK 4 060516/1200F000 0 CLDT BRTMP 5 060516/1200F000 0 CLDL PRES etc.... Steve Chiswell Unidata User Support > > Thanks Steve for the information -- so far with GDCNTR, I am getting a > > blank terminal coming up, no contours. gdinfo is showing: > > > > [skirby@mn1 wrf2gem_src]$ gdinfo > > GDFILE Grid file /home/skirby/wrf2gem_src/wrf.gem > > LSTALL Full list flag yes > > OUTPUT Output device/filename t > > GDATTIM Grid date/time all > > GLEVEL Grid level all > > GVCORD Grid vertical coordinate all > > GFUNC Scalar grid all > > Parameters requested: GDFILE,LSTALL,OUTPUT,GDATTIM,GLEVEL,GVCORD,GFUNC. > > GEMPAK-GDINFO>gdfile=/home/skirby/wrf2gem_src/wrf.gem > > GEMPAK-GDINFO>restore defaults/gdinfo > > GEMPAK-GDINFO>r > > > > GRID FILE: /home/skirby/wrf2gem_src/wrf.gem > > > > > > GRID NAVIGATION: > > PROJECTION: LCC > > ANGLES: 32.3 -106.9 32.3 > > GRID SIZE: 143 143 > > LL CORNER: 28.38 -111.27 > > UR CORNER: 36.03 -102.19 > > > > GRID ANALYSIS BLOCK: > > UNKNOWN ANALYSIS TYPE > > > > Number of grids in file: 3381 > > > > Maximum number of grids in file: 4000 > > > > NUM TIME1 TIME2 LEVL1 LEVL2 VCORD PARM > > 1 2 HAGL TMPK > > 2 2 HAGL MIXR > > 3 9965 SGMA PBAR > > 4 9965 SGMA PP > > 5 9865 SGMA PBAR > > 6 9865 SGMA PP > > > > ... > > 333 1000 PRES UREL > > 334 1000 PRES VREL > > 335 1000 PRES W > > 336 1000 PRES HGHT > > 337 1000 PRES SPFH > > 338 950 PRES TMPK > > 339 950 PRES UREL > > 340 950 PRES VREL > > 341 950 PRES W > > 342 950 PRES HGHT > > 343 950 PRES SPFH > > > > so there are height above ground level params, sigma level params, and > > pressure level params. I don't see anything about time information. Is > > there none or do I need a different program to get it? When I use > > gdattim=fall it says that time is invalid. My script is: > > =========================================================== > > gdcntr << eof > > > > gdattim=fall > > glevel=500 > > gvcord=pres > > gfunc=tmpc > > gdfile=/home/skirby/wrf2gem_src/wrf.gem > > cint=1 > > line= > > map= > > title= > > device=xw > > satfil= > > radfil= > > proj=lcc > > garea=28.4;-111.2;36.0;-102.7 > > clear= > > panel=0 > > text= > > scale= > > latlon=0 > > clrbar= > > contur=3/0 > > skip=0 > > fint=0 > > fline= > > ctype=c > > > > run > > > > > > eof > > ============================================================= > > > > Let me know if you spot anything wrong. I've tried defaulting gdattim, by > > leaving it equal to blank, but no success there either. > > > > Best regards, > > Steve > > > > > > > > Unidata GEMPAK Support <address@hidden> wrote: > > > Steve, > > > > > > Thanks that fixed that problem. > > > > > > If I may ask one more simple one: I am trying gdcntr on some wrf data > > > converted to gempak format. I have tried gdattime=all, gdattime=f00, > > > gdattime=f24 and it doesn't like any of them, always saying TIME is > > > invalid. I don't get it, since the gempak file is derived from a WRF 24h > > > forecast. What is the best way, in gempak, to look at my gempak file to > > > see what times are actually in it? I tried gdinfo but it only gave grid > > > dimensions? TIA. > > > > > > Regards, > > > Steve > > > > > > > Steve, > > > > The parameter for GDCNTR is GDATTIM (no "E" at the end). If you are typing > > gdattime, then the program > > won't recognize that parameter. Generally, gdattim=fall would be a loop of > > available times. if > > you are unsure about what your data file contains, run GDINFO then > > at the prompt, type "restore defaults/gdinfo" and then "run" to see a > > listing of all grids in your file. > > > > Steve Chiswell > > Unidata User Support > > > > Ticket Details > > =================== > > Ticket ID: WPX-538404 > > Department: Support GEMPAK > > Priority: Normal > > Status: Closed > > > > > > > > > > --------------------------------- > > How low will we go? Check out Yahoo! Messenger�s low PC-to-Phone > > call rates. > > > Ticket Details =================== Ticket ID: WPX-538404 Department: Support GEMPAK Priority: Normal Status: Closed