Changeset 695


Ignore:
Timestamp:
04/08/16 16:20:36 (8 years ago)
Author:
llmlod
Message:

prise en compte fillvalue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/file_Tbcorr_daily.py

    r694 r695  
    110110 
    111111        sclfactor = .01 
    112         tbfinal = ncfile.createVariable('tbcorr',dtype('int16').char,('lat','lon','satellite',)) 
     112        tbfinal = ncfile.createVariable('tbcorr',dtype('int16').char,('lat','lon','satellite',),fill_value=-9999.) 
    113113        tbfinal.description  = 'Corrected Tb of channel %s'%ich 
    114114        tbfinal.units        = 'Kelvin' 
    115115        tbfinal.scale_factor = sclfactor 
    116         tbfinal._Fillvalue   = -9999. 
     116        #tbfinal._FillValue   = -9999. 
    117117        tbfinal[:]           = tbcorr[cc,:,:].reshape(nlat,nlon,nsat) 
    118118 
Note: See TracChangeset for help on using the changeset viewer.