org.orekit.forces.gravity.potential
Class ICGEMFormatReader
java.lang.Object
org.orekit.forces.gravity.potential.PotentialCoefficientsReader
org.orekit.forces.gravity.potential.ICGEMFormatReader
- All Implemented Interfaces:
- DataLoader, PotentialCoefficientsProvider
public class ICGEMFormatReader
- extends PotentialCoefficientsReader
Reader for the ICGEM gravity field format.
This format is used to describe the gravity field of EIGEN models
published by the GFZ Potsdam since 2004. It is described in Franz
Barthelmes and Christoph Förste paper:
the
ICGEM-format.
The proper way to use this class is to call the
PotentialReaderFactory
which will determine which reader to use with the selected potential
coefficients file
- Version:
- $Revision: 3027 $ $Date: 2010-01-19 11:36:25 +0100 (mar. 19 janv. 2010) $
- Author:
- Luc Maisonobe
- See Also:
PotentialReaderFactory
|
Constructor Summary |
ICGEMFormatReader(java.lang.String supportedNames,
boolean missingCoefficientsAllowed)
Simple constructor. |
|
Method Summary |
void |
loadData(java.io.InputStream input,
java.lang.String name)
Load data from a stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ICGEMFormatReader
public ICGEMFormatReader(java.lang.String supportedNames,
boolean missingCoefficientsAllowed)
- Simple constructor.
- Parameters:
supportedNames - regular expression for supported files namesmissingCoefficientsAllowed - if true, allows missing coefficients in the input data
loadData
public void loadData(java.io.InputStream input,
java.lang.String name)
throws java.io.IOException,
java.text.ParseException,
OrekitException
- Load data from a stream.
- Specified by:
loadData in interface DataLoader- Specified by:
loadData in class PotentialCoefficientsReader
- Parameters:
input - data input streamname - name of the file (or zip entry)
- Throws:
java.io.IOException - if data can't be read
java.text.ParseException - if data can't be parsed
OrekitException - if some data is missing
or if some loader specific error occurs
Copyright © 2002-2010 CS Communication & Systèmes. All Rights Reserved.