- Timestamp:
- 03/26/15 13:23:48 (10 years ago)
- Location:
- TOOLS/ConsoGENCMIP6/bin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/ConsoGENCMIP6/bin/gencmip6.py
r2437 r2449 258 258 if __name__ == '__main__': 259 259 pass 260 -
TOOLS/ConsoGENCMIP6/bin/plot_bilan_jobs.py
r2448 r2449 258 258 fontsize="xx-small", 259 259 bbox=dict(boxstyle="round", fc="w", ec="0.5", color="gray",), 260 # xy=(np.nanargmax(consos)+1.2, ymax), 260 261 xy=(np.nanargmax(consos)+1.2, ymax*0.9), 261 262 textcoords="axes fraction", -
TOOLS/ConsoGENCMIP6/bin/plot_jobs.py
r2448 r2449 199 199 color="firebrick", antialiased=True, 200 200 label="jobs pending") 201 # ax.step(xcoord, run_jobs, where="mid", linewidth=1, color="black", label="jobs running") 202 # ax.step(xcoord, pen_jobs+run_jobs, where="mid", linewidth=1, color="black", label="jobs running") 201 203 202 204 … … 314 316 img_name = "jobs" 315 317 today = os.path.basename(file_param).strip(OUT["PARAM"]) 318 weeknum = string_to_date(today, fmt="%Y%m%d").isocalendar()[1] 316 319 317 320 if args.verbose: … … 420 423 img_in = os.path.join(DIR["PLOT"], "{}.pdf".format(img_name)) 421 424 img_out = os.path.join(DIR["SAVEPLOT"], 422 "{}_ {}.pdf".format(img_name, today))425 "{}_w{:02d}.pdf".format(img_name, weeknum)) 423 426 424 427 plot_save(img_in, img_out, title) … … 433 436 434 437 exit(0) 435
Note: See TracChangeset
for help on using the changeset viewer.