In [ ]:
%matplotlib inline
from matplotlib import pylab as plt
import os
from geonotebook.wrappers import RasterData, RasterDataCollection
from IPython.display import display, Image
PATHS = [
    "data/TimeSeries_01.tif",
    "data/TimeSeries_02.tif",
    "data/TimeSeries_03.tif"]

Unstyled TimeSeries Layer


In [ ]:
EXPECTED="https://data.kitware.com/api/v1/item/586a91488d777f1e3428d855/download"

M.set_center(-120.32, 47.84, 8)
rdc = RasterDataCollection(PATHS)
M.add_layer(rdc[:,4], 'WELD')

display(Image(EXPECTED, format="png"))

In [ ]:
EXPECTED="https://data.kitware.com/api/v1/item/586a91488d777f1e3428d855/download"

M.layers[0].idx(0)

display(Image(EXPECTED, format="png"))

In [ ]:
EXPECTED="https://data.kitware.com/api/v1/item/586a923b8d777f1e3428d858/download"

M.layers[0].idx(1)

display(Image(EXPECTED, format="png"))

In [ ]:
EXPECTED="https://data.kitware.com/api/v1/item/586a92878d777f1e3428d85b/download"

M.layers[0].idx(2)

display(Image(EXPECTED, format="png"))

In [ ]:
EXPECTED="https://data.kitware.com/api/v1/item/586a923b8d777f1e3428d858/download"
# Reset to index 0
M.layers[0].idx(0)
M.layers[0].forward()

display(Image(EXPECTED, format="png"))

In [ ]:
EXPECTED="https://data.kitware.com/api/v1/item/586a91488d777f1e3428d855/download"

M.layers[0].idx(1)
M.layers[0].backward()

display(Image(EXPECTED, format="png"))