regrid 2.5x2.5 to t30 problem

Arlindo da Silva arlindo.dasilva at GMAIL.COM
Wed Jul 1 15:22:19 EDT 2009


Joyce,
  The old regrid2 UDF is no longer supported. There have been bug fixes in
the re() extension that may or may not address this problem. If it is an
option for you, install the latest opengrads bundle from
http://opengrads.org and give re() a try; documentation is here:

      http://opengrads.org/doc/udxt/re/

On Mon, Jun 22, 2009 at 7:12 PM, Joyce Meyerson <hobo at atmos.ucla.edu> wrote:

> Hi,
>
> I'm trying to regrid a 2.5x2.5 uniform grid (144 x 72) to t30 gaussian
> grid (96x48) using box averaging with "voting" as in the example in
> the regrid2.doc file.
> define prect30=regrid(prec,96,48,vt,0.60,0.20) and I get 4 x 5 points
> total in the new grid.  Plus the lon extent only goes from 0 264. I
> have also tried just box averaging (regrid,96,48)with the same result.
> This seems to be the result of my not inputting a specific dx and dy
> but I'm going to a gaussian (non-uniform) grid.
> What am I doing wrong?
>
> ga[2]> define pt30=regrid(prec,96,48,vt,0.60,0.20)
>  number of arguments =            6
>
> the output grid is UNIFORM lat/lon:
> dx = 96.00 deg and dy = 48.00 deg
> # points in i(lon) =   4  # points j(lat) =   5
> lon extent =    0.00 to  264.00 lat extend = -90.00 to  90.00
> regrid method is: box averaging with VOTING
> vote parameters:  max fract area = 0.60  min frac area = 0.20
>
> Joyce
>
> P.S. the example in regrid2.doc gives define i21=regrid(index,
> 48,40,12,0.60,0.20). Does anyone know what the "12" in the C1 option
> means?
>
>
> ******************
> Joyce E. Meyerson
> UCLA
> Dept. of Atmospheric and Oceanic Sciences
> Climate Systems Interactions Group
> Math Science 7235
> hobo at atmos.ucla.edu
>



--
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090701/108176ca/attachment.html 


More information about the gradsusr mailing list