Code Monkey home page Code Monkey logo

Comments (8)

MarioLocati avatar MarioLocati commented on August 25, 2024

Could you please explain why is not possible to solve your problem by forcing a maximum magnitude of 1 and leave unchecked the minimum magnitude? (see picture)

As far as I understand, if you leave out the "minmag" parameter the FDSN-event service should provide you all the events below magnitude 1, without applying any threshold to lower magnitude events. In this way, even events having negative magnitudes should be preserved in the output, isn't that the case?

I might missing some information here, could you please elaborate a bit more?

image

from qquake.

KDFischer avatar KDFischer commented on August 25, 2024

Hi Mario,
thank you for your quick answer. If I do not check 'Min' in the Magnitude field I do indeed get all events smaller than the max magnitude. In my case the very small magnitudes are not very well constrained. Therefore I wanted to set the min magnitude to e.g. 0.5 which did not work. The same is true for the max magnitude which can not be set below 1.0.

As a work-around I could filter the events within QGIS, but the query without a min magnitude already returns a large list and the qquake is issuing a warning (but is working as expected).

Cheers,
Kasper

from qquake.

MarioLocati avatar MarioLocati commented on August 25, 2024

So, your suggestion is to lower the minimum magnitude to a negative number?
I am not used to negative magnitude events, which could be the meaningful lowest value we should put in QQuake?
Fixing the lowest possible magnitude to -1 would be correct in your experience?

from qquake.

KDFischer avatar KDFischer commented on August 25, 2024

From a mathematical and geophysical point of view there is no minimum magnitude. I looked at the code of qquake and tried to fix it my self. From the description of the QdoubleSpinBox it seems not possible not to limit the minimum value to enter. Therefore I search in seismological research papers to find a lower limit. Within the JAGUARS project (https://www.gfz-potsdam.de/en/section/geomechanics-and-rheology/projects/microseismicity-and-acoustic-emission-in-deep-gold-mine-in-south-africa-jaguars/) events of magnitude -5 could be observed in deep gold mines. I also notice that some people are using -9 as a magnitude when it is not determined. So maybe the limit could be at -8 ?

I can create a pull request or send a patch if you like.

from qquake.

MarioLocati avatar MarioLocati commented on August 25, 2024

No need to send a patch.
Prior to adopt this solution, let me investigate a bit more the matter with other colleagues in my organization, OK?

from qquake.

KDFischer avatar KDFischer commented on August 25, 2024

No problem. I have forked the code and fixed it locally.

from qquake.

MarioLocati avatar MarioLocati commented on August 25, 2024

I have introduced the filtering for negative magnitudes in the main branch, see 29a6d76
Can we consider this issue closed?

from qquake.

KDFischer avatar KDFischer commented on August 25, 2024

Thank you very much. This solves the issue.

from qquake.

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.