- Timestamp:
- Apr 13, 2017, 1:04:18 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r1525 r1526 4070 4070 4071 4071 # Check if there are some coincident dimensional names between both variables 4072 vdimns = varinf.dimns4072 vdimns = list(varinf.dimns) 4073 4073 mdimns = maskdims 4074 4074 4075 for dimn in vdimns:4076 if gen.searchInlist( maskdims,dimn): mdimns.remove(dimn)4075 for dimn in mdimns: 4076 if gen.searchInlist(vdimns,dimn): vdimns.remove(dimn) 4077 4077 4078 4078 #slices = gen.provide_slices(varinf.dimns, varinf.dims, list(varmaskinf.dimns)) 4079 slices = gen.provide_slices(varinf.dimns, varinf.dims, list(maskdims))4079 slices = gen.provide_slices(varinf.dimns, varinf.dims, vdimns) 4080 4080 4081 4081 if maskvalue != 'mask':
Note: See TracChangeset
for help on using the changeset viewer.