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

read_interpolated_fsgrid_variable() bug fix #246

Merged
merged 3 commits into from
Jun 19, 2024

Conversation

kostahoraites
Copy link
Contributor

fixed small bugs in read_interpolated_fsgrid_variable(). The function was having trouble interpolating masked arrays, or fs grid vector variable data.

… was having trouble interpolating masked arrays, or fs grid vector variable data.
@kostahoraites kostahoraites marked this pull request as ready for review June 18, 2024 06:46
if name[0:3] != 'fg_':
raise ValueError("Interpolation of FsGrid called on non-FsGrid data; exiting.")

if (len(periodic)!=3):
raise ValueError("Periodic must be a list of 3 booleans.")

\
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Um, what is this? ^^'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like a typo \

@alhom
Copy link
Contributor

alhom commented Jun 19, 2024

Merge conflict remains, otherwise ok.

@kostahoraites
Copy link
Contributor Author

kostahoraites commented Jun 19, 2024

is that because jonas's PR was basically fixing the same line?

--> indeed that seems to be the case. I'll edit to include his solution.

… the dimensionality of vector variable fsgrid data.
@alhom alhom merged commit a184153 into fmihpc:master Jun 19, 2024
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

Successfully merging this pull request may close these issues.

2 participants