Changeset 1070 in lmdz_wrf for trunk/tools/drawing.py
- Timestamp:
- Aug 31, 2016, 4:08:53 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing.py
r1038 r1070 147 147 ## break 148 148 ## if not cutdim: dimnamesv.append(objvars.dimensions[idd]) 149 dimnamesv = [vdim yn, vdimxn]149 dimnamesv = [vdimxn, vdimyn] 150 150 151 151 if drw.searchInlist(objvars.ncattrs(),'units'): … … 311 311 valshad, dimsshad = drw.slice_variable(objvars, dimvals.replace(',','|')) 312 312 313 dimnamesv = [vdim yn, vdimxn]313 dimnamesv = [vdimxn, vdimyn] 314 314 315 315 varunits = objvars.getncattr('units') … … 525 525 ## break 526 526 ## if not cutdim: dimnamesv.append(objvars.dimensions[idd]) 527 dimnamesv = [vdim yn, vdimxn]527 dimnamesv = [vdimxn, vdimyn] 528 528 529 529 varunits = [] … … 628 628 [dimvals/c]: list of [dimname]|[value] telling at which dimension of the 629 629 variable a given value is required (no dimension name, all the length) 630 [dimx/yvn]: ',' list with the name of the variables with the values of the dimensions 630 [dimxvn]: name of the variables with the values of the dimension of the x-axis 631 [dimyvn]: name of the variables with the values of the dimension of the y-axis 631 632 [colorbar]: name of the color bar 632 633 [ckind]: kind of contours … … 744 745 valcont, dimscont = drw.slice_variable(objvarc, dimvalc.replace(',','|')) 745 746 746 dimnamesv = [vdim yn, vdimxn]747 dimnamesv = [vdimxn, vdimyn] 747 748 748 749 varunits = [] … … 923 924 ## break 924 925 ## if not cutdim: dimnamesv.append(objvars.dimensions[idd]) 925 dimnamesv = [vdim yn, vdimxn]926 dimnamesv = [vdimxn, vdimyn] 926 927 927 928 varunits = objvars.getncattr('units') … … 1068 1069 valshad, dimsshad = drw.slice_variable(objvars, dimvals.replace(',','|')) 1069 1070 1070 dimnamesv = [vdim yn, vdimxn]1071 dimnamesv = [vdimxn, vdimyn] 1071 1072 1072 1073 varunits = objvars.getncattr('units')
Note: See TracChangeset
for help on using the changeset viewer.