[gradsusr] Do the GrADS Examples work?

James T. Potemra jimp at hawaii.edu
Tue Oct 8 12:19:10 EDT 2013


I'm not sure what the problem is; your variable list is thus:

>   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)]
and you are trying to display a variable called "dz"?  In your earlier
example you tried to display z?  In both cases GrADS is telling you
these are not variables... and they are not.  You should, however, be
able to display any in the above list (and dimensions if you want).
Are you trying to run a script or define a variable?

Jim

On 10/8/13 5:23 AM, brown wrap wrote:
> No, that didn't work either.
>
>
>
> Welcome to the OpenGrADS Bundle Distribution
>               --------------------------------------------
>
> For additional information enter "grads -h".
>
> Starting 
> "/opt/opengrads/Contents/Linux/Versions/2.0.1.oga.1/x86_64/grads " ...
>
>
> Grid Analysis and Display System (GrADS) Version 2.0.1.oga.1
> Copyright (c) 1988-2011 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.1.oga.1 little-endian readline printim grib2 netcdf 
> hdf4-sds hdf5 opendap-grids,stn athena geotiff shapefile
> Issue 'q config' command for more detailed configuration information
> Loading User Defined Extensions table 
> </opt/opengrads/Contents/Linux/Versions/2.0.1.oga.1/x86_64/gex/udxt> 
> ... ok.
> 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-> 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 dz
> Syntax Error:  Invalid Operand
>   'dz' not a variable or function name
>   Error ocurred at column 1
> DISPLAY error:  Invalid expression
>   Expression = dz
> ga->
>
>
>
> ------------------------------------------------------------------------
> *From:* Eric Altshuler <ela at cola.iges.org>
> *To:* brown wrap <gramos at yahoo.com>; GrADS Users Forum 
> <gradsusr at gradsusr.org>
> *Sent:* Monday, October 7, 2013 4:25 PM
> *Subject:* Re: [gradsusr] Do the GrADS Examples work?
>
> There is no variable 'z' in the ctl file, but there is 'zg'. 'd zg' 
> should display geopotential height.
>
> ------------------------------------------------------------------------
> *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 
> <mailto: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 <mailto:gradsusr at gradsusr.org>
>     http://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
>
>
> _______________________________________________
> 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/20131008/403585e3/attachment-0001.html 


More information about the gradsusr mailing list