LSSTApplications  20.0.0
LSSTDataManagementBasePackage
Classes | Functions
lsst.daf.persistence.posixStorage Namespace Reference

Classes

class  PosixStorage
 

Functions

def readConfigStorage (butlerLocation)
 
def writeConfigStorage (butlerLocation, obj)
 
def readFitsStorage (butlerLocation)
 
def writeFitsStorage (butlerLocation, obj)
 
def readParquetStorage (butlerLocation)
 
def writeParquetStorage (butlerLocation, obj)
 
def writeYamlStorage (butlerLocation, obj)
 
def readPickleStorage (butlerLocation)
 
def writePickleStorage (butlerLocation, obj)
 
def readFitsCatalogStorage (butlerLocation)
 
def writeFitsCatalogStorage (butlerLocation, obj)
 
def readMatplotlibStorage (butlerLocation)
 
def writeMatplotlibStorage (butlerLocation, obj)
 
def readPafStorage (butlerLocation)
 
def readYamlStorage (butlerLocation)
 

Function Documentation

◆ readConfigStorage()

def lsst.daf.persistence.posixStorage.readConfigStorage (   butlerLocation)
Read an lsst.pex.config.Config from a butlerLocation.

Parameters
----------
butlerLocation : ButlerLocation
    The location for the object(s) to be read.

Returns
-------
A list of objects as described by the butler location. One item for
each location in butlerLocation.getLocations()

Definition at line 512 of file posixStorage.py.

512 def readConfigStorage(butlerLocation):
513  """Read an lsst.pex.config.Config from a butlerLocation.
514 
515  Parameters
516  ----------
517  butlerLocation : ButlerLocation
518  The location for the object(s) to be read.
519 
520  Returns
521  -------
522  A list of objects as described by the butler location. One item for
523  each location in butlerLocation.getLocations()
524  """
525  results = []
526  for locationString in butlerLocation.getLocations():
527  locStringWithRoot = os.path.join(butlerLocation.getStorage().root, locationString)
528  logLoc = LogicalLocation(locStringWithRoot, butlerLocation.getAdditionalData())
529  if not os.path.exists(logLoc.locString()):
530  raise RuntimeError("No such config file: " + logLoc.locString())
531  pythonType = butlerLocation.getPythonType()
532  if pythonType is not None:
533  if isinstance(pythonType, str):
534  pythonType = doImport(pythonType)
535  finalItem = pythonType()
536  finalItem.load(logLoc.locString())
537  results.append(finalItem)
538  return results
539 
540 

◆ readFitsCatalogStorage()

def lsst.daf.persistence.posixStorage.readFitsCatalogStorage (   butlerLocation)
Read a catalog from a FITS table specified by ButlerLocation.

Parameters
----------
butlerLocation : ButlerLocation
    The location for the object(s) to be read.

Returns
-------
A list of objects as described by the butler location. One item for
each location in butlerLocation.getLocations()

Definition at line 769 of file posixStorage.py.

769 def readFitsCatalogStorage(butlerLocation):
770  """Read a catalog from a FITS table specified by ButlerLocation.
771 
772  Parameters
773  ----------
774  butlerLocation : ButlerLocation
775  The location for the object(s) to be read.
776 
777  Returns
778  -------
779  A list of objects as described by the butler location. One item for
780  each location in butlerLocation.getLocations()
781  """
782  pythonType = butlerLocation.getPythonType()
783  if pythonType is not None:
784  if isinstance(pythonType, str):
785  pythonType = doImport(pythonType)
786  results = []
787  additionalData = butlerLocation.getAdditionalData()
788  for locationString in butlerLocation.getLocations():
789  locStringWithRoot = os.path.join(butlerLocation.getStorage().root, locationString)
790  logLoc = LogicalLocation(locStringWithRoot, additionalData)
791  if not os.path.exists(logLoc.locString()):
792  raise RuntimeError("No such FITS catalog file: " + logLoc.locString())
793  kwds = {}
794  if additionalData.exists("hdu"):
795  kwds["hdu"] = additionalData.getInt("hdu")
796  if additionalData.exists("flags"):
797  kwds["flags"] = additionalData.getInt("flags")
798  finalItem = pythonType.readFits(logLoc.locString(), **kwds)
799  results.append(finalItem)
800  return results
801 
802 

◆ readFitsStorage()

def lsst.daf.persistence.posixStorage.readFitsStorage (   butlerLocation)
Read objects from a FITS file specified by ButlerLocation.

The object is read using class or static method
``readFitsWithOptions(path, options)``, if it exists, else
``readFits(path)``. The ``options`` argument is the data returned by
``butlerLocation.getAdditionalData()``.

Parameters
----------
butlerLocation : ButlerLocation
    The location for the object(s) to be read.

Returns
-------
A list of objects as described by the butler location. One item for
each location in butlerLocation.getLocations()

Definition at line 558 of file posixStorage.py.

558 def readFitsStorage(butlerLocation):
559  """Read objects from a FITS file specified by ButlerLocation.
560 
561  The object is read using class or static method
562  ``readFitsWithOptions(path, options)``, if it exists, else
563  ``readFits(path)``. The ``options`` argument is the data returned by
564  ``butlerLocation.getAdditionalData()``.
565 
566  Parameters
567  ----------
568  butlerLocation : ButlerLocation
569  The location for the object(s) to be read.
570 
571  Returns
572  -------
573  A list of objects as described by the butler location. One item for
574  each location in butlerLocation.getLocations()
575  """
576  pythonType = butlerLocation.getPythonType()
577  if pythonType is not None:
578  if isinstance(pythonType, str):
579  pythonType = doImport(pythonType)
580  supportsOptions = hasattr(pythonType, "readFitsWithOptions")
581  if not supportsOptions:
582  from lsst.daf.base import PropertySet, PropertyList
583  if issubclass(pythonType, (PropertySet, PropertyList)):
584  from lsst.afw.image import readMetadata
585  reader = readMetadata
586  else:
587  reader = pythonType.readFits
588  results = []
589  additionalData = butlerLocation.getAdditionalData()
590  for locationString in butlerLocation.getLocations():
591  locStringWithRoot = os.path.join(butlerLocation.getStorage().root, locationString)
592  logLoc = LogicalLocation(locStringWithRoot, additionalData)
593  # test for existence of file, ignoring trailing [...]
594  # because that can specify the HDU or other information
595  filePath = re.sub(r"(\.fits(.[a-zA-Z0-9]+)?)(\[.+\])$", r"\1", logLoc.locString())
596  if not os.path.exists(filePath):
597  raise RuntimeError("No such FITS file: " + logLoc.locString())
598  if supportsOptions:
599  finalItem = pythonType.readFitsWithOptions(logLoc.locString(), options=additionalData)
600  else:
601  fileName = logLoc.locString()
602  mat = re.search(r"^(.*)\[(\d+)\]$", fileName)
603 
604  if mat and reader == readMetadata: # readMetadata() only understands the hdu argument, not [hdu]
605  fileName = mat.group(1)
606  hdu = int(mat.group(2))
607 
608  finalItem = reader(fileName, hdu=hdu)
609  else:
610  finalItem = reader(fileName)
611  results.append(finalItem)
612  return results
613 
614 

◆ readMatplotlibStorage()

def lsst.daf.persistence.posixStorage.readMatplotlibStorage (   butlerLocation)
Read from a butlerLocation (always fails for this storage type).

Parameters
----------
butlerLocation : ButlerLocation
    The location for the object(s) to be read.

Returns
-------
A list of objects as described by the butler location. One item for
each location in butlerLocation.getLocations()

Definition at line 824 of file posixStorage.py.

824 def readMatplotlibStorage(butlerLocation):
825  """Read from a butlerLocation (always fails for this storage type).
826 
827  Parameters
828  ----------
829  butlerLocation : ButlerLocation
830  The location for the object(s) to be read.
831 
832  Returns
833  -------
834  A list of objects as described by the butler location. One item for
835  each location in butlerLocation.getLocations()
836  """
837  raise NotImplementedError("Figures saved with MatplotlibStorage cannot be retreived using the Butler.")
838 
839 

◆ readPafStorage()

def lsst.daf.persistence.posixStorage.readPafStorage (   butlerLocation)
Read a policy from a PAF file specified by a ButlerLocation.

Parameters
----------
butlerLocation : ButlerLocation
    The location for the object(s) to be read.

Returns
-------
A list of objects as described by the butler location. One item for
each location in butlerLocation.getLocations()

Definition at line 869 of file posixStorage.py.

869 def readPafStorage(butlerLocation):
870  """Read a policy from a PAF file specified by a ButlerLocation.
871 
872  Parameters
873  ----------
874  butlerLocation : ButlerLocation
875  The location for the object(s) to be read.
876 
877  Returns
878  -------
879  A list of objects as described by the butler location. One item for
880  each location in butlerLocation.getLocations()
881  """
882  results = []
883  for locationString in butlerLocation.getLocations():
884  logLoc = LogicalLocation(butlerLocation.getStorage().locationWithRoot(locationString),
885  butlerLocation.getAdditionalData())
886  finalItem = pexPolicy.Policy.createPolicy(logLoc.locString())
887  results.append(finalItem)
888  return results
889 
890 

◆ readParquetStorage()

def lsst.daf.persistence.posixStorage.readParquetStorage (   butlerLocation)
Read a catalog from a Parquet file specified by ButlerLocation.

The object returned by this is expected to be a subtype
of `ParquetTable`, which is a thin wrapper to `pyarrow.ParquetFile`
that allows for lazy loading of the data.

Parameters
----------
butlerLocation : ButlerLocation
    The location for the object(s) to be read.

Returns
-------
A list of objects as described by the butler location. One item for
each location in butlerLocation.getLocations()

Definition at line 641 of file posixStorage.py.

641 def readParquetStorage(butlerLocation):
642  """Read a catalog from a Parquet file specified by ButlerLocation.
643 
644  The object returned by this is expected to be a subtype
645  of `ParquetTable`, which is a thin wrapper to `pyarrow.ParquetFile`
646  that allows for lazy loading of the data.
647 
648  Parameters
649  ----------
650  butlerLocation : ButlerLocation
651  The location for the object(s) to be read.
652 
653  Returns
654  -------
655  A list of objects as described by the butler location. One item for
656  each location in butlerLocation.getLocations()
657  """
658  results = []
659  additionalData = butlerLocation.getAdditionalData()
660 
661  for locationString in butlerLocation.getLocations():
662  locStringWithRoot = os.path.join(butlerLocation.getStorage().root, locationString)
663  logLoc = LogicalLocation(locStringWithRoot, additionalData)
664  if not os.path.exists(logLoc.locString()):
665  raise RuntimeError("No such parquet file: " + logLoc.locString())
666 
667  pythonType = butlerLocation.getPythonType()
668  if pythonType is not None:
669  if isinstance(pythonType, str):
670  pythonType = doImport(pythonType)
671 
672  filename = logLoc.locString()
673 
674  # pythonType will be ParquetTable (or perhaps MultilevelParquetTable)
675  # filename should be the first kwarg, but being explicit here.
676  results.append(pythonType(filename=filename))
677 
678  return results
679 
680 

◆ readPickleStorage()

def lsst.daf.persistence.posixStorage.readPickleStorage (   butlerLocation)
Read an object from a pickle file specified by ButlerLocation.

Parameters
----------
butlerLocation : ButlerLocation
    The location for the object(s) to be read.

Returns
-------
A list of objects as described by the butler location. One item for
each location in butlerLocation.getLocations()

Definition at line 718 of file posixStorage.py.

718 def readPickleStorage(butlerLocation):
719  """Read an object from a pickle file specified by ButlerLocation.
720 
721  Parameters
722  ----------
723  butlerLocation : ButlerLocation
724  The location for the object(s) to be read.
725 
726  Returns
727  -------
728  A list of objects as described by the butler location. One item for
729  each location in butlerLocation.getLocations()
730  """
731  # Create a list of Storages for the item.
732  results = []
733  additionalData = butlerLocation.getAdditionalData()
734  for locationString in butlerLocation.getLocations():
735  locStringWithRoot = os.path.join(butlerLocation.getStorage().root, locationString)
736  logLoc = LogicalLocation(locStringWithRoot, additionalData)
737  if not os.path.exists(logLoc.locString()):
738  raise RuntimeError("No such pickle file: " + logLoc.locString())
739  with open(logLoc.locString(), "rb") as infile:
740  # py3: We have to specify encoding since some files were written
741  # by python2, and 'latin1' manages that conversion safely. See:
742  # http://stackoverflow.com/questions/28218466/unpickling-a-python-2-object-with-python-3/28218598#28218598
743  if sys.version_info.major >= 3:
744  finalItem = pickle.load(infile, encoding="latin1")
745  else:
746  finalItem = pickle.load(infile)
747  results.append(finalItem)
748  return results
749 
750 

◆ readYamlStorage()

def lsst.daf.persistence.posixStorage.readYamlStorage (   butlerLocation)
Read an object from a YAML file specified by a butlerLocation.

Parameters
----------
butlerLocation : ButlerLocation
    The location for the object(s) to be read.

Returns
-------
A list of objects as described by the butler location. One item for
each location in butlerLocation.getLocations()

Definition at line 891 of file posixStorage.py.

891 def readYamlStorage(butlerLocation):
892  """Read an object from a YAML file specified by a butlerLocation.
893 
894  Parameters
895  ----------
896  butlerLocation : ButlerLocation
897  The location for the object(s) to be read.
898 
899  Returns
900  -------
901  A list of objects as described by the butler location. One item for
902  each location in butlerLocation.getLocations()
903  """
904  results = []
905  for locationString in butlerLocation.getLocations():
906  logLoc = LogicalLocation(butlerLocation.getStorage().locationWithRoot(locationString),
907  butlerLocation.getAdditionalData())
908  if not os.path.exists(logLoc.locString()):
909  raise RuntimeError("No such YAML file: " + logLoc.locString())
910  # Butler Gen2 repository configurations are handled specially
911  if butlerLocation.pythonType == 'lsst.daf.persistence.RepositoryCfg':
912  finalItem = Policy(filePath=logLoc.locString())
913  else:
914  try:
915  # PyYAML >=5.1 prefers a different loader
916  loader = yaml.FullLoader
917  except AttributeError:
918  loader = yaml.Loader
919  with open(logLoc.locString(), "rb") as infile:
920  finalItem = yaml.load(infile, Loader=loader)
921  results.append(finalItem)
922  return results
923 
924 
925 PosixStorage.registerFormatters("FitsStorage", readFitsStorage, writeFitsStorage)
926 PosixStorage.registerFormatters("ParquetStorage", readParquetStorage, writeParquetStorage)
927 PosixStorage.registerFormatters("ConfigStorage", readConfigStorage, writeConfigStorage)
928 PosixStorage.registerFormatters("PickleStorage", readPickleStorage, writePickleStorage)
929 PosixStorage.registerFormatters("FitsCatalogStorage", readFitsCatalogStorage, writeFitsCatalogStorage)
930 PosixStorage.registerFormatters("MatplotlibStorage", readMatplotlibStorage, writeMatplotlibStorage)
931 PosixStorage.registerFormatters("PafStorage", readFormatter=readPafStorage)
932 PosixStorage.registerFormatters("YamlStorage", readYamlStorage, writeYamlStorage)
933 
934 Storage.registerStorageClass(scheme='', cls=PosixStorage)
935 Storage.registerStorageClass(scheme='file', cls=PosixStorage)

◆ writeConfigStorage()

def lsst.daf.persistence.posixStorage.writeConfigStorage (   butlerLocation,
  obj 
)
Writes an lsst.pex.config.Config  object to a location specified by
ButlerLocation.

Parameters
----------
butlerLocation : ButlerLocation
    The location for the object to be written.
obj : object instance
    The object to be written.

Definition at line 541 of file posixStorage.py.

541 def writeConfigStorage(butlerLocation, obj):
542  """Writes an lsst.pex.config.Config object to a location specified by
543  ButlerLocation.
544 
545  Parameters
546  ----------
547  butlerLocation : ButlerLocation
548  The location for the object to be written.
549  obj : object instance
550  The object to be written.
551  """
552  filename = os.path.join(butlerLocation.getStorage().root, butlerLocation.getLocations()[0])
553  with SafeFilename(filename) as locationString:
554  logLoc = LogicalLocation(locationString, butlerLocation.getAdditionalData())
555  obj.save(logLoc.locString())
556 
557 

◆ writeFitsCatalogStorage()

def lsst.daf.persistence.posixStorage.writeFitsCatalogStorage (   butlerLocation,
  obj 
)
Writes a catalog to a FITS table specified by ButlerLocation.

Parameters
----------
butlerLocation : ButlerLocation
    The location for the object to be written.
obj : object instance
    The object to be written.

Definition at line 803 of file posixStorage.py.

803 def writeFitsCatalogStorage(butlerLocation, obj):
804  """Writes a catalog to a FITS table specified by ButlerLocation.
805 
806  Parameters
807  ----------
808  butlerLocation : ButlerLocation
809  The location for the object to be written.
810  obj : object instance
811  The object to be written.
812  """
813  additionalData = butlerLocation.getAdditionalData()
814  locations = butlerLocation.getLocations()
815  with SafeFilename(os.path.join(butlerLocation.getStorage().root, locations[0])) as locationString:
816  logLoc = LogicalLocation(locationString, additionalData)
817  if additionalData.exists("flags"):
818  kwds = dict(flags=additionalData.getInt("flags"))
819  else:
820  kwds = {}
821  obj.writeFits(logLoc.locString(), **kwds)
822 
823 

◆ writeFitsStorage()

def lsst.daf.persistence.posixStorage.writeFitsStorage (   butlerLocation,
  obj 
)
Writes an object to a FITS file specified by ButlerLocation.

The object is written using method
``writeFitsWithOptions(path, options)``, if it exists, else
``writeFits(path)``. The ``options`` argument is the data returned by
``butlerLocation.getAdditionalData()``.

Parameters
----------
butlerLocation : ButlerLocation
    The location for the object to be written.
obj : object instance
    The object to be written.

Definition at line 615 of file posixStorage.py.

615 def writeFitsStorage(butlerLocation, obj):
616  """Writes an object to a FITS file specified by ButlerLocation.
617 
618  The object is written using method
619  ``writeFitsWithOptions(path, options)``, if it exists, else
620  ``writeFits(path)``. The ``options`` argument is the data returned by
621  ``butlerLocation.getAdditionalData()``.
622 
623  Parameters
624  ----------
625  butlerLocation : ButlerLocation
626  The location for the object to be written.
627  obj : object instance
628  The object to be written.
629  """
630  supportsOptions = hasattr(obj, "writeFitsWithOptions")
631  additionalData = butlerLocation.getAdditionalData()
632  locations = butlerLocation.getLocations()
633  with SafeFilename(os.path.join(butlerLocation.getStorage().root, locations[0])) as locationString:
634  logLoc = LogicalLocation(locationString, additionalData)
635  if supportsOptions:
636  obj.writeFitsWithOptions(logLoc.locString(), options=additionalData)
637  else:
638  obj.writeFits(logLoc.locString())
639 
640 

◆ writeMatplotlibStorage()

def lsst.daf.persistence.posixStorage.writeMatplotlibStorage (   butlerLocation,
  obj 
)
Writes a matplotlib.figure.Figure to a location, using the template's
filename suffix to infer the file format.

Parameters
----------
butlerLocation : ButlerLocation
    The location for the object to be written.
obj : matplotlib.figure.Figure
    The object to be written.

Definition at line 840 of file posixStorage.py.

840 def writeMatplotlibStorage(butlerLocation, obj):
841  """Writes a matplotlib.figure.Figure to a location, using the template's
842  filename suffix to infer the file format.
843 
844  Parameters
845  ----------
846  butlerLocation : ButlerLocation
847  The location for the object to be written.
848  obj : matplotlib.figure.Figure
849  The object to be written.
850  """
851  additionalData = butlerLocation.getAdditionalData()
852  locations = butlerLocation.getLocations()
853  with SafeFilename(os.path.join(butlerLocation.getStorage().root, locations[0])) as locationString:
854  logLoc = LogicalLocation(locationString, additionalData)
855  # SafeFilename appends a random suffix, which corrupts the extension
856  # matplotlib uses to guess the file format.
857  # Instead, we extract the extension from the original location
858  # and pass that as the format directly.
859  _, ext = os.path.splitext(locations[0])
860  if ext:
861  ext = ext[1:] # strip off leading '.'
862  else:
863  # If there is no extension, we let matplotlib fall back to its
864  # default.
865  ext = None
866  obj.savefig(logLoc.locString(), format=ext)
867 
868 

◆ writeParquetStorage()

def lsst.daf.persistence.posixStorage.writeParquetStorage (   butlerLocation,
  obj 
)
Writes pandas dataframe to parquet file.

Parameters
----------
butlerLocation : ButlerLocation
    The location for the object(s) to be read.
obj : `lsst.qa.explorer.parquetTable.ParquetTable`
    Wrapped DataFrame to write.

Definition at line 681 of file posixStorage.py.

681 def writeParquetStorage(butlerLocation, obj):
682  """Writes pandas dataframe to parquet file.
683 
684  Parameters
685  ----------
686  butlerLocation : ButlerLocation
687  The location for the object(s) to be read.
688  obj : `lsst.qa.explorer.parquetTable.ParquetTable`
689  Wrapped DataFrame to write.
690 
691  """
692  additionalData = butlerLocation.getAdditionalData()
693  locations = butlerLocation.getLocations()
694  with SafeFilename(os.path.join(butlerLocation.getStorage().root, locations[0])) as locationString:
695  logLoc = LogicalLocation(locationString, additionalData)
696  filename = logLoc.locString()
697  obj.write(filename)
698 
699 

◆ writePickleStorage()

def lsst.daf.persistence.posixStorage.writePickleStorage (   butlerLocation,
  obj 
)
Writes an object to a pickle file specified by ButlerLocation.

Parameters
----------
butlerLocation : ButlerLocation
    The location for the object to be written.
obj : object instance
    The object to be written.

Definition at line 751 of file posixStorage.py.

751 def writePickleStorage(butlerLocation, obj):
752  """Writes an object to a pickle file specified by ButlerLocation.
753 
754  Parameters
755  ----------
756  butlerLocation : ButlerLocation
757  The location for the object to be written.
758  obj : object instance
759  The object to be written.
760  """
761  additionalData = butlerLocation.getAdditionalData()
762  locations = butlerLocation.getLocations()
763  with SafeFilename(os.path.join(butlerLocation.getStorage().root, locations[0])) as locationString:
764  logLoc = LogicalLocation(locationString, additionalData)
765  with open(logLoc.locString(), "wb") as outfile:
766  pickle.dump(obj, outfile, pickle.HIGHEST_PROTOCOL)
767 
768 

◆ writeYamlStorage()

def lsst.daf.persistence.posixStorage.writeYamlStorage (   butlerLocation,
  obj 
)
Writes an object to a YAML file specified by ButlerLocation.

Parameters
----------
butlerLocation : ButlerLocation
    The location for the object to be written.
obj : object instance
    The object to be written.

Definition at line 700 of file posixStorage.py.

700 def writeYamlStorage(butlerLocation, obj):
701  """Writes an object to a YAML file specified by ButlerLocation.
702 
703  Parameters
704  ----------
705  butlerLocation : ButlerLocation
706  The location for the object to be written.
707  obj : object instance
708  The object to be written.
709  """
710  additionalData = butlerLocation.getAdditionalData()
711  locations = butlerLocation.getLocations()
712  with SafeFilename(os.path.join(butlerLocation.getStorage().root, locations[0])) as locationString:
713  logLoc = LogicalLocation(locationString, additionalData)
714  with open(logLoc.locString(), "w") as outfile:
715  yaml.dump(obj, outfile)
716 
717 
lsst::afw::image
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects.
Definition: imageAlgorithm.dox:1
lsst::daf::persistence.posixStorage.writeYamlStorage
def writeYamlStorage(butlerLocation, obj)
Definition: posixStorage.py:700
lsst::daf::persistence.posixStorage.readMatplotlibStorage
def readMatplotlibStorage(butlerLocation)
Definition: posixStorage.py:824
lsst::daf::persistence.posixStorage.writeParquetStorage
def writeParquetStorage(butlerLocation, obj)
Definition: posixStorage.py:681
lsst::daf::persistence.safeFileIo.SafeFilename
def SafeFilename(name)
Definition: safeFileIo.py:128
lsst::daf::persistence.posixStorage.readFitsStorage
def readFitsStorage(butlerLocation)
Definition: posixStorage.py:558
lsst::daf::persistence.posixStorage.writeMatplotlibStorage
def writeMatplotlibStorage(butlerLocation, obj)
Definition: posixStorage.py:840
lsst::daf::persistence.posixStorage.writeConfigStorage
def writeConfigStorage(butlerLocation, obj)
Definition: posixStorage.py:541
lsst::daf::persistence.posixStorage.writeFitsStorage
def writeFitsStorage(butlerLocation, obj)
Definition: posixStorage.py:615
lsst::daf::persistence.utils.doImport
def doImport(pythonType)
Definition: utils.py:104
lsst::daf::persistence.posixStorage.readYamlStorage
def readYamlStorage(butlerLocation)
Definition: posixStorage.py:891
lsst::daf::persistence.posixStorage.readParquetStorage
def readParquetStorage(butlerLocation)
Definition: posixStorage.py:641
lsst::daf::base
Definition: Utils.h:47
lsst::daf::persistence.posixStorage.readPafStorage
def readPafStorage(butlerLocation)
Definition: posixStorage.py:869
lsst::daf::persistence.posixStorage.readPickleStorage
def readPickleStorage(butlerLocation)
Definition: posixStorage.py:718
lsst::daf::persistence.posixStorage.writeFitsCatalogStorage
def writeFitsCatalogStorage(butlerLocation, obj)
Definition: posixStorage.py:803
lsst::daf::persistence.posixStorage.readConfigStorage
def readConfigStorage(butlerLocation)
Definition: posixStorage.py:512
lsst::daf::persistence.posixStorage.readFitsCatalogStorage
def readFitsCatalogStorage(butlerLocation)
Definition: posixStorage.py:769
lsst::daf::persistence.posixStorage.writePickleStorage
def writePickleStorage(butlerLocation, obj)
Definition: posixStorage.py:751