0% found this document useful (0 votes)
122 views1 page

Rainfall Data Processing Script

The document contains instructions for a program to loop through days of the year and generate rainfall maps from data files for each day. It sets variables for the date, defines rainfall as an average, and generates GeoTIFF images for each day's rainfall data.

Uploaded by

rashikawrk25
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
122 views1 page

Rainfall Data Processing Script

The document contains instructions for a program to loop through days of the year and generate rainfall maps from data files for each day. It sets variables for the date, defines rainfall as an average, and generates GeoTIFF images for each day's rainfall data.

Uploaded by

rashikawrk25
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
You are on page 1/ 1

*'reinit'

'open D:\Rainfall\rf.ctl'
***********************************
count = 1
while (count < 366)
'set t 'count
'define rainfall=ave(rf, t='count', t='count')'
***********************************
***********************************
'set grid off'
'set display color white'
'set grads off'
'set cthick 12'
*'set xlopts 1 6 .15'
*'set ylopts 1 6 .15'
*'set font .5'
'set map 1 1 9'
**********************************
**********************************
**********************************
'set geotiff D:\Rainfall\day_'count''
'set gxout geotiff'
*'set clevs 2 3 4 5 6 7 8 9 10 12 15 18 20'
*'set clevs 2 4 6 8 10 12 15 18 21 24'
'd rainfall'
*'mapi1.gs'
*'cbarn'
**********************************
**********************************
*'draw title rainfal (mm) for 1911'
*'printim rainfall_1901.png white'
*'printim geotif.tiff white'
count = count + 1
endwhile

You might also like