Patrick, I've attached my lyr_mxmn.nts file - just modify GDFILE to suit your needs. Let me know if it doesn't work for you. Also be sure to check that the hght@0%none exists specifically for the time being defined by GDATTIM - use GDINFO with GDATTIM = all to see what's available in the grid file you're using: GDFILE = /data/ldm/gempak/model/gfs/2010110812_gfs211.gem LSTALL = YES OUTPUT = T GDATTIM = all GLEVEL = 0 GVCORD = none GFUNC = hght > Michael, > > It still seems to be returning the same error. Do you have any other > suggestions? Could there be something wrong with how GDPLOT2 is set up? > > -- > > GDFILE = /ldm/data/gempak/model/gfs/2010110818_gfs211.gem > GDATTIM = 101108/1800F24 > GLEVEL = sfc > GVCORD = PRES > PANEL = 0 > SKIP = 0 > SCALE = 999 > GDPFUN = SUB(LYR_MXMN(TMPC & MXOUT & HGHT|1000-100),HGHT@0%NONE) > TYPE = C > CONTUR = 0 > CINT = 0 > LINE = 1 > FINT = 0 > FLINE = 10-20 > HILO = > HLSYM = > CLRBAR = > WIND = BM1 > REFVEC = > TITLE = 1 > TEXT = .9 > CLEAR = YES > GAREA = 24;-128;50;-65 > IJSKIP = > PROJ = MER > MAP = 1 > MSCALE = 0 > LATLON = > DEVICE = xw > STNPLT = > SATFIL = > RADFIL = > IMCBAR = > LUTFIL = > STREAM = > POSN = 0 > COLORS = 31 > MARKER = 0 > GRDLBL = 0 > FILTER = no > GEMPAK-GDPLOT2>r > Number of times = 1 > 1 101108/1800F024 > > PARAMETERS FOR GDPLOT : FRAME NUMBER 1 INITIAL PLOT SETTINGS - > GDFILE=/ldm/data/gempak/model/gfs/2010110818_gfs211.gem, > GDATTIM=101108/1800F024 > GAREA=24;-128;50;-65, PROJ=MER, MAP=1, LATLON= > PANEL=0, TITLE=1 > OVERLAY TYPE LEVEL VCORD GRID FUNCTION > 1 C sfc PRES > SUB(LYR_MXMN(TMPC&MXOUT&HGHT|1000-100),HGHT@0%NONE) > [DG -7] Input grid HGHT ^101108/1800F024 @0 %NONE in SUB cannot be found. > [GDPLOT 2] The requested scalar/vector cannot be computed. > Parameters requested: GDFILE,GDATTIM,GLEVEL,GVCORD,PANEL,SKIP,SCALE,GDPFUN, > TYPE,CONTUR,CINT,LINE,FINT,FLINE,HILO,HLSYM,CLRBAR,WIND,REFVEC,TITLE,TEXT, > CLEAR,GAREA,IJSKIP,PROJ,MAP,MSCALE,LATLON,DEVICE,STNPLT,SATFIL,RADFIL, > IMCBAR,LUTFIL,STREAM,POSN,COLORS,MARKER,GRDLBL,FILTER. > GEMPAK-GDPLOT2> > > -- > > Thanks, > Patrick > > > > address@hidden> wrote: > > > Patrick, > > > > There are a couple of things to check with your variable definitions: > > > > GDATTIM for model forecasts should be formatted as 1200F000 (for example) > > > > GDPFUN contains an extra left parentheses, and should be > > > > GDPFUN = SUB(LYR_MXMN(TMPC & MXOUT & HGHT|1000-100),HGHT@0%NONE) > > > > These two edits work on my end. > > > > -Michael > > > > > > > > > I'm attempting to use a SUB(LYR_MXMN()) function to compute the height of > > > the maximum temperature. It's returning the following error: > > > > > > GDFILE = /ldm/data/gempak/model/gfs/2010110818_gfs211.gem > > > GDATTIM = 1200 > > > GLEVEL = sfc > > > GVCORD = PRES > > > PANEL = 0 > > > SKIP = 0 > > > SCALE = 999 > > > GDPFUN = SUB((LYR_MXMN(TMPC & MXOUT & HGHT|1000-100),HGHT@0%NONE) > > > TYPE = C > > > CONTUR = 0 > > > CINT = 0 > > > LINE = 1 > > > FINT = 0 > > > FLINE = 10-20 > > > HILO = > > > HLSYM = > > > CLRBAR = > > > WIND = BM1 > > > REFVEC = > > > TITLE = 1 > > > TEXT = .9 > > > CLEAR = YES > > > GAREA = 24;-128;50;-65 > > > IJSKIP = > > > PROJ = MER > > > MAP = 1 > > > MSCALE = 0 > > > LATLON = > > > DEVICE = xw > > > STNPLT = > > > SATFIL = > > > RADFIL = > > > IMCBAR = > > > LUTFIL = > > > STREAM = > > > POSN = 0 > > > COLORS = 31 > > > MARKER = 0 > > > GRDLBL = 0 > > > FILTER = no > > > GEMPAK-GDPLOT2>gdpfun = SUB(LYR_MXMN(TMPC & MXOUT & HGHT|1000-100),HGHT@0 > > > %NONE) > > > GEMPAK-GDPLOT2>r > > > Number of times = 1 > > > 1 101108/1200 > > > > > > PARAMETERS FOR GDPLOT : FRAME NUMBER 1 INITIAL PLOT SETTINGS - > > > GDFILE=/ldm/data/gempak/model/gfs/2010110818_gfs211.gem, > > > GDATTIM=101108/1200 > > > GAREA=24;-128;50;-65, PROJ=MER, MAP=1, LATLON= > > > PANEL=0, TITLE=1 > > > OVERLAY TYPE LEVEL VCORD GRID FUNCTION > > > 1 C sfc PRES > > > SUB(LYR_MXMN(TMPC&MXOUT&HGHT|1000-100),HGHT@0%NONE) > > > [DL -5] No level found. > > > [DG -71] Layer field cannot be computed. > > > [GDPLOT 2] The requested scalar/vector cannot be computed. > > > Parameters requested: > > GDFILE,GDATTIM,GLEVEL,GVCORD,PANEL,SKIP,SCALE,GDPFUN, > > > > > TYPE,CONTUR,CINT,LINE,FINT,FLINE,HILO,HLSYM,CLRBAR,WIND,REFVEC,TITLE,TEXT, > > > CLEAR,GAREA,IJSKIP,PROJ,MAP,MSCALE,LATLON,DEVICE,STNPLT,SATFIL,RADFIL, > > > IMCBAR,LUTFIL,STREAM,POSN,COLORS,MARKER,GRDLBL,FILTER. > > > GEMPAK-GDPLOT2> > > > > > > Do you have any suggestions? > > > > > > Thanks, > > > Patrick Ealy > > > > > > > > > > > > Ticket Details > > =================== > > Ticket ID: UAU-979112 > > Department: Support GEMPAK > > Priority: Normal > > Status: Open > > > > > > Ticket Details =================== Ticket ID: UAU-979112 Department: Support GEMPAK Priority: Normal Status: Open
Attachment:
lyr_mxmn.nts
Description: Binary data