Package wsatools :: Module FitsToDb
[hide private]

Module FitsToDb

source code

Applications to perform various 'post-ingest' updates of database table data from the original FITS file header values.

Applications

Class Hierarchy for DbUpdater
Class Hierarchy for DbUpdater


Author: R.S. Collins

Organization: WFAU, IfA, University of Edinburgh

To Do:

Requires: PyFITS

Classes [hide private]
  FitsReader
Reads the headers of a selection of FITS files, executing a series of specified tasks, as defined by the list of DbUpdater objects supplied on initialisation.
  DbUpdater
Base class to define generic post-curation database update activities.
    Applications
  AttributeUpdater
Updates all of the values in a set of database columns from the original FITS header keyword values using the prescription described in the table schema.
  CatFileUpdater
Updates metadata table values in the database from catalogue file headers for new attributes, given attributes or where there is missing/dodgy data for a given date.
  ProvenanceFiller
Updates the Provenance table.
    Error Handling
  FileError
Abstract base class for cumulative logging of file errors.
  MissingKeyword
Logs all instances of missing keywords for an individual FITS file.
  MissingProvenance
FileError class to collect all instances of missing component file multiframeIDs for a given combiframe.
  NoProvenance
FileError class to indicate that multiframe is not a combiframe.
  FileErrorList
Container class for file errors associated with a single file.
Variables [hide private]
  __package__ = 'wsatools'