<a href="http://opengrads.org/doc/udxt/re/re.html">http://opengrads.org/doc/udxt/re/re.html</a><br><span id="result_box" class="short_text" lang="en"><span class="hps">Hope that helps</span><span class="">.</span></span><br>
<br>Cheers!<br><br>-- <br>Rafael Censi Borges<br>Meteorologia - Epagri/Ciram<br>+55 (48)3239-8064/8066<br><a href="http://ciram.epagri.sc.gov.br" target="_blank">http://ciram.epagri.sc.gov.br</a><br><br><br><br><div class="gmail_quote">
2012/6/21 zjuyanlibin <span dir="ltr"><<a href="mailto:zjuyanlibin@163.com" target="_blank">zjuyanlibin@163.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div style="MARGIN:10px">
<div>I noticed the two files cover the same region with different
resolutions.</div>
<div>So you should open file.1, </div>
<div>interpolate variables into the same coordinate as file.2</div>
<div>'define newvar=re2(oldvar...)'</div>
<div>close file 1</div>
<div>then open file.2</div>
<div>compare...</div><div class="im">
<div> </div>
<hr style="WIDTH:210px;min-height:1px" color="#b5c4df" align="left" size="1">
<div><span>zjuyanlibin</span></div>
<div> </div>
<div style="BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0cm;PADDING-LEFT:0cm;PADDING-RIGHT:0cm;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt">
<div style="padding-right:8px;padding-left:8px;padding-top:8px;font-size:12px;background:#efefef;padding-bottom:8px">
<div><b>From:</b> <a href="mailto:rjmera@coas.oregonstate.edu" target="_blank">Roberto
Mera</a></div>
<div><b>Date:</b> 2012-06-21 15:13</div>
<div><b>To:</b> <a href="mailto:gradsusr@gradsusr.org" target="_blank">GrADS Users
Forum</a></div>
<div><b>Subject:</b> [gradsusr] regrid problem</div></div></div>
</div><div><div class="h5"><div>
<div>Hi. I'm trying to regrid two files to a common grid. The two files have </div>
<div>different resolutions and projections. Here is the detail for the files:</div>
<div> </div>
<div>file 1 (model)</div>
<div> Type = Gridded</div>
<div> Xsize = 428 Ysize = 322 Zsize = 1 Tsize = 1198 Esize = 1</div>
<div> Number of Variables = 1</div>
<div> px1 1 t,z,y,x px1</div>
<div>X is varying Lon = -140.885 to -94.7226 X = 1 to 428</div>
<div>Y is varying Lat = 22.4263 to 57.129 Y = 1 to 322</div>
<div>Z is fixed Lev = 1 Z = 1</div>
<div>T is fixed Time = 00Z01JAN1961 T = 1</div>
<div>E is fixed Ens = 1 E = 1</div>
<div> </div>
<div>file 2 (NARR)</div>
<div> </div>
<div> Type = Gridded</div>
<div> Xsize = 107 Ysize = 80 Zsize = 1 Tsize = 384 Esize = 1</div>
<div> Number of Variables = 1</div>
<div> pmax1 1 t,z,y,x pmax1</div>
<div>X is varying Lon = -140.885 to -94.7226 X = -1081.74 to -943.241</div>
<div>Y is varying Lat = 22.4263 to 57.129 Y = -15.7149 to 88.4036</div>
<div>Z is fixed Lev = 1 Z = 2</div>
<div>T is fixed Time = 00Z01JAN1961 T = -215</div>
<div>E is fixed Ens = 1 E = 1</div>
<div> </div>
<div> </div>
<div>I would like to regrid to 25 km or 1/3 degree so I can calculate </div>
<div>anomalies between the two.</div>
<div> </div>
<div>thanks</div>
<div> </div>
<div>Robert</div>
<div>_______________________________________________</div>
<div>gradsusr mailing list</div>
<div><a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a></div>
<div><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a></div></div></div></div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br>