Skip to content

Commit

Permalink
Move wind fields rule next to scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalrussell committed Feb 6, 2024
1 parent ccf2aee commit ee465d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion workflow/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ include: "tropical-cyclone/IBTrACS.smk"
include: "tropical-cyclone/IRIS.smk"
include: "tropical-cyclone/STORM.smk"
include: "tropical-cyclone/join_tracks.smk"
include: "tropical-cyclone/wind_fields.smk"
include: "tropical-cyclone/wind_fields/wind_fields.smk"

include: "transport-flood/network_raster_intersection.smk"
include: "transport-flood/flood_damages.smk"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ rule create_surface_roughness_raster:
output:
surface_roughness = "{OUTPUT_DIR}/power/by_country/{COUNTRY_ISO_A3}/storms/surface_roughness.tiff"
script:
"./wind_fields/surface_roughness.py"
"./surface_roughness.py"

"""
Test with:
Expand All @@ -166,7 +166,7 @@ rule create_downscaling_factors:
downscale_factors="{OUTPUT_DIR}/power/by_country/{COUNTRY_ISO_A3}/storms/downscale_factors.npy",
downscale_factors_plot="{OUTPUT_DIR}/power/by_country/{COUNTRY_ISO_A3}/storms/downscale_factors.png",
script:
"./wind_fields/wind_downscaling_factors.py"
"./wind_downscaling_factors.py"

"""
To test:
Expand Down Expand Up @@ -220,7 +220,7 @@ rule estimate_wind_fields:
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",
script:
"./wind_fields/estimate_wind_fields.py"
"./estimate_wind_fields.py"

"""
To test:
Expand Down Expand Up @@ -251,7 +251,7 @@ rule concat_wind_fields_over_sample:
output:
concat="{OUTPUT_DIR}/power/by_country/{COUNTRY_ISO_A3}/storms/{STORM_SET}/max_wind_field.nc",
script:
"./wind_fields/concat_wind_over_sample.py"
"./concat_wind_over_sample.py"

"""
To test:
Expand Down

0 comments on commit ee465d8

Please sign in to comment.