Changeset 369 in lmdz_wrf
- Timestamp:
- Mar 19, 2015, 6:31:17 PM (10 years ago)
- Location:
- trunk/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing_tools.py
r363 r369 711 711 ['z', 'geopotential_height', 0.0, 80000.0, 'geopotential|height', 'm2s-2', 'rainbow'] 712 712 """ 713 import subprocess as sub 714 713 715 fname='variables_values' 714 716 … … 718 720 quit() 719 721 720 infile = 'variables_values.dat' 722 folderins = sub.Popen(["pwd"], stdout=sub.PIPE) 723 folder = list(folderins.communicate())[0].replace('\n','') 724 725 infile = folder + '/variables_values.dat' 721 726 722 727 if not os.path.isfile(infile): -
trunk/tools/nc_var_tools.py
r364 r369 159 159 ['z', 'geopotential_height', 0.0, 80000.0, 'geopotential|height', 'm2s-2', 'rainbow'] 160 160 """ 161 import subprocess as sub 162 161 163 fname='variables_values' 162 164 … … 166 168 quit() 167 169 168 infile = 'variables_values.dat' 170 folderins = sub.Popen(["pwd"], stdout=sub.PIPE) 171 folder = list(folderins.communicate())[0].replace('\n','') 172 173 infile = folder + '/variables_values.dat' 169 174 170 175 if not os.path.isfile(infile):
Note: See TracChangeset
for help on using the changeset viewer.