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

Dem_mask and dem_align glaciers mask not working. #48

Closed
HBasiuk opened this issue Aug 30, 2022 · 1 comment
Closed

Dem_mask and dem_align glaciers mask not working. #48

HBasiuk opened this issue Aug 30, 2022 · 1 comment

Comments

@HBasiuk
Copy link

HBasiuk commented Aug 30, 2022

Hi there,

I have been trying to use the glacier mask to run the DEM co-registration. When I run it with mask_list in dem_align it doesn't register that I put "glaciers". When I run it in dem_mask I can see that the rgi data set is not being access, I fixed the datadir issue but the MD5 check sum is failing. So the merging and the rest of the get_rgi.sh functionality is lost.

The DM5 checksum that can be downloaded from the GLIMS site is 9ddfdfe9e65c9550bdb8c5c98c4e1aff 00_rgi60.zip

The one being used in the get_rgi.sh code is
Check MD5 sum
#95bd0486301073bbbe26988303fdaa1d 00_rgi60.zip
orig_zip_md5=95bd0486301073bbbe26988303fdaa1d

I get this error when I run get_rgi.sh:
MD5 checksum failed for rgi60.zip:
Expected: 95bd0486301073bbbe26988303fdaa1d
Downloaded: 9ddfdfe9e65c9550bdb8c5c98c4e1aff

Is this what is causing the issues with running the glaciers mask? How do I fix this?

Thanks in advance.

@dshean
Copy link
Owner

dshean commented Sep 8, 2022

Thanks for the report @HBasiuk!
Looks like the RGI60 zip file was updated. I modified the checksum hardcoded in the get_rgi.sh script, and verified that it works.
48c2fd6

@dshean dshean closed this as completed Sep 8, 2022
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

2 participants