Skip to content

CFDecoder: default to dataset coords if not found in given coords#19

Merged
Chilipp merged 3 commits intopsyplot:masterfrom
Chilipp:master
Apr 8, 2020
Merged

CFDecoder: default to dataset coords if not found in given coords#19
Chilipp merged 3 commits intopsyplot:masterfrom
Chilipp:master

Conversation

@Chilipp
Copy link
Member

@Chilipp Chilipp commented Apr 8, 2020

This PR contains a small fix for the CFDecoder.get_variable_by_axis method. decoder.get_variable_by_axis(arr, coords) will now fall back to ds.coords if the variable mentioned in the coordinate attribute cannot be found in the given coords.

  • Tests added (for all bug fixes or enhancements)
  • Tests passed (for all non-documentation changes)
  • Fully documented, including CHANGELOG.rst for all changes

@Chilipp Chilipp merged commit 6acc6f2 into psyplot:master Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant