Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.apo.nmsu.edu/Telescopes/TCC/html/get_std_dirs_8py_source.html
Дата изменения: Tue Sep 15 02:25:37 2015
Дата индексирования: Sun Apr 10 02:20:31 2016
Кодировка:

Поисковые слова: comet tail
lsst.tcc: python/tcc/base/getStdDirs.py Source File
lsst.tcc  1.2.2-3-g89ecb63
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
getStdDirs.py
Go to the documentation of this file.
1 from __future__ import division, absolute_import
2 """!Get the paths to various standard directories for the TCC
3 """
4 import os
5 
6 __all__ = ["getDataDir", "getInstDir", "getJobsDir"]
7 
8 def getDataDir():
9  """!Get path to data directory (value of environment variable TCC_DATA_DIR))
10  """
11  return os.environ["TCC_DATA_DIR"]
12 
13 def getInstDir():
14  """!Get path to instrument data directory
15  """
16  return os.path.join(getDataDir(), "inst")
17 
18 def getJobsDir():
19  """!Get path to batch job directory
20  """
21  return os.path.join(getDataDir(), "jobs")
def getDataDir
Get path to data directory (value of environment variable TCC_DATA_DIR))
Definition: getStdDirs.py:8
def getJobsDir
Get path to batch job directory.
Definition: getStdDirs.py:18
def getInstDir
Get path to instrument data directory.
Definition: getStdDirs.py:13