8000 GitHub · Where software is built
[go: up one dir, main page]

Skip to content
Cartopy plot not rendering #188
Closed
Closed
@scottyhq

Description

@scottyhq

https://tutorial.xarray.dev/intermediate/hvplot.html#geography

In theory, errors should be caught by CI, but situations come up with caching execution where if the failure is accidentally overlooked, the notebook isn't executed again unless it's content changes...

execute:
execute_notebooks: 'cache'
allow_errors: false

File ~/micromamba/envs/xarray-tutorial/lib/python3.11/site-packages/cartopy/img_transform.py:278, in regrid(array, source_x_coords, source_y_coords, source_proj, target_proj, target_x_points, target_y_points, mask_extrapolated)
    274 else:
    275     # Versions of scipy >= v0.16 added the balanced_tree argument,
    276     # which caused the KDTree to hang with this input.
    277     kdtree = scipy.spatial.cKDTree(xyz, balanced_tree=False)
--> 278     _, indices = kdtree.query(target_xyz, k=1)
    279 mask = indices >= len(xyz)
    280 indices[mask] = 0

File _ckdtree.pyx:795, in scipy.spatial._ckdtree.cKDTree.query()

ValueError: 'x' must be finite, check for nan or inf values

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdependenciesPull requests that update a dependency filevisualization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0