-
Notifications
You must be signed in to change notification settings - Fork 12
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
tremblemaps 'lastevent' link breaks when event magnitude changes #31
Comments
Another issue loosely linked to this subject is that when the B3 changes (I guess when an operator creates a new localisation with a different magnitude), the links Thus, when the Here is a real world exemple:
|
The behavior was on purpose to point on the last event processed by the PROC. This is not a bug. But we could add an option like |
Alright then. It only felt more logical to me to link to the latest B3 in date, but if you feel linking to the latest generated B3 makes more sense, that's fine by me. It really depends on scientists' needs. I will rename this issue to focus on the real glitch that is the broken |
Yes I agree with you it is more logical that default behaviour shows last event in date. But the present behaviour has a specific purpose for observatory crisis management: it shows the last processed event by the proc, that means the last validated or modified event by a human operator. During a seismic swarm, it allows to focus on a single event like the main shock with magnitude updates, even if there is many aftershocks producing also B3 reports at the same time. |
Currently, when generating a new B3 report, the tremblemaps PROC systematically recreates the link
OUTG/PROC.MY_TREMBLEMAPS/events
to have it point to the directory of this new B3. This link does therefore not point to the latest B3 in date but to the latest B3 generated by the PROC.In the scenario where the tremblemaps PROC is run after not having operated for a few days/weeks (e.g. due to an overlooked misconfiguration), it generates the missing B3 by going back in time (i.e. from the latest event to the oldest one). In the end, the
lastevent
link is left pointing to the oldest previously missing B3, not to the latest B3 in date.A nice improvement would be to always seek the latest B3 in date when generating the
lastevent
link.The text was updated successfully, but these errors were encountered: