insarviz.Loader module

class insarviz.Loader.Loader[source]

Bases: PyQt5.QtCore.QObject

get_metadata(filename)[source]

creates a dictionnary containing all metadata entries, if a ‘.meta’ file exists in same repo as the datacube file

filenamestr

name of the datacube file

None.

load_band(i=0)[source]

load band i from dataset print loading time

iint, optional

Band number to load. The default is 0.

bandarray

Loaded band data.

TYPE

nodata value in band i.

TYPE

type of data in band i.

load_profile(i, j)[source]

Load data corresponding to all bands/dates, at point (i,j) (texture/data coordinates)

ifloat or int

col number

jfloat or int

row number

array

dataset values at point (i,j) (in texture/data coordinates) for all bands/dates.

open(filename)[source]

Open data file and store dataset. Print dataset attributes.

filenamestr, path

Name of the file to load (with path).

None.

profile_changed