Closed aburrell closed 2 years ago
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.
@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: 1) Review and merge now to get this into v0.0.4. #34 can be handled later. 2) Write unit tests to ensure current output does not change. Rely on reviews to determine if functions are producing correct output. 3) Hand the branch over to someone else.
I should add that the way I'm running the deprecation tests, each function is actually run, so it looks like the coverage is increased. If we take option 1, I should probably update that to avoid confusion in the future.
Realized I could use an empty instrument and scan for expected KeyError to evaluate more quickly.
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 #34.handling downstreamType of change
Please delete options that are not relevant.
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