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

regridder to_dataset method returns undersized n #233

Closed
Huite opened this issue Apr 23, 2024 · 0 comments
Closed

regridder to_dataset method returns undersized n #233

Huite opened this issue Apr 23, 2024 · 0 comments

Comments

@Huite
Copy link
Collaborator

Huite commented Apr 23, 2024

I'm having a target grid with ny * nx values, but the resulting __regrid_n is smaller.

This is likely due to the fact that the scipy matrix is initialized without an explicit shape argument. In that case, it'll infer the shape using the highest index.

@Huite Huite closed this as completed in 31aa2e4 Apr 24, 2024
Huite added a commit that referenced this issue Apr 24, 2024
Set the right shape (n, m) for the regrid matrices. Fixes #233
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