From 8e790ba41d2395cf909dde9ee37393108c19b4b2 Mon Sep 17 00:00:00 2001 From: Fred Thomas Date: Tue, 28 Nov 2023 14:50:47 +0000 Subject: [PATCH] Mark per-sample wind fields as temporary We concatenate these across sample for later use. Discard the per-sample files to save disk. --- workflow/rules/exposure/wind_fields.smk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/rules/exposure/wind_fields.smk b/workflow/rules/exposure/wind_fields.smk index f153fce3..dc3f9db7 100644 --- a/workflow/rules/exposure/wind_fields.smk +++ b/workflow/rules/exposure/wind_fields.smk @@ -218,7 +218,7 @@ rule estimate_wind_fields: output: # enable or disable plotting in the config file plot_dir=directory("{OUTPUT_DIR}/power/by_country/{COUNTRY_ISO_A3}/storms/{STORM_SET}/{SAMPLE}/plots/"), - wind_speeds="{OUTPUT_DIR}/power/by_country/{COUNTRY_ISO_A3}/storms/{STORM_SET}/{SAMPLE}/max_wind_field.nc", + wind_speeds=temp("{OUTPUT_DIR}/power/by_country/{COUNTRY_ISO_A3}/storms/{STORM_SET}/{SAMPLE}/max_wind_field.nc"), script: "../../scripts/intersect/estimate_wind_fields.py"