[x] This PR addresses an already opened issue (for bug fixes / features)
This PR fixes #156
[ ] (If applicable) Documentation has been added / updated (for bug fixes / features)
[x] This PR does not seem to break the templates.
[x] HISTORY.rst has been updated (with summary of main changes)
[x] Link to issue (:issue:number) and pull request (:pull:number) has been added
What kind of change does this PR introduce?
Previously if the dataset had coordinates that were not dimensions (like lat and lon on a rotated grid where the dimensions are rlat and rlon), the unstacking would fail when used with a file. Now, the function distinguished between dimension and other coords. It unstacks and reindexs only on the dimensions and then adds the other coords.
The function is now completely separating treating the case with file and without file. I know this brings a bit of redundancy but I wasn't sure how else to do it.
Does this PR introduce a breaking change?
The normal case with only lat and lon still works.
Pull Request Checklist:
number
) and pull request (:pull:number
) has been addedWhat kind of change does this PR introduce?
Does this PR introduce a breaking change?
The normal case with only lat and lon still works.
Other information: