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

Cross-section issue with crevasses #105

Open
mdtanker opened this issue Oct 26, 2022 · 0 comments
Open

Cross-section issue with crevasses #105

mdtanker opened this issue Oct 26, 2022 · 0 comments

Comments

@mdtanker
Copy link
Owner

The gallery examples for the profile module appear to plot 'icebergs' where there may be basal crevassing. This is likely an issue with fillnans or create_profile's interpolation based on parameter num.

Occurs whether num is set or not.

This is an issue with all methods (shapefile, points, polyline).

Full code that generate the error

profile.plot_profile(

    method='polyline',
    polyline=df,

    # method='points',
    # start=(-331775.988978,-1.230848e+06),
    # stop=(-610303.976951,-7.700480e+05),
    
    # method="shapefile",
    # shapefile=fetch.sample_shp("Roosevelt_Island"),
    
    num=1000,
    reverse=True,
    layers_version='bedmachine',
    data_dict="default",
    subplot_orientation = "vertical",
)

Results with method='shapefile'

image

Results with method='points'

image

Results with method='polyline'

image

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