Station data Input

climate karsaz climate.karsaz at GMAIL.COM
Wed Aug 12 10:53:48 EDT 2009


hi
 your write command
>>sdfopen file name..nc



On Wed, Aug 12, 2009 at 6:22 PM, Jennifer Adams <jma at cola.iges.org> 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
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090812/a62fdf2c/attachment.html 


More information about the gradsusr mailing list