Regrid on other grid

Charles Seman Charles.Seman at NOAA.GOV
Mon Sep 24 17:34:57 EDT 2007


Diego,

Please find attached a regrid_pptn.gs script using GrADS "regrid2" UDF.

I hope this helps,
Chuck

diego wrote:
> hello all:
>
> I have two data bases on the Pacific with difrent resolutions.
> I want to interpolate the data on the grid  of low resolution.
> the ctl associated file is shown below:
>
> dset ^mm5_20020915.bin
> undef -9999.
> xdef  108 linear  -94.  0.31
> ydef  88 linear   -25.5  0.31
> zdef  1 levels
>   1000
>   tdef 1 linear 12:00Z15sep2002    1dy
> vars 2
> U       0 99 uvel (Pa)
> V       0 99 vvel (K)
> endvars
>
>   i have also a quickScat netcdf file, with a regular latlon grid. its
> ctl file
> looks like ...
>
> dset ^quick_20020915.nc
> undef -9999.
> xdef  100 linear  -92.5  0.5
> ydef  80 linear   -23.5  0.5
> zdef  1 levels
>   1000
>   tdef 1 linear 12:00Z15sep2002    1dy
> vars 2
> U       0 99 uvel (Pa)
> V       0 99 vvel (K)
> endvars
>
>
> can somebody help me
>
> thanks
>
>
> ------------------------------------------------------------------------
>
> Sé un Mejor Amante del Cine
> ¿Quieres saber cómo? ¡Deja que otras personas te ayuden!
> <http://us.rd.yahoo.com/mail/es/tagline/beabetter/*http://advision.webevents.yahoo.com/reto/entretenimiento.html>.

--

Please note that Charles.Seman at noaa.gov should be considered my NOAA
email address, not cjs at gfdl.noaa.gov.

********************************************************************
 Charles Seman                                Charles.Seman at noaa.gov
 U.S. Department of Commerce / NOAA / OAR
 Geophysical Fluid Dynamics Laboratory         voice: (609) 452-6547
 201 Forrestal Road                              fax: (609) 987-5063
 Princeton, NJ  08540-6649            http://www.gfdl.noaa.gov/~cjs/
********************************************************************

"The contents of this message are mine personally and do not reflect
any position of the Government or NOAA."

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: regrid_pptn.gs
Url: http://gradsusr.org/pipermail/gradsusr/attachments/20070924/5799a875/attachment.pl 


More information about the gradsusr mailing list