Problem with the _FillValue

From: Jee-Hoon Jeong <jjeehoon_at_nyahnyahspammersnyahnyah>
Date: Sat, 10 Nov 2007 00:00:50 +0900

Dear NCL users,

 

I've faced a problem with _FillValue during processing initial files of CLM3
(*.i.*.nc files).

There are many missing values (1e+36) in those file without _FillValue
attribute, so I added

"obs_at_FillValue = 1e+36" command in my NCL script.

But I found that a value, 9.999999616903162e+35, is set for the _FillValue
instead of 1e+36.

Thus the NCL functions seem not to be able to recognize _FillValue
correctly.

 

Here are part of my NCL scripts and the results related with.

;--- NCL

obs = addfiles_GetVar(flist, files, variable)

obs@_FillValue = 1e+36

printVarSummary(obs)

printMinMax(obs,True)

 

;Results are;

 

Variable: obs

Type: double

Total Size: 7639320 bytes

            954915 values

Number of Dimensions: 3

Dimensions and sizes: [case | 13] x [column | 4897] x [levtot | 15]

Coordinates:

            case: [0..12]

Number Of Attributes: 3

  _FillValue : 9.999999616903162e+35

  units : K

  long_name : soil-snow temperature

(0)

(0) soil-snow temperature: min=0 max=1e+36

---
 
I guess the "max" value should be around 250~300K if NCL recognizes the
_FillValue correctly.
Is there any way to resolve this problem?
 
Thanks!
Jee-Hoon

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Nov 09 2007 - 08:00:50 MST

This archive was generated by hypermail 2.2.0 : Fri Nov 09 2007 - 09:36:39 MST