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)
- OasisDataManager Refactor
- Platform API needs to check RUN_MODE to detect workflow
- Footprint_set option not working with parquet format
- Update docs/financial_terms_supported
- RI Scope file filters HOT 4
- Occurrence file not found when requesting output from ktools component aalcalcmeanonly
- Replace `complex_lookup_config` with `analysis_settings` in Keys server
- Pandas 2.2.0 and up generates inconsistent results
- loss output at intermediate inuring priorities - new features HOT 2
- number_of_samples = 0 not working in oasislmf
- Running package with debug logging causes workers to stall
- Remove or enable to change the limit of output summaries(currently set to 9)
- Add post input-gen hook and pre exec hook
- Correlation group fields are not generated correctly for disaggregated risks HOT 1
- Add reinsurance output options to UI
- Move disaggregate flag from oasislmf.json file to model_settings/analysis_settings
- When LayerParticipation is not present, gross losses are not produced HOT 1
- OASISLMF installation issue
- Add a guard which 'fast fails' runs using more than 9 summary groups + summarycalc
- acc_idx read as category type from input/accounts.csv
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.