Class GempakSoundingFileReader

    • Method Detail

      • getInstance

        public static GempakSoundingFileReader getInstance​(RandomAccessFile raf,
                                                           boolean fullCheck)
                                                    throws IOException
        Initialize the file, read in all the metadata (ala DM_OPEN)
        Parameters:
        raf - RandomAccessFile to read.
        fullCheck - if true, check entire structure
        Returns:
        A GempakSoundingFileReader
        Throws:
        IOException - problem reading file
      • init

        protected boolean init​(boolean fullCheck)
                        throws IOException
        Initialize this reader. Get the Grid specific info
        Overrides:
        init in class AbstractGempakStationFileReader
        Parameters:
        fullCheck - check to make sure there are grids we can handle
        Returns:
        true if successful
        Throws:
        IOException - problem reading the data
      • getVerticalCoordinate

        public int getVerticalCoordinate()
        Get the vertical coordinate
        Returns:
        the vertical coordinate (PRES_COORD, THTA_COORD, HGHT_COORD)
      • getMergedParts

        public List<String> getMergedParts()
        Get the list of merged parts in this file
        Returns:
        a list of the unmerged parts (only SNDT)
      • getUnmergedParts

        public List<String> getUnmergedParts()
        Get the list of unmerged parts in this file
        Returns:
        a list of the unmerged parts
      • printOb

        public void printOb​(int row,
                            int col)
        Print the list of dates in the file
        Parameters:
        row - ob row
        col - ob column