greenwich/raster.py
def array(self, envelope=()):
        """Returns an NDArray, optionally subset by spatial envelope.

        Keyword args:
        envelope -- coordinate extent tuple or Envelope
        """
        args = ()
        if envelope:
            args = self.get_offset(envelope)
        return self.ds.ReadAsArray(*args)
def array(self, envelope=()):
        args = ()
        if envelope:
            args = self.get_offset(envelope)
        return self.ds.ReadAsArray(*args)
def array ( self , envelope = ( ) ) : args = ( ) if envelope : args = self . get_offset ( envelope ) return self . ds . ReadAsArray ( * args )
Returns an NDArray, optionally subset by spatial envelope.

        Keyword args:
        envelope -- coordinate extent tuple or Envelope
Returns an NDArray optionally subset by spatial envelope .