[gradsusr] starting grads

Huddleston, John Huddleston at cira.colostate.edu
Sat Nov 20 04:50:03 EST 2010


Sepideh, it should work for all files as long as they are in the %y4 directory. I put your data file under a 2009 directory and opened it with GrADS. The output is below. There does seem to be a problem with your data. John

Config: v2.0.a9 little-endian readline printim grib2 netcdf hdf4-sds hdf5 opendap-grids,stn athena geotiff shapefile
Issue 'q config' command for more detailed configuration information
GX Package Initialization: Size = 11 8.5
ga-> open PRCP_CU_GAUGE_V1.0GLB_0.50deg.lnx.RT.ctl
Scanning description file:  PRCP_CU_GAUGE_V1.0GLB_0.50deg.lnx.RT.ctl
Data file %y4/PRCP_CU_GAUGE_V1.0GLB_0.50deg.lnx.%y4%m2%d2.RT is open as file 1
LON set to 0 360
LAT set to -89.75 89.75
LEV set to 1 1
Time values set: 2007:1:1:0 2007:1:1:0
E set to 1 1
ga-> q file
File 1 : global daily analysis (grid box mean, the grid shown is the center of the grid box)
  Descriptor: PRCP_CU_GAUGE_V1.0GLB_0.50deg.lnx.RT.ctl
  Binary: %y4/PRCP_CU_GAUGE_V1.0GLB_0.50deg.lnx.%y4%m2%d2.RT
  Type = Gridded
  Xsize = 720  Ysize = 360  Zsize = 1  Tsize = 9999  Esize = 1
  Number of Variables = 2
     rain  1  0  the grid analysis (0.1mm/day)
     gnum  1  0  the number of stn
ga-> d rain
Cannot contour grid - all undefined values
ga-> d gnum
Cannot contour grid - all undefined values
ga->

________________________________
From: gradsusr-bounces at gradsusr.org [gradsusr-bounces at gradsusr.org] On Behalf Of sepide sarachi [sepideh.sarachi at gmail.com]
Sent: Friday, November 19, 2010 7:01 PM
To: GrADS Users Forum
Subject: Re: [gradsusr] starting grads

thanks for the answer
the version that i am using is 2.0 a8
my main problem is do i have to make a control file for every one of the files that i want to read?
I have a bunch of daily precipitations,that i attach one of them, but i just have one control file and i have no idea if that is just a sample, or it works for all of the files.

the first one is the only control file that i have and the second one is precipitation for 01/04/2009

On Fri, Nov 19, 2010 at 5:41 PM, Huddleston, John <Huddleston at cira.colostate.edu<mailto:Huddleston at cira.colostate.edu>> wrote:
Hi Sepideh,

You are going to have to give us more information. Try and be more focused on the GrADS files you are using, show us an example of one of the CTL files, give us a link to the data files, and tell us what version of GrADS you are using with the 'q config' command.

John Huddleston, PhD
Cooperative Institute for Research in the Atmosphere

________________________________
From: gradsusr-bounces at gradsusr.org<mailto:gradsusr-bounces at gradsusr.org> [gradsusr-bounces at gradsusr.org<mailto:gradsusr-bounces at gradsusr.org>] On Behalf Of sepide sarachi [sepideh.sarachi at gmail.com<mailto:sepideh.sarachi at gmail.com>]
Sent: Friday, November 19, 2010 3:25 PM
To: gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
Subject: [gradsusr] starting grads

Hi,
Can anyone help me with this problem:
I have a set of data with the extension of .lnx, and i have the control file for them.
I open the control file, but i don't know how to read the data afterward.

thanks

--
Sepideh Sarachi
PhD student at
The Henry Samueli School of Engineering -
Dep. of Civil & Environmental Engineering -
University of California, Irvine

_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr




--
Sepideh Sarachi
PhD student at
The Henry Samueli School of Engineering -
Dep. of Civil & Environmental Engineering -
University of California, Irvine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20101120/803423cc/attachment-0003.html 


More information about the gradsusr mailing list