dkirkby / bossdata

Tools for accessing SDSS BOSS data
MIT License
1 stars 3 forks source link

Need a way to check sample completeness without downloading anything #10

Closed dkirkby closed 9 years ago

dkirkby commented 9 years ago

Perhaps a --local-inventory option to bossfetch? The idea is to be able to issue a command like this:

% bossfetch --local-inventory sky.dat
1234 of 233807 observations are locally mirrored.
dkirkby commented 9 years ago

There is already a --dry-run option that stops after building the list of remote files, so it would be enough to add a loop over these files that reports the number of files that already have corresponding local mirrors before exiting.

dkirkby commented 9 years ago

Fixed in #37