Skip to content

Commit

Permalink
remove old rules which no longer work
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-fred committed Jul 24, 2023
1 parent 2992fbf commit 1e95a2f
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 117 deletions.
15 changes: 0 additions & 15 deletions config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,21 +87,6 @@ direct_damages:
# per asset type, per hazard (flood, storm, etc.)
curves_dir: 'bundled_data/damage_curves/'

# Options for exposure tif file generation
exposure_tifs:
# When generating exposure summaries, filter by cells with at >= exposure_threshold m of flooding
exposure_threshold: 0.5
# Used when scaling raster files, values < 1 will downsample
scaling_factor: 0.1
# Used to determine how resampling occurs. Valid values are in rasterio.enums.Resampling.
resampling_mode: 'bilinear'
# Options for plotting
plot:
# Keyword arguments for raster plotting
raster:
# Colour mapping to use for raster data
cmap: 'Reds'


###############################
### STORM / ENERGY WORKFLOW ###
Expand Down
15 changes: 0 additions & 15 deletions tests/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,21 +74,6 @@ direct_damages:
# per asset type, per hazard (flood, storm, etc.)
curves_dir: 'bundled_data/damage_curves/'

# Options for exposure tif file generation
exposure_tifs:
# When generating exposure summaries, filter by cells with at >= exposure_threshold m of flooding
exposure_threshold: 0.5
# Used when scaling raster files, values < 1 will downsample
scaling_factor: 0.1
# Used to determine how resampling occurs. Valid values are in rasterio.enums.Resampling.
resampling_mode: 'bilinear'
# Options for plotting
plot:
# Keyword arguments for raster plotting
raster:
# Colour mapping to use for raster data
cmap: 'Reds'

###############################
### STORM / ENERGY WORKFLOW ###
###############################
Expand Down
18 changes: 0 additions & 18 deletions tests/integration/test_make_exposure_img.py

This file was deleted.

13 changes: 0 additions & 13 deletions tests/integration/test_make_exposure_tif.py

This file was deleted.

2 changes: 0 additions & 2 deletions workflow/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@ include: "rules/analyse/map/outages.smk"
include: "rules/analyse/map/wind_fields.smk"
include: "rules/analyse/plot/target_disruption.smk"
include: "rules/analyse/plot/customers_affected_by_storm.smk"
include: "rules/analyse/plot/make_exposure_tif.smk"
include: "rules/analyse/plot/make_exposure_img.smk"

##### target rules #####

Expand Down
26 changes: 0 additions & 26 deletions workflow/rules/analyse/plot/make_exposure_img.smk

This file was deleted.

28 changes: 0 additions & 28 deletions workflow/rules/analyse/plot/make_exposure_tif.smk

This file was deleted.

0 comments on commit 1e95a2f

Please sign in to comment.