warning:gradsf: 203 2-dimensional input array(s) contained missing values

From: wei huang <whua27_at_nyahnyahspammersnyahnyah>
Date: Sat Aug 13 2011 - 10:41:00 MDT

Hi,

Iím interested to calculating the gradient and when I used the function
gradsf, I got the error:

warning:gradsf: 203 2-dimensional input array(s) contained missing values.
No interpolation performed on these arrays.

Could anyone know how to handle this error or any other NCL function is
available, which allow the missing value for calculating gradient, please
your guidance will be appreciated.

Thanks and regards,

wei

-----------------------

 dthdP0 = dthdP(time|:,lev|:,lat|:,lon|:)

 printVarSummary(dthdP0)

 ;exit

 dwdx = w

 dwdy = w

 gradsf(w,dwdx,dwdy)

 dthdx = th

 dthdy = th

 gradsf(th,dthdx,dthdy)

 vort = dudP0

 vort = dudP0-dwdx

 printVarSummary(vort)

*******************************

Variable: dthdP0

Type: float

Total Size: 127307700 bytes

            31826925 values

Number of Dimensions: 4

Dimensions and sizes: [time | 31] x [lev | 39] x [lat | 195] x [lon | 135]

Coordinates:

            lev: [ 0..38]

Number Of Attributes: 1

  _FillValue : -999

warning:gradsf: 203 2-dimensional input array(s) contained missing values.
No interpolation performed on these arrays

Variable: vort

Type: float

Total Size: 127307700 bytes

            31826925 values

Number of Dimensions: 4

Dimensions and sizes: [time | 31] x [lev | 39] x [lat | 195] x [lon | 135]

Coordinates:

            lev: [ 0..38]

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sat Aug 13 11:03:29 2011

This archive was generated by hypermail 2.1.8 : Thu Aug 25 2011 - 09:54:48 MDT