Adds two general instrument methods which are frequently repeated:
init, where the initialization routine reads from a standard mission-level module (cnofs, de2, icon)
clean_warn, a custom clean routine that warns users that cleaning is not available
Additionally, suppresses logger messages during package-level imports of constellation objects. This is required to keep the logger from being saturated until this issue is fixed at the pysat-level. Otherwise verifying the logger here is near-impossible.
Type of change
Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
I've decided this pull is large enough for review. Follow-on work to update other instruments documented in #119, including consistency issues that are out of scope here.
Description
Addresses #89, #118
Adds two general instrument methods which are frequently repeated:
init
, where the initialization routine reads from a standard mission-level module (cnofs, de2, icon)clean_warn
, a custom clean routine that warns users that cleaning is not availableAdditionally, suppresses logger messages during package-level imports of constellation objects. This is required to keep the logger from being saturated until this issue is fixed at the pysat-level. Otherwise verifying the logger here is near-impossible.
Type of change
How Has This Been Tested?
acknowledgement string should go to the logger, and ivm.acknowledgements and ivm.references updated accordingly.
Can be repeated for the cnofs, de2, and icon instruments
For cleaning, attempt to load de2 data, look for the warning.
Test Configuration
Checklist:
develop
(notmain
) branchCHANGELOG.md
, summarizing the changes