Changeset 3953


Ignore:
Timestamp:
27/05/08 16:56:33 (11 years ago)
Author:
domlowe
Message:

set missing_value attribute as _FillValue not set properly by cdms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/csml/csmllibs/netCDFWriter.py

    r3704 r3953  
    8181                        axisCount = axisCount +1       
    8282        #missing_value deprecated but in common use; 
    83         #setattr(dataarray, 'missing_value' ,fillvalue) 
    84         setattr(dataarray, '_FillValue' ,fillvalue) 
     83        setattr(dataarray, 'missing_value' ,fillvalue) 
     84        setattr(dataarray, '_FillValue' ,fillvalue) #_FillValue does not work in CDMS!! 
    8585        if stdname: 
    8686            setattr(dataarray, 'standard_name' ,stdname) 
Note: See TracChangeset for help on using the changeset viewer.