The maven insitu data is having an issue with the general cleaning routine. This is because it includes transformation matrics that have symmetric dimensions, ie ('time', 'compno_3', 'compno_3'). xarray doesn't like this. Since it doesn't make sense to clean the transformation matrices (similar to coords), we place a check in the clean routine to skip over these.
Type of change
Bug fix (non-breaking change which fixes an issue)
How Has This Been Tested?
loading maven insitu data
Test Configuration:
Operating system: Monterrey
Version number: Python 3.9.7
Checklist:
[x] Make sure you are merging into the develop (not main) branch
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
[x] Add a note to CHANGELOG.md, summarizing the changes
[x] Update zenodo.json file for new code contributors
Description
The maven insitu data is having an issue with the general cleaning routine. This is because it includes transformation matrics that have symmetric dimensions, ie ('time', 'compno_3', 'compno_3').
xarray
doesn't like this. Since it doesn't make sense to clean the transformation matrices (similar to coords), we place a check in the clean routine to skip over these.Type of change
How Has This Been Tested?
loading maven insitu data
Test Configuration:
Checklist:
develop
(notmain
) branchCHANGELOG.md
, summarizing the changesIf this is a release PR, replace the first item of the above checklist with the release checklist on the wiki: https://github.com/pysat/pysat/wiki/Checklist-for-Release