Class AreaReader


  • public class AreaReader
    extends Object
    Class to read an AREA file and create a netCDF data structure from it.
    • Constructor Detail

      • AreaReader

        public AreaReader()
    • Method Detail

      • init

        public boolean init​(String location,
                            NetcdfFile ncfile)
                     throws ucar.mcidas.AreaFileException
        initialize; note that the file is reopened here
        Parameters:
        location - the AREA file to open
        ncfile - the netCDF file to fill out
        Returns:
        true if successful
        Throws:
        ucar.mcidas.AreaFileException - problem opening the area file
      • isValidFile

        public static boolean isValidFile​(RandomAccessFile raf)
        Check to see if this is a valid AREA file.
        Parameters:
        raf - the file in question
        Returns:
        true if it is an AREA file.