sdapy.snerun.snelist.save_data

snelist.save_data(objid, datafile='%s_data.clf', **kwargs)

for each object, save their snobject classes to local cached files.

Parameters
objidstr

object ID string

clobberbool

if meta already exists, reload or skip

datafilestr

cached file name

verbosebool

show detailed running informations

Returns
flagbool

if saved cache return True, otehrwise False

Examples

>>> from sdapy import snerun
>>> a = snerun.snelist()        
>>> a.save_data('ZTF20aajcdad')
False
>>> a.save_data('ZTF20aajcdad', clobber=True)
saved cache
save: /Users/yash0613/Desktop/haffet_data//cache/ZTF20aajcdad_data.clf
True