sdapy.snerun.snelist.load_data¶
- snelist.load_data(objid, datafile='%s_data.clf', reloadclass=False, **kwargs)¶
for each object, load their snobject classes if they’re cached before.
- Parameters
- objidstr
object ID string
- clobberbool
if meta already exists, reload or skip
- datafilestr
cached file name
- verbosebool
show detailed running informations
- reloadclassbool
if
reloadclassTrue, will only include previous data, and reload functions. Otherwise, will reload everything that were cached.
- Returns
- flagbool
if cachefile exists return True, otehriwse False
See also
Examples
>>> from sdapy import snerun >>> a = snerun.snelist() >>> a.load_data('ZTF20aajcdad') True >>> a.data {'ZTF20aajcdad': <sdapy.snerun.snobject object at 0x7fb9eb5d9f28>}