-
Notifications
You must be signed in to change notification settings - Fork 7
Omni hro reorg #122
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
Omni hro reorg #122
Conversation
Moved the OMNI HRO local functions to a separate instrument module. Also fixed a bug in the clean routine, which now allows for array-like inputs.
Updated the changelog with a summary of the commits.
Fixed imports and cleaned up PEP8 violations.
Thinking about development priorities, I'd prefer to pull in the deprecations for the v0.0.4 release and push the tests out to v0.1.0. |
def deprecated(func): | ||
"""Warn users that function has moved locations. | ||
Decorator function for deprecation warnings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎵 Soon may a decorator come 🎵
🎶 To deprecate functions that shouldn't be run 🎶
🎵 And when the testing is done 🎵
🎶 We'll take our leave and go 🎶
@aburrell, I've taken this about as far as I can for now. I don't feel comfortable writing the unit tests for the other omni functions because I don't know how to check if the current algorithms are correct. I see three possible routes forward:
|
Fixed the bug that only allowed OMNI downloads for the first of the month.
Description
Moves the custom OMNI routines to an instrument module, in accordance with newer pysat style. Also fixes (temporary?) bug in the clean routine when dealing with array-like metadata.
This is a draft because this needs more work that I don't have time to do:
Would also be a good branch to tackle TST: specialized OMNI HRO routines need testing #34.handling downstreamType of change
Please delete options that are not relevant.
to not work as expected)
How Has This Been Tested?
Updated unit tests, using OMNI locally.
Test Configuration
use_header
branch of pysat.Checklist:
develop
(notmain
) branchCHANGELOG.md
, summarizing the changes