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

UnicodeDecodeError & Range-doppler #227

Open
Jeon-seo-young opened this issue Oct 7, 2022 · 1 comment
Open

UnicodeDecodeError & Range-doppler #227

Jeon-seo-young opened this issue Oct 7, 2022 · 1 comment
Labels

Comments

@Jeon-seo-young
Copy link

Hello. I am using pyroSAR to process images. However, I keep getting 2 errors in this runcell.

  1. About the error message <UnicodeDecodeError: 'utf-8' code can't code byte 0xb4 in position 620: invalid start byte>
    When I run this, the file is generated and then the error <UnicodeDecodeError: 'utf-8' code can't code byte 0xb4 in position 620: invalid start byte> appears. Can you tell me what I should do in this case?
  • In
    image

  • Out
    image

  • folder & file
    image

  1. Range-doppler

I've understood that <geocoding_type='Range-Doppler'> corrects the orientation of the image. However, with the error message 1), the resulting image's direction does not change in SNAP. Can you tell me how I change direction? (The image below should be rotated 90 degrees to the left.)

  • showing in SNAP
    image
@johntruckenbrodt
Copy link
Owner

HI @Jeon-seo-young. It looks like utf-8 is not suited for decoding the binary error message. Perhaps your file/folder names are causing the trouble. Is this Korean? It could be that utf-8 needs to be replaced with something else. What do you get when doing something like this with your alphabet:

'üäöß'.encode().decode()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants