[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

19990714: Interpolation of Gridded data



>From: Brett Newkirk <address@hidden>
>Organization: .
>Keywords: 199907141758.LAA28370

>Hello:
>       I am writing to inquire about whether GEMPAK has a program which
>can interpolate fields on a grid of one resolution (i.e. 110km) to another
>(i.e. 80km), whether it be in the library of programs or some other GEMPAK
>program. I looked in the manuals but did not see anything related to this.
>Thanks for your help on this question.
>Sincerely,
>Brett Newkirk
>
>Brett Newkirk    E-MAIL: address@hidden
>Office: ATG 424  Atmospheric Science/Geophysics Building
>Mailing Address: Department of Atmospheric Sciences, University of Washington
>                 Box 351640
>                 Seattle, WA 98195-1640
>Office Phone: (206) 685-2183
>

Brett,

I provided the gdbiint program to interpolate from one projection to another.
The gdbiint.tar.Z source is in ~gbuddy/nawips-5.4/contrib. Attatched below is
the README file I provided.

Also, David Ovens at UW was doing alot of work on this also, so you might want
to get in touch with him. He was working on an interpolation routine for the
library.

Steve Chiswell
To install this program, download the tar file and place in your
$NAWIPS directory then extract the contents with:
zcat gdbiint.tar.Z | tar xvf -

To build the program:
cd $NAWIPS/unidata/programs/gdbiint
make clean
make all
make install
make clean


To use the program, first create the output file with the
desired projection using GDCFIL. Then run GDBIINT with GDFILE 
as your input grid file, and GDOUTF the grid file created in GDCFIL.

The program will first generate an interpolation array for
the location of the output grid points within the input
grid domain. This step can take a while depending on
how big the grid sizes are (but it is only done once-
so be patient while this is done). Then, for each
grid in the input grid file, the grid points are
interpolated to the output grid and written out to
the GDOUTF.