Re: Problem with the _FillValue

From: Michael Notaro <mnotaro_at_nyahnyahspammersnyahnyah>
Date: Fri, 09 Nov 2007 09:02:23 -0600

You could try to mask anything over, say, 500.

obs=mask(obs,obs.ge.500.,False)

On Nov 9, 2007, at 9:00 AM, Jee-Hoon Jeong wrote:

> 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

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

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