Ignore:
Timestamp:
03/02/15 18:10:22 (9 years ago)
Author:
labetoulle
Message:
  • Process directory size without unit, => in bytes (from du -h)
  • Typos
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/ConsoGENCMIP6/bin/plot_store.py

    r2427 r2428  
    290290  # ... Save figure ... 
    291291  # ------------------- 
    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") 
    293297 
    294298  # ... Publish figure on dods ... 
    295299  # ------------------------------ 
    296300  if args.dods: 
    297     dods_cp(os.path.join(DIR["PLOT"], img_name)) 
     301    dods_cp(img_in) 
    298302 
    299303  if args.show: 
Note: See TracChangeset for help on using the changeset viewer.