public final class GravityFieldFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
EGM_FILENAME
Default regular expression for EGM files.
|
static String |
GRGS_FILENAME
Default regular expression for GRGS files.
|
static String |
ICGEM_FILENAME
Default regular expression for ICGEM files.
|
static String |
SHM_FILENAME
Default regular expression for SHM files.
|
Modifier and Type | Method and Description |
---|---|
static void |
addDefaultPotentialCoefficientsReaders()
Add the default READERS for gravity fields.
|
static void |
addPotentialCoefficientsReader(PotentialCoefficientsReader reader)
Add a reader for gravity fields.
|
static void |
clearPotentialCoefficientsReaders()
Clear gravity field READERS.
|
static PotentialCoefficientsProvider |
getPotentialProvider()
Get the gravity field coefficients provider from the first supported file.
|
public static final String ICGEM_FILENAME
public static final String SHM_FILENAME
public static final String EGM_FILENAME
public static final String GRGS_FILENAME
public static void addPotentialCoefficientsReader(PotentialCoefficientsReader reader)
reader
- custom reader to add for the gravity fieldaddDefaultPotentialCoefficientsReaders()
,
clearPotentialCoefficientsReaders()
public static void addDefaultPotentialCoefficientsReaders()
The default READERS supports ICGEM, SHM, EGM and GRGS formats with the default names ICGEM_FILENAME
,
SHM_FILENAME
, EGM_FILENAME
, GRGS_FILENAME
and don't allow missing coefficients.
public static void clearPotentialCoefficientsReaders()
public static PotentialCoefficientsProvider getPotentialProvider() throws IOException, ParseException, PatriusException
If no PotentialCoefficientsReader
has been added by calling
addPotentialCoefficientsReader
or if clearPotentialCoefficientsReaders
has been called afterwards,the
addDefaultPotentialCoefficientsReaders
method will be called
automatically.
IOException
- if data can't be readParseException
- if data can't be parsedPatriusException
- if some data is missing
or if some loader specific error occursCopyright © 2021 CNES. All rights reserved.