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

[Bug]: swap_lon_axis() renames data variables (non-bounds) #378

Closed
tomvothecoder opened this issue Nov 2, 2022 · 0 comments · Fixed by #343
Closed

[Bug]: swap_lon_axis() renames data variables (non-bounds) #378

tomvothecoder opened this issue Nov 2, 2022 · 0 comments · Fixed by #343
Assignees
Labels
type: bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@tomvothecoder
Copy link
Collaborator

What happened?

  I'm curious if the following behavior is expected / desired or if it is a bug.  If load in a dataset, the data_var I want has the name 'sst'.  But if I swap the longitudes using xcdat, this variable has a new name 'sea_surface_temperature'.   I'm using xcdat v0.3.3. See screen shot below:

Screen Shot 2022-11-01 at 1 14 38 PM

Originally posted by @mzelinka in #296 (comment)

What did you expect to happen?

The data variable name should remain constant.

This was fixed by #343 as a side-effect of refactoring.

Minimal Complete Verifiable Example

No response

Relevant log output

No response

Anything else we need to know?

No response

Environment

v0.3.3 and latest main.

@tomvothecoder tomvothecoder added the type: bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Nov 2, 2022
@tomvothecoder tomvothecoder self-assigned this Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant