Station data Input

Jennifer Adams jma at COLA.IGES.ORG
Thu Aug 13 09:17:08 EDT 2009


Try setting the lat/lon values to a range that covers the location
where station 421800 is :
'set lat 28 29'     ;* make sure these lat/lon ranges are relevant
'set lon 77 78'
'set gxout value'
'set stid on'
'set stnprint on'
'set stat on'
'set t 1'
'd  o18'

Then GrADS will print out all the station values in that lat/lon range
at that time, and you should see your data in the display and the
command window. This output might reveal why it can't find your
station when trying to display the time series of values...

--Jennifer


On Aug 13, 2009, at 1:40 AM, TRINA BOSE wrote:

> 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

--
Jennifer M. Adams
IGES/COLA
4041 Powder Mill Road, Suite 302
Calverton, MD 20705
jma at cola.iges.org



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090813/d0ea504f/attachment.html 


More information about the gradsusr mailing list