DOI-USGS / DOI-USGS/scipiper

check hashes after getting

Open
#145 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
10
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Could be useful to have gd_get and s3_get check the hashes of the files after they download them, to ensure a match between what's in the .ind file and what's in the data file. There can be a decoupling if someone else built/edited the file that's online without committing the change to the .ind file or rerunning `gd_confirm_posted`.

Contributor guide

Open the contributing guide

Research direction

Start by locating gd_get and s3_get, then inspect how hashes are recorded in the .ind file and how gd_confirm_posted updates them. Done means downloads compare their file hashes with the recorded values and report a mismatch when they differ.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.