Package aris

Class ARISFileHeader

java.lang.Object
aris.ARISHeader
aris.ARISFileHeader
All Implemented Interfaces:
Serializable

public class ARISFileHeader extends ARISHeader implements Serializable
ARIS File Header. See https://github.com/SoundMetrics/aris-file-sdk/blob/master/type-definitions/C/FileHeader.h
Author:
Doug Gillespie
See Also:
  • Field Details

  • Constructor Details

    • ARISFileHeader

      public ARISFileHeader(String fileName)
  • Method Details

    • readHeader

      public void readHeader(DataInput dis) throws IOException
      Specified by:
      readHeader in class ARISHeader
      Throws:
      IOException
    • getDatasize

      public static int getDatasize()
      Returns:
      the datasize
    • getVersion

      public int getVersion()
      Returns:
      the version
    • getFrameCount

      public int getFrameCount()
      Returns:
      the frameCount
    • getFrameRate

      public int getFrameRate()
      Returns:
      the frameRate
    • getHighResolution

      public int getHighResolution()
      Returns:
      the highResolution
    • getNumRawBeams

      public int getNumRawBeams()
      Returns:
      the numRawBeams
    • getSampleRate

      public float getSampleRate()
      Returns:
      the sampleRate
    • getSamplesPerChannel

      public int getSamplesPerChannel()
      Returns:
      the samplesPerChannel
    • getReceiverGain

      public int getReceiverGain()
      Returns:
      the receiverGain
    • getWindowStart

      public float getWindowStart()
      Returns:
      the windowStart
    • getWindowLength

      public float getWindowLength()
      Returns:
      the windowLength
    • getReverse

      public int getReverse()
      Returns:
      the reverse
    • getSN

      public int getSN()
      Returns:
      the sN
    • getDatelength

      public static int getDatelength()
      Returns:
      the datelength
    • getStrDate

      public String getStrDate()
      Returns:
      the strDate
    • getHeadidlen

      public static int getHeadidlen()
      Returns:
      the headidlen
    • getStrHeaderID

      public String getStrHeaderID()
      Returns:
      the strHeaderID
    • getUserID1

      public int getUserID1()
      Returns:
      the userID1
    • getUserID2

      public int getUserID2()
      Returns:
      the userID2
    • getUserID3

      public int getUserID3()
      Returns:
      the userID3
    • getUserID4

      public int getUserID4()
      Returns:
      the userID4
    • getStartFrame

      public int getStartFrame()
      Returns:
      the startFrame
    • getEndFrame

      public int getEndFrame()
      Returns:
      the endFrame
    • getTimeLapse

      public int getTimeLapse()
      Returns:
      the timeLapse
    • getRecordInterval

      public int getRecordInterval()
      Returns:
      the recordInterval
    • getRadioSeconds

      public int getRadioSeconds()
      Returns:
      the radioSeconds
    • getFrameInterval

      public int getFrameInterval()
      Returns:
      the frameInterval
    • getFlags

      public int getFlags()
      Returns:
      the flags
    • getAuxFlags

      public int getAuxFlags()
      Returns:
      the auxFlags
    • getSspd

      public int getSspd()
      Returns:
      the sspd
    • getFlags3D

      public int getFlags3D()
      Returns:
      the flags3D
    • getSoftwareVersion

      public int getSoftwareVersion()
      Returns:
      the softwareVersion
    • getWaterTemp

      public int getWaterTemp()
      Returns:
      the waterTemp
    • getSalinity

      public int getSalinity()
      Returns:
      the salinity
    • getPulseLength

      public int getPulseLength()
      Returns:
      the pulseLength
    • getTxMode

      public int getTxMode()
      Returns:
      the txMode
    • getVersionFGPA

      public int getVersionFGPA()
      Returns:
      the versionFGPA
    • getVersionPSuC

      public int getVersionPSuC()
      Returns:
      the versionPSuC
    • getThumbnailFI

      public int getThumbnailFI()
      Returns:
      the thumbnailFI
    • getFileSize

      public long getFileSize()
      Returns:
      the fileSize
    • getOptionalHeaderSize

      public long getOptionalHeaderSize()
      Returns:
      the optionalHeaderSize
    • getOptionalTailSize

      public long getOptionalTailSize()
      Returns:
      the optionalTailSize
    • getVersionMinor

      public int getVersionMinor()
      Returns:
      the versionMinor
    • getLargeLens

      public int getLargeLens()
      Returns:
      the largeLens
    • getPadding

      public static int getPadding()
      Returns:
      the padding
    • getFileName

      public String getFileName()