<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><div><div>Dear GrADs Users,<br></div>I am having a problem in regriding. I have a 30km resolution dataset with y=65 & x=101 (xdef 101 linear 1 1.2 & ydef 65 linear 1 1). The descriptor file is</div></div><div><br></div><div>input.ctl</div><div><div>dset /data/%y4%m2/rain_%y4%m2.dat</div><div>options big_endian<br></div><div>undef -999.9</div><div>xdef 101 linear 1 1.2</div><div>ydef 65 linear 1 1</div><div>zdef 3 levels 1000 500 200</div><div>tdef 15000 linear 00z01jan1995 6hr</div><div>vars 1</div><div>rain 3 99</div><div>endvars</div></div><div><br></div><div>I would like to convert the above data to 1.25 degree (i.e ~140km) resolution (xdef 26 linear 1 1 & ydef 14 linear 1 1). The descriptor file for new dataset is</div><div><br></div><div>output.ctl</div><div><div>dset /data/%y4%m2/rain_new_%y4%m2.dat</div><div>options big_endian<br></div><div>undef -999.9</div><div>xdef 26 linear 1 1</div><div>ydef 14 linear 1 1</div><div>zdef 3 levels 1000 500 200</div><div>tdef 15000 linear 00z01jan1995 6hr</div><div>vars 1</div><div>rain 3 99</div><div>endvars</div></div><div><br></div><div>In my system regrid2 function is available. I had also tried with </div><div>'d regrid2(rain,3.88,4.66)', but getting the following error message </div><div><br></div><div><div>the output grid is UNIFORM lat/lon:</div><div>dx = 3.88 and dy = 4.66 deg</div><div># points in i(lon) = 26 # points j(lat) = 14</div><div>regrid method is: box averaging </div><div>Cannot contour grid - all undefined values </div></div><div><br></div></div></div></div></div></div></div><div><font size="2"><span style="background-color:rgba(255,255,255,0)">Can anybody tell me h<span></span>ow can I regrid and save the datasets?</span></font></div><div><font size="2"><span style="background-color:rgba(255,255,255,0)"></span></font> </div><div class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div>Thank you very much in advance for any kind of help or suggestion. <br></div></div></div></div></div><span><font color="#888888">
</font></span></div></div><div><div dir="ltr"><br></div></div>
</div>
<br><br>-- <br><div dir="ltr"><div>Kind Regards,<br></div>Mano<br></div><br>