:mod:`store` ============ .. py:module:: store Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: store.KM3Store .. py:class:: KM3Store(localfolder='.openkm3/') Class to interface to the KM3NeT Open Data Center .. !! processed by numpydoc !! .. method:: _load_catalog(self) loading local index by reading from API endpoints .. !! processed by numpydoc !! .. method:: update_catalog(self) Update cached info on data center entries from server. .. !! processed by numpydoc !! .. method:: _get_endpoint_info(self, endpoint_url) get relevant info for catalog from api endpoint on server. .. !! processed by numpydoc !! .. method:: _get_catalogentry_by_kid(self, kid, ischild=False) finding entry in catalog by kid. If 'ischild' is True, the kid is matched to the entry 'parentResource'. .. !! processed by numpydoc !! .. method:: list(self, identifier='') Print info on directory or object .. !! processed by numpydoc !! .. method:: _request(self, address, download=False) Gets response from URL as json object. .. !! processed by numpydoc !! .. method:: _load_localfile(self, filename) Loading data from cache if already downloaded before. .. !! processed by numpydoc !! .. method:: get(self, identifier, loadoption=None, reloadit=False) Get data from server or local cache with identifier Loadoptions depend on the datatypes. .. !! processed by numpydoc !! .. method:: get_catalog(self) returns the full catalog as dictionary. .. !! processed by numpydoc !! .. method:: _flatten_catalogentry(listdict) :staticmethod: Helper function to format catalog entry for printing .. !! processed by numpydoc !!