1.89. IltObsContext

Full Name: herschel.hifi.pipeline.spg.plugin.IltObsContext
Alias: IltObsContext
Type: Jython Task -
Import: from herschel.hifi.pipeline.spg.plugin import IltObsContext
Category:

HIFI/Pipeline/Level 0 pipeline

Description

Retrieves the context in which an ILT observation was carried out.

Extracts the observation and test-execution objects from the database. Generates a table contianing used scripts, logs etc. Print summary data to the screen.

Example

Example 1: context searching for a particular obsid
 
from herschel.hifi.scripts.users.share.IltObsContext import *
# create a context searcher
x = IltObsContext()
# apply it to an obsid to get a result table
y = x(obsid=268461173)
# or apply it to a date (within an observation!!')
y = x(date='17 Feb 2007 17:00:02')
# you can retrieve the last observation object for further manipulation
obs = x.observation
# or retrieve the last test execution object
test = x.testExecution

API details

Properties

Long obsid [INPUT, OPTIONAL, default=No default value]
 

Obsid of the observation to be retrieved

String date [INPUT, OPTIONAL, default=No default value]
 

A time within an observation (as for example '26 Jan 2007 14:25:23'), as alternative input to an obsid

FineTime finetime [INPUT, OPTIONAL, default=No default value]
 

A time within an observation, represented as a FineTime as alternative input to an obsid

CompositeDataset result [OUTPUT, MANDATORY, default=no default value]
TestExecution testExecution [OUTPUT, MANDATORY, default=no default value]
Observation observation [OUTPUT, MANDATORY, default=no default value]

History

  • 2007-02-27 - First: documented version
  • 2008-05-28 - SPR: 1437 - missing tope log, no mib label information available, problems repaired