Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating the fiat_integrator branch with the latest changes from review/fiat_and_vulnerability #96

Merged
merged 26 commits into from
Jun 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
6285c07
Merge pull request #93 from Deltares/fiat_integrator
frederique-hub Jun 6, 2023
ad74db2
Added NSI_attributes_to_FIAT.json
frederique-hub Jun 6, 2023
6afcab3
Added national_structure_inventory.py script to download the NSI data…
frederique-hub Jun 6, 2023
78f6f20
Deleted the vulnerability_test_file_output.csv (test output)
frederique-hub Jun 6, 2023
4973b11
Implemented NSI API in ExposureVector workflow
frederique-hub Jun 6, 2023
3088a8a
Textual corrections
frederique-hub Jun 6, 2023
997977f
Merge branch 'review/fiat_and_vulnerability' of https://github.com/De…
frederique-hub Jun 6, 2023
9ea9fe8
Moved NSI_attributes_to_FIAT.json
frederique-hub Jun 7, 2023
307027d
Moved and renamed AllDDF.xlsx to AllDDF_HAZUS.xlsx
frederique-hub Jun 7, 2023
251cb7e
Moved AllDDF_HAZUS.xlsx to the flooding folder
frederique-hub Jun 7, 2023
946babf
Added the Hazus structure potential damage values and percentages to …
frederique-hub Jun 7, 2023
eb2110b
Removed unnecessary damage function CSVs and renames the JRC damage f…
frederique-hub Jun 7, 2023
e1e6d20
Added the census_vulnerability_data_codebook.csv
frederique-hub Jun 7, 2023
0439659
Added the data catalog with US data included
frederique-hub Jun 7, 2023
cb92aa4
Added national_structure_inventory.rst to explain that data source
frederique-hub Jun 7, 2023
04d29c0
Update docs/data/national_structure_inventory.rst
frederique-hub Jun 7, 2023
521af13
Fixed typo
frederique-hub Jun 7, 2023
bb2e191
Update hydromt_fiat/data/hydromt_fiat_catalog_USA.yml
frederique-hub Jun 7, 2023
d3c4b3c
typo fix
frederique-hub Jun 7, 2023
9d1f6b1
Full test from random location in the US to a FIAT model (vulnerabili…
frederique-hub Jun 7, 2023
32a36f5
Update setting fiat config file
frederique-hub Jun 7, 2023
366bd43
Moved national_structure_inventory.py to data_apis folder
frederique-hub Jun 8, 2023
99a1584
Updated pyproject.toml with osmnx
frederique-hub Jun 8, 2023
5fd495f
Work in progress - adding OSM data and other functions to build up an…
frederique-hub Jun 8, 2023
ee484e4
Added open_street_maps.py
frederique-hub Jun 9, 2023
01c11d5
Implemented the assignment of extraction method per vulnerability curve.
frederique-hub Jun 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,4 @@ venv.bak/
# dask
/local_test_database

/examples/data/miami_dade_landuse.gpkg
31 changes: 31 additions & 0 deletions docs/data/national_structure_inventory.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
National Structure Inventory (USA)
==================================

For projects in the United States, users of **HydroMT-FIAT** can directly and easily make use
of the `National Structure Inventory <https://www.hec.usace.army.mil/confluence/nsi>` (NSI). The
user can access the data through providing 'NSI' in the configuration file as such::

[setup_exposure_vector]
asset_locations = NSI
occupancy_type = NSI
max_potential_damage = NSI

The following attributes for Delft-FIAT (left-hand side) will be filled with data from the
corresponding NSI fields (right-hand side).

"Object ID": "fd_id",
"Object Name": "fd_id",
"Primary Object Type": "st_damcat",
"Secondary Object Type": "occtype",
"Max Potential Damage: Structure": "val_struct",
"Max Potential Damage: Content": "val_cont",
"Ground Elevation": "ground_el",
"X Coordinate": "x",
"Y Coordinate": "y",
"Aggregation Label: Census Block": "cbfips"

HydroMT-FIAT obtains the NSI data of the area of interest through the `NSI API
<https://www.hec.usace.army.mil/confluence/nsi/technicalreferences/latest/api-reference-guide>`.

For more information about this data we refer to their online `Technical Documentation
<https://www.hec.usace.army.mil/confluence/nsi/technicalreferences/latest/technical-documentation>`.
12 changes: 12 additions & 0 deletions hydromt_fiat/data/attribute_linking/NSI_attributes_to_FIAT.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"Object ID": "fd_id",
"Object Name": "fd_id",
"Primary Object Type": "st_damcat",
"Secondary Object Type": "occtype",
"Max Potential Damage: Structure": "val_struct",
"Max Potential Damage: Content": "val_cont",
"Ground Elevation": "ground_elv",
"X Coordinate": "x",
"Y Coordinate": "y",
"Aggregation Label: Census Block": "cbfips"
}
Loading