Problems with regrid2 function
Mike Fiorino
fiorino at LLNL.GOV
Thu Apr 14 12:19:57 EDT 2005
Dear Igor,
regrid2 is my function and I'm puzzled. first, can you do any regrid2?
e.g.,
d regrid2(htgprs,2.5)
in going from 1 deg to 0.5 deg you are using the correct method (bessel or
linear)
try
d regrid2(htgprs,0.5,0.5,bl) # bl = biliear
your prints look like you're working with a big endian (e.g., sun) data set
on a little endian (e.g., linux).
the first step though is to make sure regrid2 basically works...
/R Mike
> -----Original Message-----
> From: GRADSUSR at LIST.CINECA.IT
> [mailto:GRADSUSR at LIST.CINECA.IT] On Behalf Of Igor Gómez
> Sent: Thursday, April 14, 2005 12:05 AM
> To: GRADSUSR at LIST.CINECA.IT
> Subject: Problems with regrid2 function
>
> Hi all,
>
> we are trying to regrid gfs data from 1 degree to 0.5 degree
> resolution.
> We have found the regrid2 function, so we have installed it,
> and exported the GAUDFT variable.
>
> When we run this function in the way:
>
> d regrid2(hgtprs,2.5,2.5,bs)
>
> we recieve a following mistake message:
>
> regrid requires 2 or more arguements:
>
> Error from regrid2: Error reading from transfer file
> File name: udf.regrid.gfi
> Operation Error: Error from regrid2 function
> Error ocurred at column 1
> DISPLAY error: Invalid expression
> Expression = regrid2(hgtprs,2.5,2.5,bs)
>
> We have modified the source fortran code, for looking what
> the function recieve. When we run another time the function,
> we obtein the next message:
>
> d regrid2(hgtprs,2.5,2.5,bs)
>
> arguments = 0. NAN 21. 0. 1. 1. NAN 0. 20. 1.
> 3.98991849E-34
> 2384. 1. 0. 2.53635022E-43 5.04467447E-43
> 5.02870238E-34 1.40129846E-45
> NAN 1.12103877E-43
> number of arguments = 0
>
>
> regrid requires 2 or more arguements:
>
> Error from regrid2: Error reading from transfer file
> File name: udf.regrid.gfi
> Operation Error: Error from regrid2 function
> Error ocurred at column 1
> DISPLAY error: Invalid expression
> Expression = regrid2(hgtprs,2.5,2.5,bs)
>
>
> Does anyone know what could be the problem?
>
> Thak you in advance.
>
> Igor
>
More information about the gradsusr
mailing list