You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 10, 2023. It is now read-only.
Some times ago, the removeObject method have been implemented in scamp to allow the removal of amplitude in its cache. Could you implement it for the scmag module as well?
I have the same issue that the scamp module. I have a custom Python script which remove Magnitude, StationMagnitude and StationMagnitudeContribution but I think the cache keep them in memory. It would be great if the magnitudes could be removed!
The text was updated successfully, but these errors were encountered:
Hold on a second ... where do you send the messages to? scmag does not listen for MAGNITUDE group and would not get the messages anyway. What do you expect from scmag once it receives the information about removed magnitudes? To recompute them?
The idea is to remove amplitudes and magnitudes and let scamp and scmag recompute the new objects. The message is sent to the LOCATION group.
However, if scamp isn't enable or doesn't calculate a new amplitude, the old cached magnitude will still exist in scmag. I think magnitudes should be removed from the cache in the removeObject method so that the old magnitudes are not reused without amplitudes.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Some times ago, the
removeObject
method have been implemented inscamp
to allow the removal of amplitude in its cache. Could you implement it for thescmag
module as well?I have the same issue that the
scamp
module. I have a custom Python script which remove Magnitude, StationMagnitude and StationMagnitudeContribution but I think the cache keep them in memory. It would be great if the magnitudes could be removed!The text was updated successfully, but these errors were encountered: