[gradsusr] Query Reg the Station data plotting and gridding

Geeta Geeta geeta124 at hotmail.com
Tue Oct 5 01:18:11 EDT 2010


Dear All, 
I need help "Reg the plotting of station Rainfall data from synoptic stations". I need to  do the following.
1. plot the STATION Rainfall using the Grads and then 
2. I have to convert into the gridded rainfall using the Grads Oacres function. 

Step 1.   As per the direction given in the Grads mannual, I have converted
the Ascii data in the following format into the Binary using the following program (Attatched). 
Format of Station rainfall
2010   06       qqq    34.3    85.5   123.3
2010   06       qrq    34.6    82.5   023.3
2010   06       qql    34.9    83.5   003.3
2010   06       qqm   35.3    84.5   000.3
2010   06       qqn    36.3    87.5   155.3
This data need to be converted to the format which GrADS understands. This is done by the Program test1.f (attatched). The ascii data is written into binary by this program. 

Step 2. Then I have created the ctl file (stn.ctl) which looks like this.
dset ^rain.bin
dtype station
STNMAP  rain.map
undef -999.0
title rainfall
tdef 5 linear 12z18jan1980 12hr
vars 1
rf 0 99 rainfall
endvars

Step 3. When I try to plot the station data, I get the follwing message. 
ga-> open stn.ctl
Scanning description file:  stn.ctl
Open Error:  Can't open Station/Index map file rain.map
  --> The invalid description file record is: 
  --> stnmap  rain.map 

  The data file was not opened. 
ga-> 


So I feel that Unless I cannnot plot the station data properly, I cannot get the GRIDDED RAINFALL also USING the OACRES function. 
Kindly Suggest how should I get the Gridded Rainfall from the Station data.
Thanks
geeta

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20101005/1ebbfd6d/attachment-0003.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test1.f
Type: text/x-fortran
Size: 718 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20101005/1ebbfd6d/attachment-0003.bin 


More information about the gradsusr mailing list