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.
>From: Owen Cooper <address@hidden> >Organization: Aeronomy Laboratory/NOAA >Keywords: 200306251740.h5PHeMLd017765 McIDAS-X GRDCOPY Hey Owen, >I've said this before, and I'll say it again >You da MAN!!! ;o) Why, thank you :-) >I really appreciate you taking the time to debug the code. No worries. >All the best, I tested out the creation of an ABV field from the 0 Z AVN run on adde.ucar.edu with success: DATALOC ADD RTGRIDS ADDE.UCAR.EDU LWU DEL GRID0001 GRDCOPY RTGRIDS/AVN MYDATA/GRIDS.1 DERIVE=ABV LEV=300 DAY=178 TIME=0 FHOUR=6 GPRO=MERC SUBSECT=0 90 Total grids copied=1 GRDCOPY - done I then listed the results using GRDLIST, and see a ramification of the change I made: GRDLIST MYDATA/GRIDS.1 NUM=ALL FORM=ALL Dataset position 1 Directory Title= PAR LEVEL DAY TIME SRC FHOUR FDAY FTIME GRID PRO ---- --------- ------------ -------- ---- ----- ------------ -------- ----- ---- ABV 300 MB 27 JUN 03178 00:00:00 AVN 6 27 JUN 03178 06:00:00 1 MERC Total pts= 21097 Num rows= 73 Num columns= 289 received: 2003178 040911Z GRIB ID numbers: Geographic =***; PAR = 33; Model ID = 96; Level type =100 Units of gridded variable are 1/S Scale of variable is: 9 Mercator Projection Min Lat= 0.00 Max Lat= 90.00 Min Lon=-180.00 Max Lon= 180.00 Latitude Increment= 1.2500 Longitude Increment= 1.2500 Number of grids listed = 1 GRDLIST - done Notice that the value for the 'Geographic =' is '***'. This is a result of the geo ID now being 3744 and the format width specifier for the GRDLIST output being an I3. From my point of view, this is an annoyance only, and it is one that will go away as soon as you upgrade to Unidata McIDAS v2003 (as soon as I can make it available, like mid July). One last thought: the problem you originally wrote in about appears to have been fixed by the same mod I made on adde.ucar.edu: GRDCOPY RTGRIDS/AVN MYDATA/GRIDS.1 G1='PARAM T;LEV 400;DAY 178;TIME 0;FHOUR 6;GPRO MERC' G2='PARAM T; LEV 300' MATH='G1+G2' NEWPAR=SUMT K 300 mb Total grids copied=1 GRDCOPY - done Hey, killing two birds with one stone aint half bad ;-) Tom