[gradsusr] regrid problem

zjuyanlibin zjuyanlibin at 163.com
Thu Jun 21 03:29:18 EDT 2012


I noticed the two files cover the same region with different resolutions.
So you should open file.1, 
interpolate variables into the same coordinate as file.2
'define newvar=re2(oldvar...)'
close file 1
then open file.2
compare...




zjuyanlibin

From: Roberto Mera
Date: 2012-06-21 15:13
To: GrADS Users Forum
Subject: [gradsusr] regrid problem
Hi. I'm trying to regrid two files to a common grid. The two files have 
different resolutions and projections. Here is the detail for the files:

file 1 (model)
   Type = Gridded
   Xsize = 428  Ysize = 322  Zsize = 1  Tsize = 1198  Esize = 1
   Number of Variables = 1
      px1  1  t,z,y,x  px1
X is varying   Lon = -140.885 to -94.7226   X = 1 to 428
Y is varying   Lat = 22.4263 to 57.129   Y = 1 to 322
Z is fixed     Lev = 1  Z = 1
T is fixed     Time = 00Z01JAN1961  T = 1
E is fixed     Ens = 1  E = 1

file 2 (NARR)

   Type = Gridded
   Xsize = 107  Ysize = 80  Zsize = 1  Tsize = 384  Esize = 1
   Number of Variables = 1
      pmax1  1  t,z,y,x  pmax1
X is varying   Lon = -140.885 to -94.7226   X = -1081.74 to -943.241
Y is varying   Lat = 22.4263 to 57.129   Y = -15.7149 to 88.4036
Z is fixed     Lev = 1  Z = 2
T is fixed     Time = 00Z01JAN1961  T = -215
E is fixed     Ens = 1  E = 1


I would like to regrid to 25 km or 1/3 degree so I can calculate 
anomalies between the two.

thanks

Robert
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120621/5efacf6a/attachment-0003.html 


More information about the gradsusr mailing list