- Timestamp:
- 03/02/15 18:10:22 (10 years ago)
- Location:
- TOOLS/ConsoGENCMIP6/bin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/ConsoGENCMIP6/bin/gencmip6.py
r2427 r2428 43 43 """ 44 44 """ 45 if unicode(x).isdecimal(): 46 x = x + "o" 47 45 48 (size, unit) = (float(x[:-1]), x[-1]) 49 46 50 return SizeUnit(size, unit) 47 51 … … 213 217 """ 214 218 """ 215 prefixes = [" K", "M", "G", "T", "P", "H"]219 prefixes = ["o", "K", "M", "G", "T", "P", "H"] 216 220 217 221 if not self.size or \ -
TOOLS/ConsoGENCMIP6/bin/plot_login.py
r2427 r2428 256 256 # ... Save figure ... 257 257 # ------------------- 258 plot_save(img_name, today, "Conso GENCMIP6 par login") 258 img_in = os.path.join(DIR["PLOT"], "{}.pdf".format(img_name)) 259 img_out = os.path.join(DIR["SAVEPLOT"], 260 "{}_{}.pdf".format(img_name, today)) 261 262 plot_save(img_in, img_out, "Conso GENCMIP6 par login") 259 263 260 264 # ... Publish figure on dods ... 261 265 # ------------------------------ 262 266 if args.dods: 263 dods_cp( os.path.join(DIR["PLOT"], img_name))267 dods_cp(img_in) 264 268 265 269 if args.show: -
TOOLS/ConsoGENCMIP6/bin/plot_store.py
r2427 r2428 290 290 # ... Save figure ... 291 291 # ------------------- 292 plot_save(img_name, today, "Occupation GENCMIP6 sur STORE par login") 292 img_in = os.path.join(DIR["PLOT"], "{}.pdf".format(img_name)) 293 img_out = os.path.join(DIR["SAVEPLOT"], 294 "{}_{}.pdf".format(img_name, today)) 295 296 plot_save(img_in, img_out, "Occupation GENCMIP6 sur STORE par login") 293 297 294 298 # ... Publish figure on dods ... 295 299 # ------------------------------ 296 300 if args.dods: 297 dods_cp( os.path.join(DIR["PLOT"], img_name))301 dods_cp(img_in) 298 302 299 303 if args.show:
Note: See TracChangeset
for help on using the changeset viewer.