Class FESCHatEpsilonReader

  • All Implemented Interfaces:
    DataLoader

    public class FESCHatEpsilonReader
    extends OceanTidesReader
    Reader for ocean tides files following the fes2004.dat format.
    Since:
    6.1
    Author:
    Luc Maisonobe
    • Constructor Detail

      • FESCHatEpsilonReader

        public FESCHatEpsilonReader​(String supportedNames,
                                    double scaleCHat,
                                    double scaleEpsilon,
                                    OceanLoadDeformationCoefficients oldc,
                                    Map<Integer,​Double> astronomicalAmplitudes)
        Simple constructor.
        Parameters:
        supportedNames - regular expression for supported files names
        scaleCHat - scale of the CHat parameters
        scaleEpsilon - scale of the epsilon parameters
        oldc - load deformation coefficients for ocean tides
        astronomicalAmplitudes - map for astronomical amplitudes
        See Also:
        AstronomicalAmplitudeReader.getAstronomicalAmplitudesMap()
    • Method Detail

      • loadData

        public void loadData​(InputStream input,
                             String name)
                      throws IOException
        Load data from a stream.
        Parameters:
        input - data input stream
        name - name of the file (or zip entry)
        Throws:
        IOException - if data can't be read