Changeset 634 in lmdz_wrf for trunk


Ignore:
Timestamp:
Sep 18, 2015, 6:09:21 PM (9 years ago)
Author:
lfita
Message:

Adding `true' to 'Str_Bool'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r633 r634  
    157157    fname = 'Str_Bool'
    158158
    159     if val == 'True' or val == '1' or val == 'yes':
     159    if val == 'True' or val == 'true' or val == '1' or val == 'yes':
    160160        boolv = True
    161     elif val == 'False' or val == '0' or val== 'no':
     161        boolv = True
     162    elif val == 'False' or val == 'false' or val == '0' or val== 'no':
    162163        boolv = False
    163164    else:
Note: See TracChangeset for help on using the changeset viewer.