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

migrate source csv files from model-input repo to openquake-input #104

Closed
15 tasks done
wkhchow opened this issue May 25, 2021 · 0 comments · Fixed by #123
Closed
15 tasks done

migrate source csv files from model-input repo to openquake-input #104

wkhchow opened this issue May 25, 2021 · 0 comments · Fixed by #123
Assignees
Labels
Milestone

Comments

@wkhchow
Copy link
Contributor

wkhchow commented May 25, 2021

migrate source csv files from model-input repo to openquake-input

add_data.sh

  • Changes between lines 169 - 239 ?
  • All source inputs change from model-inputs to respective openquake-inputs except site_model exposure lines 175 -177

- #Physical Exposure

- #vs30

  • site-vgrid_CA.csv
  • Column change, update copy statement to reflect - sql already updated in model-factory

- #census

  • [ ] census-attributes-2016.csv to census-attributes.csv
  • Filename is the same. No column changes. census-attributes-2016.csv

- #sovi

  • social-vulnerability-census_2021 to social-vulnerability-census.csv

  • No column changes

  • social-vulnerability-index_2021.csv to social-vulnerability-index.csv

  • No column changes

  • [ ] sovi_thresholds_2021.csv to sovi_thresholds.csv

  • Filename is the same. No column changes. sovi_thresholds_2021.csv

- #lut

- #GHSL

  • Filename is the same. No column changes

  • #MH

  • HTi_Sauid_2021.csv to HTi_Sauid.csv

  • No column changes

  • HTi_threshold_2021.csv to HTi_threshold.csv

  • No column changes

  • Hazard_threat_rating_threshold.csv is a new lut - update copy table statements to include. New create tables in model factory. Updated sql indicators in model factory.

  • Create_table_mh_rating_thresholds.sql

  • Add extra run_psql Create_table_mh_rating_thresholds.sql line 234

  • Create_MH_risk_sauid_prioritization_prereq_tables.sql

  • Replaces Create_MH_risk_building_ALL.sql, update line 235

  • Create_MH_risk_sauid_prioritization_Canada.sql

  • Replaces Create_MH_risk_building_ALL.sql, update line 236

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants