<div dir="ltr"><div><div><div><div><div><div><div><div>Dear Grads Users,<br></div>I have station rainfall data which I want to draw contours. I have searched previous posts on regridding data to a regular grid, but am not sure if the suggested solutions are relevant to my case, or whether what am trying to do is possible. When I write the data in binary as longitude, latitude, value the display is very strange. I can write it as station values and display as in the file attached.<br>
</div>What I want to be able to do is to interpolate between stations and draw contours.<br></div>My data looks as follows:<br>01 28.92 -2.47 286.5<br>02 29.02 -2.68 168.8<br>03 29.25 -1.67 243.4<br>04 29.42 -2.07 204.9<br>
05 29.55 -1.58 286.9<br>06 29.57 -2.48 230.<br>07 29.6 -1.5 177.5<br>08 29.72 -2.18 290.<br>09 30.05 -1.6 206.5<br>10 30.13 -1.97 178.1<br>11 30.5 -2.15 156.7<br></div>The longitudes are sorted from smallest (western most) to largest, but obviously it is not possible to sort latitudes.<br>
</div>Below is the ctl I wrote to display the data written as lon, lat value (without the id number)<br>DSET means.grd <br>TITLE Sample Data Set <br>UNDEF -9.99E33 <br>XDEF 11 LINEAR 28.9 .2 <br>YDEF 11 LINEAR -2.6 .1 <br>
ZDEF 1 LINEAR 1 1 <br>TDEF 1 LINEAR 1JAN2000 1DY <br>VARS 1 <br>r 0 99 rainfall<br>ENDVARS<br><br></div>Is it possible to do what I want to do?<br></div>Help will be appreciated<br></div>Zilore<br></div>