Changeset 1894 in lmdz_wrf


Ignore:
Timestamp:
Apr 5, 2018, 2:03:05 PM (7 years ago)
Author:
lfita
Message:

Giving the right order of attributes for the name of the file in `CFmorzization'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r1893 r1894  
    2389023890                    varaxes.append(axn1)
    2389123891               
    23892         filen = gattr['institute_id'] + '_' + cfvarn + '_' + gattr['CORDEX_domain'] +\
    23893           '_' + gattr['driving_model_id'] + '_' + gattr['driving_experiment_name'] + \
    23894           '_' + gattr['driving_model_ensemble_member'] + '_' + gattr['model_id'] +  \
    23895           '_' + gattr['rcm_version_id'] + '_' + Sfreq + '_' + Sinit + '-' + Sendt +  \
    23896           '.nc'
     23892        filen= cfvarn +'_'+ gattr['CORDEX_domain'] +'_'+ gattr['driving_model_id'] + \
     23893          '_' + gattr['driving_experiment_name'] + '_' +                            \
     23894          gattr['driving_model_ensemble_member'] +'_'+ gattr['institute_id'] + '-' + \
     23895          gattr['model_id'] + '_' + gattr['rcm_version_id'] + '_' + Sfreq + '_' +    \
     23896          Sinit + '-' + Sendt + '.nc'
    2389723897
    2389823898        onewnc = NetCDFFile(filen,'w')
Note: See TracChangeset for help on using the changeset viewer.