Conversation
…the web query constructor into a separate script. Cleaned up some unused parts of variometer retrieval script.
… script to process ascii files into GMAG CDFs
…ting scripts. cli versions are still needed, and mastercdfs currently just accept the default fillval and pad values.
…et to nan variant if data is floating type. Ignores differences in cdf info attribute list if they contain the same elements (attribute scope pairs) and are reordered.
Contributor
Author
|
On second thought, I think I still want to add a check in the alternate retrieval script to record if a stations data failed retrieval for a given date. It should have a cli script as well, so that we can use it as a SOC process. So we might want to hold off on the merge until I add these things. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Added a "cdf_updater" script to take a dictionary of update actions and to apply them to a target CDF file. This file could also be a mastercdf file. Also allows user to create new file using an existing mastercdf as a template by applying updates to a copy of the mastercdf template.
Loads contents of existing CDF/mastercdf template into a dictionary structure, applies updates specified by input argument to this CDF dictionary, and then writes new CDF file from the updated CDF dictionary. If target CDF already exists, moves it to temporary processing directory while copy of CDF contents are being updated and while new CDF is being written. Once the updates are complete, "cdf_updater" attempts to validate the update by comparing contents of updated CDF dictionary to a CDF dictionary loaded from the newly written CDF file. If any errors are encountered, or if the new CDF fails the validation check, the script moves the old CDF file from the temporary processing directory back to its original directory, if the old CDF already existed.
The script also attempts to enforce CDF variable data datatypes, default Pad values, and THEMIS standard fill values.
Also added a script to retrieve SNKQ and LRV data from alternate remote sources where they are available at the 1 minute time cadence