Changeset 2809 in lmdz_wrf for trunk/tools/nc_var_tools.py


Ignore:
Timestamp:
Apr 8, 2020, 12:48:10 AM (5 years ago)
Author:
lfita
Message:

Fixing concatenation of scalar variables in `netcdf_fold_concatenation_HMT'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r2808 r2809  
    1190111901                    quit(-1)
    1190211902        else:
    11903             newvar[:] = objvar[:]
     11903            if len(objvar.shape) > 0: newvar[:] = objvar[:]
    1190411904            newnc.sync()
    1190511905
Note: See TracChangeset for help on using the changeset viewer.