org.orekit.forces.gravity.tides.coefficients
Class FES2004FormatReader

java.lang.Object
  extended by org.orekit.forces.gravity.tides.coefficients.OceanTidesCoefficientsReader
      extended by org.orekit.forces.gravity.tides.coefficients.FES2004FormatReader
All Implemented Interfaces:
DataLoader, OceanTidesCoefficientsProvider

public class FES2004FormatReader
extends OceanTidesCoefficientsReader

Reader for FES2004 formats.
The proper way to use this it to call the getCoefficientProvider method. Indeed, the OceanTidesCoefficientsFactory will determine the best reader to use, depending on file available in the file system.

Since:
1.2
Version:
$Id: FES2004FormatReader.java 17582 2017-05-10 12:58:16Z bignon $
Author:
Rami Houdroge
See Also:
OceanTidesCoefficientsReader
Concurrency :
not thread-safe
Concurrency comment :
instance is mutable

Field Summary
 
Fields inherited from class org.orekit.forces.gravity.tides.coefficients.OceanTidesCoefficientsReader
readCompleted
 
Constructor Summary
FES2004FormatReader(String supportedNames)
          Constructor
 
Method Summary
 void loadData(InputStream input, String name)
          Load data from a stream.
 
Methods inherited from class org.orekit.forces.gravity.tides.coefficients.OceanTidesCoefficientsReader
add, getCpmEpm, getCpmSpm, getDoodsonNumbers, getMaxDegree, getMaxOrder, getMinDegree, getSupportedNames, isEmpty, stillAcceptsData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FES2004FormatReader

public FES2004FormatReader(String supportedNames)
Constructor

Parameters:
supportedNames - regular expression for supported files names
Method Detail

loadData

public void loadData(InputStream input,
                     String name)
              throws IOException,
                     ParseException,
                     OrekitException
Load data from a stream.

Specified by:
loadData in interface DataLoader
Specified by:
loadData in class OceanTidesCoefficientsReader
Parameters:
input - data input stream
name - name of the file (or zip entry)
Throws:
IOException - if data can't be read
ParseException - if data can't be parsed
OrekitException - if some data is missing or if some loader specific error occurs


Copyright © 2017 CNES. All Rights Reserved.