Re: created nc files

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Tue, 14 Jul 2009 15:22:49 -0600

Hi Lei,
Sure, you can simply delete the attribute from the array before you
write the array to a netCDF file:
delete(sst@_FillValue)

Alternatively, you can remove the _FillValue from an already created
netCDF file by using the netCDF operator ncatted:
http://nco.sourceforge.net/nco.html#SEC87
Adam

Lei wrote:
> Hi,
> Each time I created a new nc file, there is always one attribute
> (_FillValue: -999) associated with each parameter. See the following
> example:
> float conint ( month, lat, lon )
> units : mm/day
> long_name : prcp anomaly
> _FillValue : -999
> Is there anyway to get rid of the attribute? Thanks,
> Lei
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
--------------------------------------------------------------
Adam Phillips			             asphilli_at_ucar.edu
National Center for Atmospheric Research   tel: (303) 497-1726
ESSL/CGD/CAS                               fax: (303) 497-1333
P.O. Box 3000				
Boulder, CO 80307-3000	  http://www.cgd.ucar.edu/cas/asphilli
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Jul 14 2009 - 15:22:49 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 23 2009 - 08:02:42 MDT