Station data Input
TRINA BOSE
trina at TROPMET.RES.IN
Thu Aug 13 01:40:28 EDT 2009
Hi Jenifer
Tried your suggestion...
ga-> set x 1
LON set to 1 1
ga-> set y 1
LAT set to 1 1
ga-> set t 1 540
Time values set: 1960:1:1:0 2004:12:1:0
ga-> d o18(STID=4218200)
No stations to plot
ga-> d t(stid=4218200)
Syntax Error: Invalid Operand
't' not a variable or function name
Error ocurred at column 1
DISPLAY error: Invalid expression
Expression = t(stid=4218200)
ga-> d o18(stid=4218200)
No stations to plot
Trina
PS: Does the stid needs to be alphabets/alphanumeric?
On Wed, 12 Aug 2009 09:52:26 -0400, Jennifer Adams wrote
> To get a time series at a single station, you need to use the station
> ID, instead of fixing the lat/lon. Try this:
> 'set x 1'
> 'set y 1'
> 'set t 1 last'
> 'd t(stid=<putSTIDhere>)'
>
> --Jennifer
>
> On Aug 12, 2009, at 9:32 AM, TRINA BOSE wrote:
>
> > My q config:
> >
> > Config: v2.0.a3 little-endian readline printim grib2 netcdf hdf4-sds
> > Grid Analysis and Display System (GrADS) Version 2.0.a3
> > Copyright (c) 1988-2008 by Brian Doty and the
> > Institute for Global Environment and Society (IGES)
> > This program is distributed WITHOUT ANY WARRANTY
> > See file COPYRIGHT for more information.
> >
> > Built Mon Aug 11 10:43:35 EDT 2008 for x86_64-unknown-linux-gnu
> >
> > This version of GrADS has been configured with the following options:
> > o Built on a LITTLE ENDIAN machine
> > o Command line editing ENABLED
> > http://tiswww.case.edu/php/chet/readline/rltop.html
> > o printim command for image output ENABLED
> > http://www.zlib.net
> > http://www.libpng.org/pub/png/libpng.html
> > http://www.libgd.org/Main_Page
> > o GRIB2 interface ENABLED
> > http://www.ijg.org
> > http://www.ece.uvic.ca/~mdadams/jasper
> > http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2
> > g2clib-1.0.5
> > o NetCDF interface ENABLED
> > http://www.unidata.ucar.edu/software/netcdf
> > netcdf "3.6.2" of Feb 22 2008 10:37:08 $
> > o NCSA HDF interface ENABLED
> > http://hdf.ncsa.uiuc.edu
> > HDF4.2r3
> > o Athena Widget GUI DISABLED
> > o OPeNDAP gridded data interface DISABLED
> > o OPeNDAP station data interface DISABLED
> >
> > Problem:
> >
> > I followed the instruction in the grads index about station data
> > input in C and F. The
> > input data looks like:
> > 1960 01 4218200 28.58 77.20 -999.00 -999.00 10.00 14.10 9.40
> > 1960 02 4218200 28.58 77.20 -999.00 -999.00 0.00 19.70 9.40
> >
> > I changed the read statement in F example in following points:
> >> Added * in place of format
> >> Changed input and output filenames and RVAL to o18
> >
> > The stnmap went ok but when opened the ctl in grads the data
> > displays as number in a
> > time lapse animation but when I set the lon and lat of the station
> > and want to see the
> > t-distribution the prompt say "no stations to plot".
> >
> > I tried the same in C sample with changed input and output filenames
> > and RVAL to o18,
> > but with same results.
> >
> > Please help.
> >
> > sincerely
> >
> > Trina Bose
>
> --
> Jennifer M. Adams
> IGES/COLA
> 4041 Powder Mill Road, Suite 302
> Calverton, MD 20705
> jma at cola.iges.org
sincerely
Trina Bose
Research Fellow
Indian Institute of Tropical Meteorology
Dr. Homi Bhabha Road, Pashan, Pune-411008
Ph.: 020 25904430
More information about the gradsusr
mailing list