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

Store hazard thresholds in database and add endpoint to return it #211

Open
longshuicy opened this issue Sep 11, 2023 · 0 comments
Open
Labels
3storypoints Between 7-15 hours of work, requiring back and forth communications to clarify a complex problem
Milestone

Comments

@longshuicy
Copy link
Member

right now it's hardcoded. e.g.

  public final static JSONObject HURRICANE_THRESHOLDS = new JSONObject("{ " +
        "'waveHeight': {'value': 0.3, 'unit': 'm'}," +
        "'surgeLevel': {'value': 0.3, 'unit': 'm'}," +
        "'inundationDuration': {'value': 1, 'unit': 'hr'}," +
        "'inundationDepth': {'value': 0.3, 'unit': 'm'}," +
        "'wavePeriod': {'value': 3, 'unit': 's'}," +
        "'waveDirection': {'value': null, 'unit': 'deg'}," +
        "'waterVelocity': {'value': 0.5, 'unit': 'm/s'}," +
        "'windVelocity': {'value': 0.5, 'unit': 'm/s'}," +
        "}");

It would be nice to store in the database and return to the client so local hazards can leverage this to set threshold as well.

@longshuicy longshuicy added the 3storypoints Between 7-15 hours of work, requiring back and forth communications to clarify a complex problem label Sep 11, 2023
@longshuicy longshuicy added this to the 1.21.0 milestone Sep 11, 2023
@navarroc navarroc modified the milestones: 1.21.0, 1.22.0 Oct 17, 2023
@navarroc navarroc modified the milestones: 1.22.0, 1.23.0 Nov 7, 2023
@navarroc navarroc modified the milestones: 1.23.0, 1.24.0 Nov 29, 2023
@navarroc navarroc modified the milestones: 1.24.0, backlog Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3storypoints Between 7-15 hours of work, requiring back and forth communications to clarify a complex problem
Projects
None yet
Development

No branches or pull requests

2 participants