Coder Social home page Coder Social logo

User Story: Plot hazard maps about oq-engine HOT 5 CLOSED

gem avatar gem commented on September 20, 2024
User Story: Plot hazard maps

from oq-engine.

Comments (5)

monellid avatar monellid commented on September 20, 2024

Regarding the absolute color scaling, I would not use the range of IML values used for calculation. This range is used for hazard curve calculations and can be much larger than the range of values in the hazard map, so the resulting map would be very poorly depicted. I would rather define another key in the config file where the user specifies the range of values he wants to consider for plotting hazard map (min and max and then assume a linear scale)

from oq-engine.

larsbutler avatar larsbutler commented on September 20, 2024

Okay, we can add some new parameters to the job config to define the hazard map IML range (maybe something like HAZARD_MAP_IML_MIN and HAZARD_MAP_IML_MAX).

What restrictions should we place on these values? I imagine we need to limit the range somehow, based on the 'master' list of IMLs.

from oq-engine.

monellid avatar monellid commented on September 20, 2024

I think that the only limit is that values must be positive. I do not see specific reasons to introduce constrains from the 'master' IMLs. Even if the user choses a maximum value greater than the max value in the 'master' IMLs, this does not cause any particular problem. (The user may want to use a specific max value to compare against another map for instance, and this can be greater than the max value in the IMLs)

from oq-engine.

larsbutler avatar larsbutler commented on September 20, 2024

Okay, I revised the description of color scaling and added notes about the definition of hazard map min/max IML values.

from oq-engine.

larsbutler avatar larsbutler commented on September 20, 2024

This story is implemented and has been merged to master. Closing.

from oq-engine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.