Comments (7)
This looks like a great solution. @drotheram - will it introduce problems if the {region} starts containing any particular symbols, like underscores?
from model-factory.
@drotheram we will need to have the region columns added to the agg_losses_stats, and src_loss_table as well.
edit: Its been a while but I just noticed we actually did apply the region to src_loss already in our current workflow!
https://github.com/OpenDRR/model-factory/blob/update_dsra_psra_oct2021/scripts/PSRA_combineSrcLossTable.py
from model-factory.
Also, add sourceTypes.csv to lut schema
from model-factory.
This looks like a great solution. @drotheram - will it introduce problems if the {region} starts containing any particular symbols, like underscores?
No i think that's fine, we should be able to find an expression to parse the string properly
from model-factory.
- write script to parse Economic region from filename and add to region field in: ebR_{region}_agg_curves-stats_b0/r1.csv
- script to parse Economic region from filename and add to region field in: ebR_{region}_agg_losses_stats_b0/r1.csv
- script to parse Economic region from filename and add to region field in: src_loss_table_b0/r1.csv
- add sourceTypes.csv to lut schema
from model-factory.
@drotheram please update status.
from model-factory.
PR 96 will close
from model-factory.
Related Issues (20)
- add new indicators to DSRA HOT 2
- psra - create hexgrid aggregations HOT 1
- Move unused scripts to the attic
- psra revisions (Apr 2022)
- update ebR_{P/T}_agg_losses-(q05,q95,stats) to include region HOT 1
- revise hexbin to hexgrid naming
- add additional psra views to support H7
- eEL_Period to float
- include all CSDs in psra_indicators_csd view
- Add GitHub Super-Linter actions workflow
- Create CI tests workflow for the Python scripts in this repo HOT 1
- update scripts to incorporate 3857 hexgrids
- Allow DSRA_outputs2postgres_lfs.py to work with specified git branch HOT 1
- remove unused dsra_all_scenarios_[aggregation_area] table/views HOT 1
- psra wrong values for sauid/csd indicators after seismic risk index implementation HOT 1
- update decimal places for psra ect_fatality, ectr_fatality HOT 3
- reintegrate *total* values from psra canada source
- update sovi (Dec 2021) HOT 2
- Investigate if we could de-hardcode /usr/src/app
- test shakemap for 1km hexgrid aggregation (DSRA)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from model-factory.