<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span>Hi</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span>I am also stucked after regridding my parameters in the control file. When I open the control file, I have two parameters tmp and pcp. I am able to regrid to my specific watershed location and display the result using opengrads (following commands) </span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span><br></span></div><div><span><div>set lat 38 42</div><div>set lon -105 -96</div><div>set t 1 50</div><div>define pcp1=re(pcp,65,linear,-104.1875,0.125,25,linear,38.5625,0.125,bl)</div><div>d pcp1</div><div>define
tmp1=re(tmp,65,linear,-104.1875,0.125,25,linear,38.5625,0.125,bl)</div><div>d tmp1</div><div><br></div><div>I need to get the regridded output (pcp1, tmp1) for all time periods and for each lat. and lon. in text files.</div><div>e.g. file 1_-104.1875_38.5625 (pcp1 tmp1, parameters columnwise in each file)</div><div> file 2_-104.1875_38.6875 </div><div> file 3_-104.0625_38.5625</div><div> file 4_-104.0625_38.6875<br></div><div><br></div><div>If you notice the format above, each file varies in latitude and longitude by 0.125. Also the file names should have 4 decimal points as above. </div><div><br></div><div>I tried using while endwhile loop based on some instruction available in the graduser list (link below) but not able to fix the error. I just started using GRADS and I am meshing it again and again. I have not attached the code
thinking it might confuse you more.</div><div><br></div><div><a href="http://gibies.blogspot.com/2009/11/text-output-of-data-from-grads.html">http://gibies.blogspot.com/2009/11/text-output-of-data-from-grads.html</a><br></div><div><br></div><div>I appreciate if someone can help me out to get the required text file format. <br></div><div><br></div><div><br></div><div><br></div></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">Anil</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><br></div></div></div></body></html>