[gradsusr] Do the GrADS Examples work?
brown wrap
gramos at yahoo.com
Tue Oct 8 13:59:41 EDT 2013
In the tutorial is says :
ga-> d z
That is why I had originally asked if the tutorial was accurate:
http://www.iges.org/grads/gadoc/tutorial.html
brownwrap.blogspot.com
brownwraps-linuxfromscratch.blogspot.com/
________________________________
From: Jennifer Adams <jma at cola.iges.org>
To: brown wrap <gramos at yahoo.com>; GrADS Users Forum <gradsusr at gradsusr.org>
Sent: Tuesday, October 8, 2013 9:14 AM
Subject: Re: [gradsusr] Do the GrADS Examples work?
You're getting an error message because you are trying to display a variable that is not in the data set. Try this:
ga-> d zg
Your installation appears to be fine. What you have is case of Operator Error. :-)
--Jennifer
On Oct 8, 2013, at 11:43 AM, brown wrap wrote:
>
> The last try was my mistake. I have several installation of GrADS and OpenGrADS. On the OpenGrADS machines it default to that, so I just tried it on a machine with only GrADS, but the same result. I downloaded the binary for Linux, so there was no compilation. It is encouraging to note that the tutorial works. As I said, I am just trying to verify my install before I turn it over to the user. Thanks.
>
>[ramos at jiny data]$ grads
>
>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-> 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-> 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->
>
>
>
>
>
>________________________________
> From: Matei Georgescu <Matei.Georgescu at asu.edu>
>To: brown wrap <gramos at yahoo.com>; GrADS Users Forum <gradsusr at gradsusr.org>
>Cc: Eric Altshuler <ela at cola.iges.org>
>Sent: Tuesday, October 8, 2013 8:29 AM
>Subject: Re: [gradsusr] Do the GrADS Examples work?
>
>
>
>For what it's worth, I had my Graduate level class go through the entire tutorial seamlessly less than 1 month ago.
>
>
>May I recommend that you simply start over from scratch (i.e., redownload, compile, etc.). I had some issues yesterday downloading modules from NCAR/RAL (I know, not GrADS-related) that didn't build properly - and the reason why it didn't work made no sense. We downloaded again, built from scratch, and like magic, things worked out.
>
>
>thank you,
>matei
>
>
>
>
>--
>
>Matei Georgescu, PhD, Assistant Professor
>School of Geographical Sciences and Urban Planning
>Senior Sustainability Scientist, Global Institute of Sustainability
>Adjunct Professor, School of Mathematical and Statistical Sciences
>
>
>Telephone: (480) 727 5986. Web: http://georgescu.lab.asu.edu/
>Office: COOR 5578, Arizona State University, P.O. Box 875302 Tempe, AZ 85287-5302
>
>On Tue, Oct 8, 2013 at 8:23 AM, brown wrap <gramos at yahoo.com> 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> 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
>>
>>
>>
>>_______________________________________________
>>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
>
--
Jennifer M. Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
111 Research Hall, Mail Stop 2B3
George Mason University
4400 University Drive
Fairfax, VA 22030
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20131008/4b0a3887/attachment-0001.html
More information about the gradsusr
mailing list