Package wsatools :: Module SystemConstants :: Class OsaConstants
[hide private]

Class OsaConstants

source code


Constants with specific values for the OSA.

Instance Methods [hide private]

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

    CASU data transfer constants

Inherited from SystemConstants: scpMainDir, scpMethod, sshMethod

    Pixel server common directories

Inherited from SystemConstants: downloadPathList

    FITS file naming conventions

Inherited from SystemConstants: extListOfType, productTypeOfFrame, wfauFitsKeys

    Convenience methods

Inherited from SystemConstants: __str__, isGES, isOSA, isSSA, isVSA, isWSA

    Getter methods

Inherited from SystemConstants: calibrationSchema, curationSchema, dbMntPath, ingestListsPath, ingestedFilesPath, ingestedLogsPath, metadataSchema, wcsErrorFilesPath

    Software directory structure

Inherited from SystemConstants: calibrationDir, cambInfoPath, corruptFilesPath, filterDataDirPath, filterRefDataDirPath, illuminationDir, logFilePath, missingFilesFilePath, monitorPath, nonSurveyRegPath, tempWorkPath, xferLogPath

    Pixel server directory structure

Inherited from SystemConstants: availableRaidFileSystem, excludedRaidFileSystem, leaveSpaceOnMSRFS, massStorageRaidFileSystem

    Permanent curation log file paths

Inherited from SystemConstants: filesBrokenPath, filesDuplicatedPath, filesMissingPath, filesNotIngestedPath

    Web site constants

Inherited from SystemConstants: surveyBaseUrl, surveyJspBaseUrl

Static Methods [hide private]
    CASU data transfer constants
str
scpServer(light=True)
Returns: The CASU scp server for processed data.
source code
list(str)
surveyFileGroups(_surveys='')
Returns list of file groups for a database of the given surveys.
source code
    FITS file naming conventions

Inherited from SystemConstants: fileNameSuffices, frameTypeToSuffix

    Initialiser

Inherited from SystemConstants: __new__

    Getter methods

Inherited from SystemConstants: catServerVolumes, dbSharePath, getAll, getServerName

    Software directory structure

Inherited from SystemConstants: casuCodePerlPath, curationCodePath, emptyFitsCataloguePathName, helpersPath, privNetCmd, sExtractorInputsPath, sourcePosTablesPath, sqlFragmentPath, sqlMonthlyDetPath, sqlNonSurveyPath, sqlQualityControlPath, sqlTemplatePath, testOutputPath

Class Variables [hide private]
    Catalogue server constants
  loadDatabase = 'OSA'
Name of load database.
  loadServer = 'ramses1'
Name of load server.
  ingestDbForServer = {'ramses1': 'OSA'}
Dictionary of ingest database names on each server for split ingest dbs.
  metadataFileGroups = ['Curation', 'Indices']
Additional database file groups beyond primary and logs for metadata.
  metadataTables = ['Multiframe', 'MultiframeDetector', 'Current...
Database tables containing metadata to be populated by CU3.
  nonSurveyDir = 'OSA-NonSurvey'
Default directory for non-survey db.
  pixelServerHostName = ''
(Deprecated) This is appended to fileNames in the database.
  publicServers = ['ramses5', 'ramses6']
List of public catalogue servers.

Inherited from SystemConstants: adminDatabase, catServerFileSep, catServerSharePath, clusterName, loadServerVolumes

    Pixel server file system
  casuPrefix = 'o'
Prefix for CASU produced FITS files.
  genOpsDisk = '/disk40/osa'
Disk for general operations output (logs, info, ...).
  serverRaidArray = {'djedefre': [], 'djoser': [], 'khafre': [],...
A dictionary giving the file systems of each server.
  versFormat = '%.1f'
Format of versioning numbers.
  versStep = 0.1
Increments of versioning numbers.

Inherited from SystemConstants: criticalDisks, curationServers, deprecatedDataStorage, developDisks, infinibandServers, sysPath, userInterfaceTempStorage

    Software file system
  autoTemplateIndexSchema = '/neferefre/rsc/VDFS_branches/trunk/...
Template schema for automated index scripts.
  autoTemplateNeighboursSchema = '/neferefre/rsc/VDFS_branches/t...
Template schema for automated neighbour scripts.
  autoTemplateSchema = '/neferefre/rsc/VDFS_branches/trunk/sql/T...
Template schema for automated scripts.
  autoTemplateViewSchema = '/neferefre/rsc/VDFS_branches/trunk/s...
Template schema for automated view scripts.
  indexScript = 'OSA_Indices.sql'
File name for the SQL script defining table indices.
  nsIndexScript = 'NonSurvey/OSANS_Indices.sql'
File name for the SQL script defining non-survey table indices.
  surveyProcScript = 'OSA_PS_StoredProcsAndFuncs.sql'
Script for survey procedures and functions for all databases.
  surveyViewScript = 'OSA_PS_Views.sql'
File name for the SQL script defining survey views.
    Survey data constants
  amStart = 'HIERARCH ESO TEL AIRM START'
Airmass start value keyword in FITS HDU.
  amEnd = 'HIERARCH ESO TEL AIRM END'
Airmass end value keyword in FITS HDU.
  casuCatType = 6
CASU catalogue type.
  casuDetThresh = {1: 1.25}
CASU detection threshold dict(nustep,sigma)
  expTimeKeyWord = 'EXPTIME'
EXPTIME header keyword
  fieldOfView = (1.0, 1.0)
Size of the field of view x and y (tuple)
  hduNumKey = 'CAMNUM'
Name of HDU number fits key
  hduNumDict = {65: 1, 66: 2, 67: 3, 68: 4, 69: 17, 70: 18, 71: ...
  instrumentName = 'OMEGACAM'
Name of the instrument
  instrumentPixScale = 0.214
Standard pixel scale of instrument
  manualProgs = []
List of programmeIDs of programmes which are manually set up.
  monthlyDetSurveys = []
List of programmes that need monthly detection tables
  maxHDUs = 33
Maximum number of extensions
  maxRaDecExtentStackDeg = 0.05
Maximum ra or dec separation for stacks in a group for deep stacking
  minRaDecExtentStackDeg = 0.017
Minimum ra or dec separation for stacks in a group for deep stacking
  obsCal = OmegaCal()
Observation dates for the survey.
  pawPrintArea = 0.949
Pawprint area in degrees
  phtErrLimit = 0.02
Photometric zero-point error limit that necessitates recalibration.
  pointingKeys = ['RA', 'DEC', 'HIERARCH ESO INS FILT1 NAME']
Pointing keys to check
  productTypes = ['stack']
Product types
  projectKeys = ['HIERARCH ESO OBS PROG ID', 'HIERARCH ESO OBS N...
FITS header keys that identify the project.
  rCoreBasic = 4.65
Core radius ~ 1/instrument pixScale
  scienceProgs = {'ATLAS': 110}
Programmes
  scrunch = 4
Pixel super bin size in JPEG rebinning process.
  surveyTranslations = {'177.A-3011': 'ATLAS', '177.A-3016': 'KI...
Known survey name translations of VST frames.
  telescopeName = 'VST'
Name of the telescope
    CASU data transfer constants
  casuFileSystem = ['/data/apm45_a/vst/processed/']
List of disks where data is stored at CASU.
  casuFileSystemVariables = AlphaNum(name='vst', alpha='ab', num...
Letters and numbers that can appear in the CASU file system.
  casuIllumDir = ''
The directory where illumination tables are stored at CASU.
  scpPort = 22
The CASU scp server port number for processed data.
  hasVarOrient = True
has variable orientation
  hasEsoRelease = True
Has an ESO release?

Inherited from SystemConstants: ftp_method, rem_camlist_dir, rem_lock_name, rem_ready2copy_name, rem_success_name, scpThreads, scpUser

    Numerical constants

Inherited from SystemConstants: minNumCPUs, one_gigabyte, one_kilobyte, one_megabyte, sqlDataTypeSize

    Pixel server common directories

Inherited from SystemConstants: casu2massDir, compressImDir, deprecatedComprImDir, deprecatedDir, diffDir, downloadDir, esoExtDir, extProdDir, fitsDir, headerDir, listDrivDir, mosaicDir, productLogDir, productsDir, stackDir, swarpDir, tempProductsDir, tileDir

    FITS file naming conventions

Inherited from SystemConstants: biasPrefix, catSuffix, catType, confSuffix, cpmSuffix, darkPrefix, deepSuffix, diffSuffix, filtPrefix, filtSuffix, fixcatSuffix, flatSuffix, frameTypes, fringeSuffix, jpgType, leavSuffix, listSuffix, mefType, mjdSuffix, mosaicSuffix, pregrtSuffix, simpleSuffix, skyPrefix, stackSuffix, tileSuffix, uncType, wfauPrefix

    Software file structure

Inherited from SystemConstants: cirdrShellScript, emptyFitsCatalogueFileName, procScript, sqlScriptPath, srcPath, webDocsPath

    SExtractor

Inherited from SystemConstants: defaultSexInparFile

    Synoptic syntax constants

Inherited from SystemConstants: bthSubStr, corSubStr, uncSubStr, varSubStr

    Common instrument properties

Inherited from SystemConstants: channelWidth, hasMicroStep, hasOffsetPos, instrumentXnPix, instrumentYnPix

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

scpServer(light=True)
Static Method

source code 
Returns: str
The CASU scp server for processed data.

surveyFileGroups(_surveys='')
Static Method

source code 

Returns list of file groups for a database of the given surveys.

Parameters:
  • _surveys (str) - Survey acronyms as a space-separated string.
Returns: list(str)

Class Variable Details [hide private]

metadataTables

Database tables containing metadata to be populated by CU3.

Value:
['Multiframe',
 'MultiframeDetector',
 'CurrentAstrometry',
 'ProgrammeFrame',
 'MultiframeEsoKeys',
 'MultiframeDetectorEsoKeys']

serverRaidArray

A dictionary giving the file systems of each server.

Value:
{'djedefre': [],
 'djoser': [],
 'khafre': [],
 'khufu': [],
 'osorkon': [],
 'pami': [],
 'pami2': [],
 'pedubaste1': [],
...

autoTemplateIndexSchema

Template schema for automated index scripts.

Value:
'/neferefre/rsc/VDFS_branches/trunk/sql/Templates/OSA_autoTemplateIndi\
ces.sql'

autoTemplateNeighboursSchema

Template schema for automated neighbour scripts.

Value:
'/neferefre/rsc/VDFS_branches/trunk/sql/Templates/OSA_autoTemplateNeig\
hboursSchema.sql'

autoTemplateSchema

Template schema for automated scripts.

Value:
'/neferefre/rsc/VDFS_branches/trunk/sql/Templates/OSA_autoTemplateSche\
ma.sql'

autoTemplateViewSchema

Template schema for automated view scripts.

Value:
'/neferefre/rsc/VDFS_branches/trunk/sql/Templates/OSA_autoTemplateView\
s.sql'

hduNumDict

Value:
{65: 1,
 66: 2,
 67: 3,
 68: 4,
 69: 17,
 70: 18,
 71: 19,
 72: 20,
...

projectKeys

FITS header keys that identify the project.

Value:
['HIERARCH ESO OBS PROG ID',
 'HIERARCH ESO OBS NAME',
 'HIERARCH ESO DPR CATG']

surveyTranslations

Known survey name translations of VST frames.

Value:
{'177.A-3011': 'ATLAS',
 '177.A-3016': 'KIDS',
 '177.A-3017': 'KIDS',
 '177.A-3018': 'KIDS',
 '177.D-3023': 'VPHAS',
 '60.A-9038(A)': 'TECHNICAL',
 '60.A-9800(Q)': 'CAL',
 'MAINTENANCE': 'MAINTENANCE'}

casuFileSystem

List of disks where data is stored at CASU. Sorted in order of their

Value:
['/data/apm45_a/vst/processed/']

casuFileSystemVariables

Letters and numbers that can appear in the CASU file system.

Value:
AlphaNum(name='vst', alpha='ab', num=[45, 46, 48])