Skip to content

Commit 73a3708

Browse files
committed
run and compile person days
1 parent af20a3f commit 73a3708

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/climate_data/special/compile_person_days.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def compile_person_days_main(
8383
path = (
8484
ca_data.root
8585
/ "erf-scratch"
86-
/ "compiled-person_days"
86+
/ "compiled-person-days"
8787
/ subset_hierarchy
8888
/ f"{cmip6_experiment}_{gcm_member}.parquet"
8989
)
@@ -155,6 +155,7 @@ def compile_person_days(
155155
max_attempts=3,
156156
)
157157

158+
# results_version = "2026_01_12"
158159
# draw_map = {}
159160
# for d in range(100):
160161
# draw = f"{d:0>3}"
@@ -164,8 +165,8 @@ def compile_person_days(
164165
# for hierarchy in cdc.HIERARCHY_MAP[HIERARCHY]:
165166
# for scenario in cmip6_experiment:
166167
# for draw, gcm_variant in draw_map.items():
167-
# raw_path = ca_data.root / "erf-scratch" / "compiled-person_days" / hierarchy / f"{scenario}_{gcm_variant}.parquet"
168-
# out_root = ca_data.results_root("2025_03_20") / hierarchy / f"temperature_person_days_{scenario}"
168+
# raw_path = ca_data.root / "erf-scratch" / "compiled-person-days" / hierarchy / f"{scenario}_{gcm_variant}.parquet"
169+
# out_root = ca_data.results_root(results_version) / hierarchy / f"temperature_person_days_{scenario}"
169170
# mkdir(out_root, parents=True, exist_ok=True)
170171
# out_path = out_root / f"{draw}.parquet"
171172
# out_path.symlink_to(raw_path)

src/climate_data/special/temperature_person_days.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def temperature_person_days(
164164
block_keys = modeling_frame["block_key"].unique().tolist()
165165
block_keys = clio.convert_choice(block_key, block_keys)
166166

167-
gcm_members = cd_data.list_gcm_members()
167+
gcm_members = cd_data.list_gcm_members("ssp126", "mean_temperature")
168168

169169
jobs = []
170170
possible_jobs = list(itertools.product(block_keys, gcm_members, cmip6_experiment))

0 commit comments

Comments
 (0)