<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=GB2312" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
        LINE-HEIGHT: 1.5; FONT-FAMILY: ΢ÈíÑźÚ; COLOR: #000080; FONT-SIZE: 10.5pt
}
</STYLE>
<META name=GENERATOR content="MSHTML 9.00.8112.16446"></HEAD>
<BODY 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> </DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df 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-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; COLOR: #000000; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV><B>From:</B> <A href="mailto:rjmera@coas.oregonstate.edu">Roberto
Mera</A></DIV>
<DIV><B>Date:</B> 2012-06-21 15:13</DIV>
<DIV><B>To:</B> <A href="mailto:gradsusr@gradsusr.org">GrADS Users
Forum</A></DIV>
<DIV><B>Subject:</B> [gradsusr] regrid problem</DIV></DIV></DIV>
<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>gradsusr@gradsusr.org</DIV>
<DIV>http://gradsusr.org/mailman/listinfo/gradsusr</DIV></DIV></BODY></HTML>