public class GRGSFormatReader extends PotentialCoefficientsReader
This format was used to describe various gravity fields at GRGS (Toulouse).
The proper way to use this class is to call the GravityFieldFactory
which will determine which reader to use
with the selected potential coefficients file
GravityFieldFactory
,
Serialized Formae, mu, normalizedC, normalizedJ, normalizedS, normalizedSigmasC, normalizedSigmasS, readCompleted, readSigmas
Constructor and Description |
---|
GRGSFormatReader(String supportedNames,
boolean missingCoefficientsAllowed)
Simple constructor.
|
GRGSFormatReader(String supportedNames,
boolean missingCoefficientsAllowed,
boolean readSigmas)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
loadData(InputStream input,
String name)
Load data from a stream.
|
getAe, getC, getJ, getMu, getS, getSigmaC, getSigmaS, getSupportedNames, missingCoefficientsAllowed, stillAcceptsData
public GRGSFormatReader(String supportedNames, boolean missingCoefficientsAllowed)
supportedNames
- regular expression for supported files namesmissingCoefficientsAllowed
- if true, allows missing coefficients in the input datapublic GRGSFormatReader(String supportedNames, boolean missingCoefficientsAllowed, boolean readSigmas)
supportedNames
- regular expression for supported files namesmissingCoefficientsAllowed
- if true, allows missing coefficients in the input datareadSigmas
- if true, will read sigmas coefficient (sigma C & sigma S)public void loadData(InputStream input, String name) throws IOException, ParseException, PatriusException
loadData
in interface DataLoader
loadData
in class PotentialCoefficientsReader
input
- data input streamname
- name of the file (or zip entry)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 © 2023 CNES. All rights reserved.