You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -604,6 +607,7 @@ def __init__( # inherits all the stuff from Base
604
607
var_dir=os.path.join(
605
608
data_dir, exp, var, f"{CMIP6_NOM_RES}/{CMIP6_TEMP_RES}/{y}"
606
609
)
610
+
Path(var_dir).mkdir(parents=True, exist_ok=True)
607
611
files=glob.glob(var_dir+f"/*.nc", recursive=True)
608
612
iflen(files) ==0:
609
613
raiseFileNotFoundError(f"No files for climate model {climate_model}, ensemble member {data_dir.split("/")[-1]}, var {var}, year {y}, scenario {exp}. Please check if climate model runs for this exact pairing actually exist.")
@@ -689,8 +693,10 @@ def __init__( # inherits all the stuff from Base
0 commit comments