Skip to content

SciPy dependency #1697

@dopplershift

Description

@dopplershift

Description

Currently we unconditionally import scipy in two places:

try:
import pykdtree.kdtree
_is_pykdtree = True
except ImportError:
import scipy.spatial
_is_pykdtree = False

(when no pykdtree) and here:

import numpy as np
from scipy.interpolate import griddata

That would contradict where we list scipy as an "optional" dependency. We should either update the docs in INSTALL or handle those imports differently.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions