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

strang plots #233

Open
oraibalmegdadi opened this issue Nov 7, 2023 · 0 comments
Open

strang plots #233

oraibalmegdadi opened this issue Nov 7, 2023 · 0 comments

Comments

@oraibalmegdadi
Copy link

oraibalmegdadi commented Nov 7, 2023

Hi,
I following the tutolrail from here (https://www.esipfed.org/merge/community-fellow-blog/pysheds-a-fast-open-source-digital-elevation-model-processing-library).
I am following the exact code, I only added this code to crop the dem file:

xmin = -8.98468252990038
ymin = 41.074313083534335
xmax = -6.902773350212881
ymax = 42.304872816149896
with rasterio.open(DEMfile_path) as src:
    window = src.window(xmin, ymin, xmax, ymax)
    dem_cropped = src.read(1, window=window)

I am using this dem : https://drive.google.com/file/d/1DywF3erKEUvaAH39lH1haXlWfUDaL3fr/view?usp=sharing

I get this dem
image
Then I have these strange plots for the flow direction,
image

image

Is there an explanination for these plots?
Thanx
Oraib

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