CARMA C++
carma::sdp::SDPUtil Class Reference

Utility class for the science data products subsystem. More...

#include <carma/sdp/SDPUtil.h>

Static Public Member Functions

static std::string astroHdrFileName (const std::string &dir, const std::string &obsBlockId)
 Compose the astro header file name for a given observing block id. More...
 
static void deleteSDPFile (const std::string &outputSDPFile)
 Delete an existing sdp output file. More...
 
static std::string extractObsBlockId (const std::string &fileName)
 Extract the observing block id. More...
 
static void mailRTS (const std::string &message)
 
static std::vector< std::string > parseObsBlockId (const std::string &obsBlockId)
 Parse an obs. More...
 
static std::string sdpFileName (const std::string &dir, const std::string &astroHdrFile)
 Compose output SDP file name associated with an astro header file. More...
 

Detailed Description

Utility class for the science data products subsystem.

This class contains static utility functions used across the science data products subsystem.

Definition at line 33 of file SDPUtil.h.

Member Function Documentation

static std::string carma::sdp::SDPUtil::astroHdrFileName ( const std::string &  dir,
const std::string &  obsBlockId 
)
static

Compose the astro header file name for a given observing block id.

static void carma::sdp::SDPUtil::deleteSDPFile ( const std::string &  outputSDPFile)
static

Delete an existing sdp output file.

static std::string carma::sdp::SDPUtil::extractObsBlockId ( const std::string &  fileName)
static

Extract the observing block id.

from a file name. This method extracts the observing block id. from an input monitor point file name or output astronominal header file name.

static std::vector<std::string> carma::sdp::SDPUtil::parseObsBlockId ( const std::string &  obsBlockId)
static

Parse an obs.

block id. descriptor into sub-components.

static std::string carma::sdp::SDPUtil::sdpFileName ( const std::string &  dir,
const std::string &  astroHdrFile 
)
static

Compose output SDP file name associated with an astro header file.


The documentation for this class was generated from the following file: