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

llc90_tutorial notebook fails #342

Closed
Mikejmnez opened this issue Apr 10, 2023 · 1 comment
Closed

llc90_tutorial notebook fails #342

Mikejmnez opened this issue Apr 10, 2023 · 1 comment

Comments

@Mikejmnez
Copy link
Collaborator

  • OceanSpy version:
    current

Description

@ThomasHaine noticed that the LLC90_tutorial notebook fails to run complete, with the error during the cutout. The specific error takes place when masking:

error_llc90

The particular error is

KeyError: 'Indexing with a boolean dask array is not allowed'

This is identical to the errors described in issue #332. As described there, this error goes away when computing explicitly the mask. This is, in the example above:

ds[var].where(maskC.compute(), drop=True)

I checked, and after setting maskC.compute() ( also true for other masks ->G, U and V), the notebooks run well.

I have a PR in the works. I just want this to be documented.

@Mikejmnez
Copy link
Collaborator Author

closed by #343

@Mikejmnez Mikejmnez mentioned this issue Apr 12, 2023
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