While downloading the CCSHS dataset, I encountered a "file checksum mismatch" issue for quite a few files. Precisely, there were 71 files failing due to this issue. Please check below:
File checksum mismatch, expected: 9069450a1764a63bd61175b2d8c77158
File checksum mismatch, expected: 5eaa106152f6a511ebdef66b5fa95956
File checksum mismatch, expected: ff30c767eefe00cb9ddbc56d4234f4e3
and all the edfs after "ccshs-trec-1800798.edf"
I checked the forum and unfortunately could not find any prior discussions related to this particular issue, hence creating a new topic. I suspect this could be due to some version incompatibility between ruby and NSRR gem. Could you please confirm whether that is the case? Also, any help regarding resolving this problem would be highly appreciated. Please find the authorisation and version details below:
Data authorised to Philip Terrill (who is my principal PhD supervisor at the University of Queensland, Australia.
Ruby version: ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x64-mingw32]
NSRR gem version: Nsrr 8.0.0
I attempted a fresh run of nsrr download ccshs using NSRR gem 8.0.0 and it completed without any errors both times. I had success with both Ruby 2.7 and 3.02p107.
The tool is designed with catching incomplete/interrupted downloads in mind. Did you get these failures on your first run? Perhaps the files downloaded incompletely, the tool checked the checksums, and found the mismatch. Ideally you could then re-run the same command again and it would fix/re-download any files where the checksums mismatch. All other files will get skipped quickly and be reported as "identical" if the checksums match.