Skip to content

Commit 194e957

Browse files
committed
add comment for when _load_scenario_mc only returns scenario filter, not MC
1 parent 331bfe6 commit 194e957

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pyCIAM/io.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,8 @@ def _load_lslr_for_ciam(
255255
)
256256

257257
wcc = scen_mc_filter.get_level_values("scenario") != ncc_name
258+
259+
# it's possible that the scen_mc_filter only filters scenarios not monte carlos
258260
if mc_dim in scen_mc_filter.names:
259261
scen_mc_ncc = scen_mc_filter[~wcc].droplevel("scenario").values
260262
else:

0 commit comments

Comments
 (0)