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

Fixes #654 - changed hazard service earthquake post method to allow soil type dataset #655

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

navarroc
Copy link
Member

I noticed that the Java service endpoint for earthquake allows a user to specify the soil type information, but the python method doesn't have any way to add the dataset id so the service will amplify the hazard based on the soil information at the location specified (otherwise it defaults to whatever soil type is specified when creating the earthquake).

Rather than adding another parameter to the method and then updating the earthquake python model, I added this information to the payload and checked for it in the service to see if it's present. I am not sure if this is the best way to do this so I am open to other options.

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

Successfully merging this pull request may close these issues.

Update hazard service earthquake values method to allow passing soil type dataset
1 participant