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

Curve to Surface bad wrapping #45

Open
domfournier opened this issue Feb 1, 2021 · 1 comment
Open

Curve to Surface bad wrapping #45

domfournier opened this issue Feb 1, 2021 · 1 comment

Comments

@domfournier
Copy link
Contributor

As flagged by Alexander Costall:

On Line 141 of cdi_surface.py, there’s a flag to sort the data. Can you please add the option to sort by file ID, which would avoid this backtracking problem? I will modify locally but it would be nice to have a widget option in the future.

         # Create a 2D mesh to store the results

        if np.std(xyz[:, 1]) > np.std(xyz[:, 0]):

            order = np.argsort(xyz[:, 1])

        else:

            order = np.argsort(xyz[:, 0])

image

@domfournier
Copy link
Contributor Author

GEOPY-220

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