Package ucar.nc2

Interface ProxyReader

    • Method Detail

      • reallyRead

        Array reallyRead​(Variable client,
                         CancelTask cancelTask)
                  throws IOException
        Read all the data for a Variable.
        Parameters:
        client - the client Variable
        cancelTask - user may cancel
        Returns:
        memory resident Array containing the data. Will have same shape as the Variable.
        Throws:
        IOException - on error
      • reallyRead

        Array reallyRead​(Variable client,
                         Section section,
                         CancelTask cancelTask)
                  throws IOException,
                         InvalidRangeException
        Read a section of the data for a Variable.
        Parameters:
        client - the client Variable
        section - the section of data to read.
        cancelTask - user may cancel
        Returns:
        memory resident Array containing the data. Will have same shape as the Section.
        Throws:
        IOException - on error
        InvalidRangeException - if section has incorrect rank or illegal shape.