Regrid problem : missing values at the corner after regridding

Barry Barry.E.Schwartz at NOAA.GOV
Tue Oct 17 14:22:05 EDT 2006


John

For what it might be worth- I had similar problems
with a missing point and it turned out that since I wrote
my binary data using FORTRAN, it creates an extra record
that C does not automatically understand. I added

OPTIONS SEQUENTIAL

to my control (ctl) file to account for it-

Barry


John Guhin wrote:
> Hi,
>      When I am running the following gs file for regridding, it is
> working fine, except that I am getting missing values at the four
> corners of the domain. I do not have any missing values in the
> rain_1996-2000.dat file.
>
> 'open rain_1996-2000.ctl'
> 'set gxout fwrite'
> 'set fwrite rain_2.5x2.5_2.dat'
> 'set z 1'
> 'set lat -28.75 43.75'
> 'set lon 1.25 358.75'
> 'set t 1 1826'
> 'define p55=regrid2(rain,2.5,2.5,ba_p1,1.25,- 28.75)'
> 'd p55'
> 'disable fwrite'
>
> John Guhin



More information about the gradsusr mailing list