Skip to content

Commit 616850b

Browse files
docstrings for nchashes
1 parent 2d4ef57 commit 616850b

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

cdippy/nchashes.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,12 @@ class NcHashes:
1010
hashes_url = "http://cdip.ucsd.edu/data_access/metadata/wavecdf_by_datemod.txt"
1111
new_hashes = {}
1212

13-
def __init__(self, hash_file_location=""):
14-
self.hash_pkl = hash_file_location + "/HASH.pkl"
13+
def __init__(self):
14+
"""
15+
Args:
16+
hash_file_location (str, optional): A path to the location to store the local copy of HASH.pkl. Defaults to the current directory.
17+
"""
18+
self.load_hash_table()
1519

1620
def load_hash_table(self):
1721
"""

0 commit comments

Comments
 (0)