public final class OceanTidesCoefficientsFactory extends Object
OceanTidesCoefficientsProvider
Loading of ocean tides coefficients data follows PATRIUS standard way of handling data:
OceanTidesCoefficientsProvider
.addOceanTidesCoefficientsReader(OceanTidesCoefficientsReader)
.DataProvidersManager
.clearOceanTidesCoefficientsReaders()
.
By default, some loaders are added in the following order:
FES2004FormatReader
: FES 2004 file format.
getCoefficientsProvider()
method.
GravityFieldFactory
Modifier and Type | Field and Description |
---|---|
static String |
FES2004_FILENAME
Default file name for FES2004
|
Modifier and Type | Method and Description |
---|---|
static void |
addDefaultOceanTidesCoefficientsReaders()
Add the default READERS for ocean tides coefficients
|
static void |
addOceanTidesCoefficientsReader(OceanTidesCoefficientsReader reader)
Add a reader for ocean tides
|
static void |
clearOceanTidesCoefficientsReaders()
Clear ocean tides coefficients READERS.
|
static OceanTidesCoefficientsProvider |
getCoefficientsProvider()
Get the ocean tides coefficients provider from the first supported file.
|
public static final String FES2004_FILENAME
public static void addOceanTidesCoefficientsReader(OceanTidesCoefficientsReader reader)
reader
- custom reader to add for the ocean tides coefficientspublic static void addDefaultOceanTidesCoefficientsReaders()
The default READERS supports FES2004 format with the default name FES2004_FILENAME
public static void clearOceanTidesCoefficientsReaders()
public static OceanTidesCoefficientsProvider getCoefficientsProvider() throws PatriusException
If no OceanTidesCoefficientsProvider
has been added by calling
addOceanTidesCoefficientsReader
or if
clearOceanTidesCoefficientsReaders
has been called afterwards,the
addDefaultOceanTidesCoefficientsReaders
method will be called
automatically.
PatriusException
- if some data is missing or if some loader specific error occursCopyright © 2023 CNES. All rights reserved.