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

zonal analysis (03-zonal-analysis.ipynb) -"TypeError: expected string or bytes-like object" #19

Open
Baharehfa opened this issue Apr 12, 2022 · 0 comments

Comments

@Baharehfa
Copy link

  • PyLandStats version: Latest
  • Python version: 3.9.7
  • Operating System: Windows 10 x64

Hi Marti,

Thanks for creating the Pylandstat. I have calculated the metrics and now I am trying to do the zonal analysis (03-zonal-analysis.ipynb) but I received the following error: "TypeError: expected string or bytes-like object". I wanted to make sure the problem is not with my map therefore, I copied and pasted the code with the vaud_g100_clc00_V18_5 and bern_valais_g100_clc00 maps that you used in Pylandstat and realized that we received the same error.

I would appreciate it if you could help to resolve the error.

Best,
Bahareh

2022-04-12 (2)

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