-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from Deltares/fiat_compatibility
Fiat raster compatibility
- Loading branch information
Showing
56 changed files
with
12,563 additions
and
12,267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,51 @@ | ||
[global] | ||
artifact_data = True # use latest artifact data | ||
artifact_data = True # use latest artifact data | ||
|
||
[setup_config] | ||
case = baseline # name of case | ||
country = Italy # Country name or ISO3 tag, see hydromt_fiat/data/global_configuration.xlsx for options | ||
hazard_type = flooding # for now only 'flooding' | ||
unit = m # 'm' or 'ft' | ||
case = baseline # name of case | ||
strategy = base # name of strategy (optional) | ||
scenario = base # name of scenario (optional) | ||
year = 2021 # case year (optional) | ||
country = Italy # country name or ISO3 tag, see hydromt_fiat/data/global_configuration.xlsx for options | ||
hazard_type = flooding # description of the hazard type (for now only 'flooding') | ||
hazard_unit = m # unit of the hazard map values ('m' or 'ft') | ||
output_unit = USD # unit in which the damage (and risk) numbers are expressed | ||
category_output = True # indicator that specifies whether the results per category should be included in the output (default is True) | ||
total_output = True # indicator that specifies whether the total results should be included in the output (default is True) | ||
risk_output = True # indicator that specifies whether a risk calculation has to be conducted (default is True) | ||
map_output = True # indicator that specifies whether the result maps should be included in the output (default is True) | ||
|
||
[setup_hazard1] | ||
map_fn = data/flood_hand/hand_050cm_rp02.tif # path to hazard file | ||
return_period = 2 # hazard return period (optional) | ||
map_fn = data/flood_hand/hand_050cm_rp02.tif # absolute or relative (with respect to the configuration.ini) path to the hazard file | ||
map_type = water_depth # description of the hazard file type | ||
rp = 2 # hazard return period in years, required for a risk calculation (optional) | ||
crs = 3452 # coordinate reference system of the hazard file (optional) | ||
nodata = -9999 # value that is assigned as nodata (optional) | ||
var = None # hazard variable name in NetCDF input files (optional) | ||
chunks = 100 # chunk sizes along each dimension used to load the hazard file into a dask array (default is 'auto') (optional) | ||
|
||
[setup_hazard2] | ||
map_fn = data/flood_hand/hand_150cm_rp50.tif # path to second hazard file ... | ||
return_period = 50 | ||
map_fn = data/flood_hand/hand_150cm_rp50.tif # absolute or relative (with respect to the configuration.ini) path to the hazard file | ||
map_type = water_depth # description of the hazard file type | ||
rp = 50 # hazard return period in years, required for a risk calculation (optional) | ||
crs = 3452 # coordinate reference system of the hazard file (optional) | ||
nodata = -9999 # value that is assigned as nodata (optional) | ||
var = None # hazard variable name in NetCDF input files (optional) | ||
chunks = 100 # chunk sizes along each dimension used to load the hazard file into a dask array (default is 'auto') (optional) | ||
|
||
[setup_exposure_buildings] | ||
bld_fn = guf_bld_2012 # building footpring map {'guf_bld_2012', 'wsf_bld_2015'} | ||
pop_fn = ghs_pop_2015_54009 # population count map {'ghs_pop_2015_54009', 'ghs_pop_2015'} | ||
[setup_buildings_value] | ||
bld_fn = guf_bld_2012 # name tag of or absolute or relative (with respect to the configuration file) path to the building footprint file (default is 'wsf_bld_2015') | ||
pop_fn = ghs_pop_2015_54009 # name tag of or absolute or relative (with respect to the configuration file) path to the population count file (default is 'ghs_pop_2015') | ||
chunks = 100 # chunk sizes along each dimension used to load the building footprint and population count files into a dask arrays (default is 'auto') (optional) | ||
function_fn = None # absolute or relative (with respect to the configuration file or susceptibility_dp) path to the susceptibility file (default is the JCR continental susceptibilty function (https://publications.jrc.ec.europa.eu/repository/handle/JRC105688) related to the country parameter) (optional) | ||
scale_factor = 1 # scaling factor of the exposure values (default is 1) (optional) | ||
weight_factor = 1 # weight factor of the exposure values in the total damage and risk results (default is 1) (optional) | ||
|
||
# Alternatives to conduct a risk calculation (triggered by a multiple hazard input): | ||
# [setup_hazard] | ||
# map_fn = [hazard/RP_2.tif, hazard/RP_100.tif] # TODO: Not properly working yet, input is '[.., ..]' instead of ['..', '..'] | ||
# rp = [2, 100] # TODO: Not properly working yet, input is not parseble. | ||
|
||
# Alternative to derive rp from filename: | ||
# [setup_hazard1] | ||
# map_fn = hazard/RP_*.tif |
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+16.8 KB
(120%)
examples/fiat_flood/exposure/population_buildings_count.tif
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
[setup_config] | ||
case = baseline | ||
strategy = base | ||
scenario = base | ||
year = 2021 | ||
country = ITA | ||
hazard_type = flooding | ||
output_unit = USD | ||
hazard_dp = hazard | ||
exposure_dp = exposure | ||
susceptibility_dp = susceptibility | ||
output_dp = output | ||
category_output = True | ||
total_output = True | ||
risk_output = True | ||
map_output = True | ||
|
||
[setup_hazard1] | ||
usage = True | ||
map_fn = hand_050cm_rp02.tif | ||
map_type = water_depth | ||
rp = 2 | ||
crs = EPSG:4326 | ||
nodata = -9999 | ||
var = None | ||
chunks = 100 | ||
|
||
[setup_hazard2] | ||
usage = True | ||
map_fn = hand_150cm_rp50.tif | ||
map_type = water_depth | ||
rp = 50 | ||
crs = EPSG:4326 | ||
nodata = -9999 | ||
var = None | ||
chunks = 100 | ||
|
||
[setup_exposure1] | ||
usage = True | ||
map_fn = buildings_value.tif | ||
category = buildings_value | ||
subcategory = None | ||
unit = USD | ||
crs = EPSG:4326 | ||
nodata = 0 | ||
chunks = 100 | ||
function_fn = {'water_depth': 'EU000.csv'} | ||
comp_alg = max | ||
scale_factor = 1 | ||
weight_factor = 1 | ||
|
Binary file not shown.
Binary file renamed
BIN
+23.8 KB
examples/fiat_flood/hazard/flooding_rp2.tif → ...les/fiat_flood/hazard/hand_050cm_rp02.tif
Binary file not shown.
Binary file renamed
BIN
+20.1 KB
examples/fiat_flood/hazard/flooding_rp50.tif → ...les/fiat_flood/hazard/hand_150cm_rp50.tif
Binary file not shown.
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
examples/fiat_flood/vulnerability/EU000.csv → examples/fiat_flood/susceptibility/EU000.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Water Depth [m],Factor | ||
0,0 | ||
0.0,0.0 | ||
0.01,0.0049 | ||
0.02,0.0098 | ||
0.03,0.0146 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.