[gradsusr] Do the GrADS Examples work?

Eric Altshuler ela at cola.iges.org
Mon Oct 7 19:25:41 EDT 2013


There is no variable 'z' in the ctl file, but there is 'zg'. 'd zg' should display geopotential height. 

----- Original Message -----
From: "brown wrap" <gramos at yahoo.com> 
To: "Muhammad Yunus Ahmad Mazuki" <ukm.yunus at gmail.com>, "GrADS Users Forum" <gradsusr at gradsusr.org> 
Sent: Monday, October 7, 2013 1:59:17 PM 
Subject: Re: [gradsusr] Do the GrADS Examples work? 



Here is the output of what I tried. Right off it seems to fail: 


Grid Analysis and Display System (GrADS) Version 2.0.a9 
Copyright (c) 1988-2010 by Brian Doty and the 
Institute for Global Environment and Society (IGES) 
GrADS comes with ABSOLUTELY NO WARRANTY 
See file COPYRIGHT for more information 

Config: v2.0.a9 little-endian readline printim grib2 netcdf hdf4-sds hdf5 opendap-grids geotiff shapefile 
Issue 'q config' command for more detailed configuration information 
Landscape mode? ('n' for portrait): n 
GX Package Initialization: Size = 8.5 11 
ga-> open model.ctl 
Scanning description file: model.ctl 
Data file model.grb is open as file 1 
LON set to 0 360 
LAT set to -90 90 
LEV set to 1000 1000 
Time values set: 1987:1:1:0 1987:1:1:0 
E set to 1 1 
ga-> query file 
File 1 : "Sample Model Data for lats4d Tutorial" 
Descriptor: model.ctl 
Binary: model.grb 
Type = Gridded 
Xsize = 72 Ysize = 46 Zsize = 7 Tsize = 5 Esize = 1 
Number of Variables = 8 
ps 0 1 Surface pressure [hPa] 
ua 7 33 Eastward wind [m/s] 
va 7 34 Northward wind [m/s] 
zg 7 7 Geopotential height [m] 
ta 7 11 Air Temperature [K] 
hus 7 51 Specific humidity [kg/kg] 
ts 0 11 Surface (2m) air temperature [K] 
pr 0 59 Total precipitation rate [kg/(m^2*s)] 
ga-> d ps 
Contouring: 500 to 1000 interval 50 
ga-> d ps 
Contouring: 500 to 1000 interval 50 
ga-> clear 
ga-> set lon -90 
LON set to -90 -90 
ga-> set lat 40 
LAT set to 42 42 
ga-> set lev 500 
LEV set to 500 500 
ga-> set t 1 
Time values set: 1987:1:1:0 1987:1:1:0 
ga-> d z 
Syntax Error: Invalid Operand 
'z' not a variable or function name 
Error ocurred at column 1 
DISPLAY error: Invalid expression 
Expression = z 
ga-> 





brownwrap.blogspot.com 


brownwraps-linuxfromscratch.blogspot.com/ 









From: Muhammad Yunus Ahmad Mazuki <ukm.yunus at gmail.com> 
To: brown wrap <gramos at yahoo.com>; GrADS Users Forum <gradsusr at gradsusr.org> 
Sent: Saturday, October 5, 2013 6:51 PM 
Subject: Re: [gradsusr] Do the GrADS Examples work? 





If you mean the tutorial, yes it does work. If you mean other example online, those example might be openGrADS example, which is based on GrADS itself. Therefore it the tutorial is not working, and you are absolutely sure you can't open the tutorial file itself, and not mistaking the path or anything, I would say you have a faulty installation. 




On Sun, Oct 6, 2013 at 9:41 AM, brown wrap < gramos at yahoo.com > wrote: 








I have installed GrADS for a user, and have been going through the examples. Not all of them work. I am trying to determine if I have a faulty installation, or if some of the examples are broken. Thanks. 
_______________________________________________ 
gradsusr mailing list 
gradsusr at gradsusr.org 
http://gradsusr.org/mailman/listinfo/gradsusr 







_______________________________________________ 
gradsusr mailing list 
gradsusr at gradsusr.org 
http://gradsusr.org/mailman/listinfo/gradsusr 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20131007/66c4310e/attachment.html 


More information about the gradsusr mailing list