Major update of a script building ACE html, remove alerts #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a major update to
create_ace_html_page.py. It should be considered jointly with PR #3 which contains a newradalertspackage for radiation alerts.This code reads MTA's 12h ACE archive, extracts the last 2 hours of data, computes stats such as average, min and fluence in each channel, and creates MTA's ACE page at
https://cxc.cfa.harvard.edu/mta/RADIATION_new/ACE/ace.html
The result of the code updated in this PR can be viewed at
https://cxc.cfa.harvard.edu/mta/RADIATION_new/ACE/test_dir/ACE/ace.html
Main updates:
This code can be further improved by reading the data from the ACE.h5 archive generated by Replan Central. This would allow to discontinue MTA's ACE jobs that fetch and store the same ACE data as Replan Central (providing other groups do not rely on ACE files generated by MTA).
Note that ACE P3 fluence alert is still running as part of older bash/awk space weather scripts (which we want to discontinue). P5/P6 alert is not actionable, it only means that the P5 and/or P6 data are not valid and will not be implemented in
radalerts.