Skip to content
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

Error when dimension and variable names clash #19

Open
gmacgilchrist opened this issue May 2, 2022 · 0 comments
Open

Error when dimension and variable names clash #19

gmacgilchrist opened this issue May 2, 2022 · 0 comments

Comments

@gmacgilchrist
Copy link

This works well, but I'm getting an error from xarray when I use a static file in which the dimensions (nominal coordinates) are called lon and lat, which creates a clash between dimension and variable names. Things work just fine when I rename the dimensions to xh and yh. Is there something I am doing wrong here (I can't imagine I'm the first to run into this)? If this is indeed a bug, presumably an easy fix to just name lon and lat within cmip_basins to something different, and something that is unlikely to be used for nominal coordinate names.

@gmacgilchrist gmacgilchrist changed the title Nominal coordinate naming issues Error when dimension and variable names clash May 2, 2022
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

No branches or pull requests

1 participant