Re: write missing_value or _FillValue to Netcdf File

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Tue May 11 2010 - 00:05:14 MDT

Hi Jian,
If either or both of these attributes are defined for the NCL local
variables, such as T or PS, then they are copied to the file along
with all the other attributes belonging to the variable when you call
the procedure filevarattdef. If they are not yet defined for the local
variable, then assign them prior to the filevarattdef call, e.g.:

T@_FillValue = 1e20
T@missing_value = 1e20
filevarattdef(fout,"T", T)

Hope this helps,
  -dave

On May 10, 2010, at 10:28 PM, å‡Œå¥ wrote:

>
>
> Hi NCL users:
>
> Do you know how to write the attribute of missing_value and
> _FillValue to a variable in the Netcdf file in the efficient
> method(see link).
> http://www.ncl.ucar.edu/Applications/method_2.shtml
>
> Jian
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue May 11 00:05:20 2010

This archive was generated by hypermail 2.1.8 : Thu May 13 2010 - 10:03:00 MDT