Skip to content

Commit

Permalink
Merge pull request #9 from gidden/md5
Browse files Browse the repository at this point in the history
add script to make md5 sums and md5s
  • Loading branch information
shoyer authored May 3, 2017
2 parents 26d94df + aa83198 commit 3c5c097
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions air_temperature.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
de5b9d45db48cf6b7034de1a4a6d6c98
17 changes: 17 additions & 0 deletions make_check_sums.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env python

import glob

from xarray.tutorial import file_md5_checksum


def main():
files = glob.glob('*.nc')
for ncf in files:
prefix = ncf.split('.')[0]
outf = '{}.md5'.format(prefix)
with open(outf, 'w') as f:
f.write(file_md5_checksum(ncf))

if __name__ == '__main__':
main()
1 change: 1 addition & 0 deletions rasm.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
12abf748b48e2ca22ca2d47d363d80c3
1 change: 1 addition & 0 deletions tiny.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1f0a4b6f768d49c226cfc2a8d0bbb8e3

0 comments on commit 3c5c097

Please sign in to comment.