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

def _set_angrot_attributes(extent, xorigin, yorigin, angrot, attrs): #111

Closed
bdestombe opened this issue Oct 28, 2022 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@bdestombe
Copy link
Collaborator

def _set_angrot_attributes(extent, xorigin, yorigin, angrot, attrs): in resample.py requires extent to be a list and a tuple is not supported, as a tuple is immutable. modelgrid reutrns the extent as tuple.

@dbrakenhoff dbrakenhoff added the bug Something isn't working label Oct 28, 2022
@dbrakenhoff dbrakenhoff added this to the Release v0.4.0 milestone Oct 28, 2022
rubencalje added a commit that referenced this issue Nov 1, 2022
@rubencalje
Copy link
Collaborator

Issue is fixed by adding the line
extent = list(extent)

at the start of _set_angrot_attributes()

@rubencalje
Copy link
Collaborator

Fixed in PR #115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants