Changeset 1721 in lmdz_wrf


Ignore:
Timestamp:
Dec 14, 2017, 2:19:13 AM (7 years ago)
Author:
lfita
Message:

Fixing retrieval of variable name for 'C_' calculation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/get_stations.py

    r1720 r1721  
    665665                        diagvars[fvn] = vardiag.values
    666666                elif fvn[0:2] == 'C_':
    667                     fvn_diag = fvn.split('_')[1]
     667                    fvn_diag = fvn[2:len(fvn)]
    668668                    if not Ccomputed[fvn_diag]:
    669669                        # Using a given series of prepared diagnostics
Note: See TracChangeset for help on using the changeset viewer.