Changeset 2842


Ignore:
Timestamp:
05/12/16 15:29:33 (8 years ago)
Author:
labetoulle
Message:

[concogencmip6] problem with directory size = None in store occupation analysis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/ConsoGENCMIP6/bin/libconso.py

    r2717 r2842  
    100100  """ 
    101101  """ 
     102  if x == "None": 
     103    x = "0o" 
     104 
    102105  if unicode(x).isdecimal(): 
    103106    x = x + "o" 
     
    250253 
    251254    x2 = len(utheos) - 1 
     255    x1 = x2 
    252256    for nb, elem in enumerate(utheos[-2::-1]): 
    253257      if elem >= utheos[x2]: 
     
    293297 
    294298    if not self.size or \ 
    295        self.unit == unit_out: 
     299      self.unit == unit_out: 
    296300      size_out = self.size 
    297301    else: 
Note: See TracChangeset for help on using the changeset viewer.