Go to the documentation of this file.
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>
37 #include <casacore/casa/OS/Mutex.h>
198 const Table *tabin = 0);
219 const Table *tabin = 0);
@ DY
Polar motion y error.
@ MEASURED
Measured EOP values.
MeasIERS & operator=(const MeasIERS &other)
Copy assign, NOT defined.
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.
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...
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).
@ DX
Polar motion x error.
static const String tp[N_Files]
File names.
void(* CLOSEFUN)()
Define the function pointer to be called to close files.
static Vector< Double > ldat[N_Files][N_Types]
Read data (meas - predict)
@ MJD
MJD (must be first in list)
static Double dateNow
Current date.
@ DLOD
Length of Day 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 void closeTables()
Make sure all static tables are closed that were opened with getTable (like JPL, IERS).
Types
Types of known data.
static uInt sizeNote
Size of close notification list.
static uInt predicttime_reg
Check prediction interval.
@ N_Types
Number of types.
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.
TableExprNode date(const TableExprNode &node)
static uInt forcepredict_reg
Force prediction.
MeasIERS()
Default constructor, NOT defined.
@ PREDICTED
Predicted EOP values.
static CallOnce0 theirCallOnce
Object to ensure safe multi-threaded lazy single initialization.
this file contains all the compiler specific defines
static uInt notable_reg
Use no table.
static void closeMeas()
Close the set of IERS tables only.
static uInt nNote
Number of close notifications.
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
static CLOSEFUN * toclose
Tables notifying that they should be closed.
Wrapper around std::call_once.
static void initMeas()
Destructor, NOT defined and not declared to stop warning ~MeasIERS();.
static void openNote(CLOSEFUN fun)
Notify that a table has successfully been opened with getTable()