load.dataset
Usage
Firstly, to load a dataset instance, you need to initiliaze a FRDCDataset object, providing the site, date, and version.
We recommend using the FRDCDatasetPreset module to load explicitly known datasets.
Then, we can use the ds object to load objects of the dataset:
aris a stacked NDArray of the hyperspectral bands of shape (H x W x C)orderis a list of strings, containing the names of the bands, ordered according to the channels ofardis a dictionary of the hyperspectral bands of shape (H x W), keyed by the band namesboundsis a list of bounding boxes, in the format ofRect, anamedtupleof x0, y0, x1, y1labelsis a list of strings, containing the labels of the bounding boxes, ordered according tobounds
I can't find a dataset!
Some datasets, especially new ones may be unregistered and you must specify the exact site / date / version of it.
See below for examples on how to format this.
site="ds"date="date"version="ver"
site="ds"date="date"version="ver/01/data"
site="ds"date="date"version=None