Changeset 2417 for TOOLS/ConsoGENCMIP6/bin/plot_bilan.py
- Timestamp:
- 02/25/15 15:18:06 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/ConsoGENCMIP6/bin/plot_bilan.py
r2413 r2417 9 9 import os 10 10 import os.path 11 # import glob12 11 import datetime as dt 13 12 import numpy as np … … 273 272 # ... Files and directories ... 274 273 # ----------------------------- 275 file_pattern = "OUT_CONSO_" 276 file_param = get_last_file(DIR["DATA"], file_pattern+"PARAM") 277 file_utheo = get_last_file(DIR["DATA"], file_pattern+"UTHEO") 278 file_bilan = get_last_file(DIR["DATA"], file_pattern+"BILAN") 279 file_login = get_last_file(DIR["DATA"], file_pattern+"LOGIN") 280 file_store = get_last_file(DIR["DATA"], file_pattern+"STORE") 274 file_param = get_last_file(DIR["DATA"], OUT["PARAM"]) 275 file_utheo = get_last_file(DIR["DATA"], OUT["UTHEO"]) 276 file_bilan = get_last_file(DIR["DATA"], OUT["BILAN"]) 281 277 img_name = "bilan.pdf" 282 278 … … 285 281 print(file_utheo) 286 282 print(file_bilan) 287 print(file_login) 288 print(file_store) 283 print(img_name) 289 284 290 285 # .. Get project info .. … … 309 304 # .. Extract data depending on C.L. arguments .. 310 305 # ============================================== 311 # args.range = [312 # string_to_date("2015-01-01"),313 # string_to_date("2015-01-31")314 # ]315 # args.full = True316 306 if args.full: 317 307 selected_items = bilan.get_items_in_full_range(args.inc)
Note: See TracChangeset
for help on using the changeset viewer.