28 #ifndef MEASURES_MEASIERS_H
29 #define MEASURES_MEASIERS_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/tables/Tables/Table.h>
34 #include <casacore/tables/Tables/TableRow.h>
35 #include <casacore/tables/Tables/TableRecord.h>
36 #include <casacore/casa/Containers/RecordField.h>
199 const Table *tabin = 0);
220 const Table *tabin = 0);
static Bool findTab(Table &tab, const Table *tabin, const String &rc, const String &dir, const String &name)
A helper function for getTable() which is conceivably usable outside it, for finding a table in the s...
void(* CLOSEFUN)()
Define the function pointer to be called to close files.
Types
Types of known data.
@ DLOD
Length of Day error.
@ MJD
MJD (must be first in list)
@ DX
Polar motion x error.
@ N_Types
Number of types.
@ DY
Polar motion y error.
static Bool getTable(Table &table, TableRecord &kws, ROTableRow &row, RORecordFieldPtr< Double > rfp[], String &vs, Double &dt, Int N, const String rfn[], const String &name, const String &rc, const String &dir, const Table *tabin=0)
Find and open table tab, using the rc variable, the dir and the name.
static Double dateNow
Current date.
MeasIERS & operator=(const MeasIERS &other)
Copy assign, NOT defined.
static Bool get(Double &returnValue, MeasIERS::Files file, MeasIERS::Types type, Double date)
Get the value from an IERS table, interpolated for date(in MJD).
static uInt predicttime_reg
Check prediction interval.
static uInt forcepredict_reg
Force prediction.
static void closeTables()
Make sure all static tables are closed that were opened with getTable (like JPL, IERS).
static const String tp[N_Files]
File names.
static void openNote(CLOSEFUN fun)
Notify that a table has successfully been opened with getTable()
MeasIERS()
Default constructor, NOT defined.
static Bool getTable(Table &table, TableRecord &kws, ROTableRow &row, Vector< RORecordFieldPtr< Double > > &rfp, String &vs, Double &dt, const Vector< String > &reqcols, Vector< String > &optcols, const String &name, const String &rc, const String &dir, const Table *tabin=0)
Find and open table tab, using the rc variable, the dir and the name.
static uInt notable_reg
Use no table.
static uInt sizeNote
Size of close notification list.
static Vector< Double > ldat[N_Files][N_Types]
Read data (meas - predict)
static CLOSEFUN * toclose
Tables notifying that they should be closed.
static void closeMeas()
Close the set of IERS tables only.
static void initMeas()
Destructor, NOT defined and not declared to stop warning ~MeasIERS();.
@ PREDICTED
Predicted EOP values.
@ MEASURED
Measured EOP values.
static uInt nNote
Number of close notifications.
static std::once_flag theirCallOnceFlag
Object to ensure safe multi-threaded lazy single initialization.
static Bool handle_keywords(Double &dt, String &vs, const TableRecord &ks, const Table &tab)
A helper function for getTable() which is not likely usable outside it.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
TableExprNode date(const TableExprNode &node)
bool Bool
Define the standard types used by Casacore.