Program to extract header info from FITS files (used by Cu3). More...
#include "Constants.h"
#include "Converter.h"
#include "DataBuilder/DataBuilderFactory.hxx"
#include <string>
#include "Catalog.hxx"
#include "DataBuilder.hxx"
#include "Extension.hxx"
#include "MyException.h"
#include "Primary.hxx"
#include "Provenance.hxx"
#include "TableInfo.h"
#include <cstdlib>
#include <map>
#include "FitsFile.h"
#include "IllumTable.hxx"
#include "Options.h"
#include "StringOps.h"
#include "AxesLength.hxx"
#include "Cartesian.hxx"
#include "CurationTaskID.hxx"
#include "DegToH.hxx"
#include "FileName.hxx"
#include "FileTimeStamp.hxx"
#include "FilterID.hxx"
#include "FrameID.hxx"
#include "FrameType.hxx"
#include "GalacticCoords.hxx"
#include "HtmIndex.hxx"
#include "JulianDayNum.hxx"
#include "Magnitudes.hxx"
#include "Moon.hxx"
#include "NumDetectors.hxx"
#include "ObjectID.hxx"
#include "ProgrammeID.hxx"
#include "QuantitiesByAst.hxx"
#include "RaDecByAst.hxx"
#include "HlRadCirc.hxx"
#include "HlRadii.hxx"
#include "SloanCoords.hxx"
#include "SkySubScale.hxx"
#include "TotalExpTime.hxx"
#include "TelRunNum.hxx"
#include "UtDate.hxx"
#include "VersionNum.hxx"
#include "VSAMagnitudes.hxx"
#include "VSAProject.hxx"
#include "DataDumper.h"
#include "DataTypes.h"
#include "Logger.h"
#include "Table.h"
#include "TableData.hxx"
#include <exception>
#include <fstream>
#include <iostream>
#include <list>
#include <sstream>
Functions | |
void | extractMetadata () |
int | main (int argc, char *argv[]) |
Implementation for extracting metadata. |
Program to extract header info from FITS files (used by Cu3).
void extractMetadata | ( | ) |
The top level function for image metadata that uses the input schemas, fitsfiles, data builders, and datamethods to produce the CSV files.
References Logger::addMessage(), Logger::addSysInfo(), DataBuilder< DataType >::build(), PreSuffixNames::casuPrefix, Table< DataType >::checkData(), Table< DataType >::checked(), Table< DataType >::checkRange(), FitsFile::closeFile(), DataMethod< DataType >::determineDetectionSourceAndTarget(), DataDumper::dumpAsCsv(), PreSuffixNames::edinPrefix, DefaultValues::emptycatname, SqlParser::extractTable(), Options::getCatalogFilename(), Options::getConstraints(), Options::getCsvPath(), Options::getCsvPrefix(), Options::getNumScienceFiles(), Options::getNumTables(), Options::getPixelFilename(), Options::getSchemaFilename(), Options::getSqlPath(), Options::getTableName(), Table< DataType >::hasNaNs(), DataBuilder< DataType >::logInfo(), makeTargetList(), StringOps::NumToString(), TableData< DataType >::qNumCols(), TableData< DataType >::qNumRows(), FitsFile::testExpectedKeys(), and PreSuffixNames::vistaPrefix.
Referenced by main().
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Implementation for extracting metadata.
References OptionNames::archive, Options::checkOptions(), OptionNames::csvpath, OptionNames::csvprefix, OptionNames::cuEvent, extractMetadata(), OptionNames::files, Options::getFileList(), Options::getTableList(), OptionsFiller::parseCommand(), OptionsFiller::parseFileList(), OptionsFiller::parseTableList(), Logger::setEchoOff(), OptionNames::sqlpath, OptionNames::tables, and MyException::what().