Comments (9)
@rkbanagar during the peril lookup the distance of each location lon./lat. point to the convex hull of all the peril area points is computed, and depending on the value of loc_to_global_areas_boundary_min_distance
(in the lookup configuration file lookup.json
) the peril lookup will pass if the computed distance is <= the min. distance, or fail if otherwise.
You can adjust the value of loc_to_global_areas_boundary_min_distance
in your lookup JSON file and try again.
from oasislmf.
The idea is that the exposure locations shouldn't be too "far" from the region covered by peril area points (which are used for peril component of the lookup). The peril lookup uses an Rtree spatial index representation of the peril areas dict file, which is fixed for the PiWind model and shouldn't really be changed. So you can get it working by modifying the value of loc_to_global_areas_boundary_min_distance
in the lookup JSON.
from oasislmf.
Also, if individual locations are too far away from the peril areas region then this wouldn't stop the lookup from processing keys for all locations. You would just get messages for those locations which indicate that they are too far away too receive an area peril (peril area) ID - the vuln. lookup is separate and wouldn't be affected. The overall lookup status for a location is success
if both the peril and vuln. lookups succeed, or fail
or nomatch
otherwise.
from oasislmf.
@rkbanagar This is not a bug with the MDK package - so I'm closing this.
Please note that PiWind is a windstorm model for a small town in the UK whose minimum bounding rectangle is given by (-0.9176515, 52.7339933, -0.8569864, 52.7946584). If your exposure locations are too far away from the region that this represents, then the peril component of the lookup will fail for those locations. So this is not a package error, but simply a result of your exposure locations being too far away from the geographic region that the model is based on.
from oasislmf.
Your comments are helpful.
Thank you very much.
from oasislmf.
May I ask what you are trying to achieve with Oasis? I'm not sure which organization you are with. Feel free to email if more appropriate ([email protected] ).
from oasislmf.
I am trying to run the Oasis model for a dummy data outside the Pi city domain.
Can I create a areaperil_dict.csv lying outside the Pi city or the global domain is hard coded?
Can the Global boundary(-0.9176515, 52.7339933, -0.8569864, 52.7946584) for PIwind be customized?
from oasislmf.
@rkbanagar I will create a new issue in the PiWind repository as that is the right place for further discussion.
from oasislmf.
@rkbanagar Please follow the discussion here
from oasislmf.
Related Issues (20)
- Incorect TIV in the summary info files
- Apply limits to aggregated exposures HOT 4
- Performace issue in get_exposure_summary
- Converting exposure files to previous OED version before running model
- Change vulnerability weight data type from 32-bit integer to 32-bit float in gulmc
- Flag required in oasislmf 1.28.X to turn off disaggregation. HOT 2
- Missing parquet library dependencies for gulmc in 1.27 HOT 1
- Net RI losses do not use -z in summarycalc HOT 1
- Adding support for ranges of events, not just individual IDs
- Vulnerability File Option
- Allow customising single vulnerability_ids HOT 1
- Support for AccParticipation
- Index file never used when loading vulnerability.bin
- Add an example of the vulnerability file selection to PiWind. HOT 1
- Adjust log levels separately for modules
- Customise specific vulnerabilities (without providing full replacement data)
- FM acceptance tests failing with pandas==2.2.0
- Provide documentation on existing metrics naming convention & keep publishing it ahead of time for the future metrics HOT 3
- fm test: add sc18 and sc19 to insurance_conditions
- fm test: add acc101 - acc104 to insurance_account
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 oasislmf.