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