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

Running PiWind via MDK #21

Closed
sr-murthy opened this issue Oct 31, 2018 · 4 comments
Closed

Running PiWind via MDK #21

sr-murthy opened this issue Oct 31, 2018 · 4 comments

Comments

@sr-murthy
Copy link
Contributor

Continuation of OasisLMF/OasisLMF#94

@sr-murthy
Copy link
Contributor Author

@rkbanagar you asked

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?

Firstly, the keys data, including the peril area and vuln. data, and the model data, are all tied to the PiWind model, which is based on the town of Melton Mowbray (52.7661°N, 0.8860°W). The peril areas dict file defines 100 areas centred around the town

https://github.com/OasisLMF/OasisPiWind/blob/master/keys_data/PiWind/area_peril_dict2.csv. The PiWind lookup is a built-in lookup provided by the MDK package, and is controlled via the lookup config. file (lookup.json).

We cannot change these areas without changing the model. What you can do instead is to fork the PiWind repository, and make your changes to the peril areas dict file, but then that would require you to generate a new Rtree file index for the peril areas, and also other changes to the model data and other assets.

@sr-murthy
Copy link
Contributor Author

The "global boundary" in this context refers to the boundary of the convex hull of all the peril areas defined in the PiWind model. These areas are centred around (52.7661°N, 0.8860°W). It is tied to the model, so it can't really be changed.

@sr-murthy
Copy link
Contributor Author

If you have your own model you want to run via Oasis then you can do that first by creating your own model repository. Please contact support@oasislmf.org.

@rkbanagar
Copy link

rkbanagar commented Oct 31, 2018 via email

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

No branches or pull requests

2 participants