get_tempdir#
- lsst.resources.utils.get_tempdir() str#
Get POSIX path to temporary directory.
Returns#
- tmpdir
str Path to the default temporary directory location.
Notes#
Uses the value of environment variables
LSST_RESOURCES_TMPDIRorTMPDIR, if defined. Otherwise use the system temporary directory, with a last-resort fallback to the current working directory if nothing else is available.- tmpdir