Re: created nc files

From: Lei <dream916_at_nyahnyahspammersnyahnyah>
Date: Tue, 14 Jul 2009 16:33:15 -0500

It works. Thanks. By the way, where does this attribute come from?
Lei

On Tue, Jul 14, 2009 at 4:22 PM, Adam Phillips <asphilli_at_ucar.edu> wrote:

> 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:33:15 MDT

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