rlt_migration.models.dataset module#

class rlt_migration.models.dataset.BaseDataset(dataset_identifier: str, geom_wkt: str | None = None, dataset_date: datetime.date | None = None)#

Bases : object

__init__(dataset_identifier: str, geom_wkt: str | None = None, dataset_date: date | None = None) None#
dataset_date: date | None = None#
dataset_identifier: str#
geom_wkt: str | None = None#
class rlt_migration.models.dataset.CouleurEnum(value)#

Bases : Enum

An enumeration.

COULEUR = 'C'#
INFRAROUGE = 'IR'#
INFRAROUGE_COULEUR = 'IRC'#
NOIR_ET_BLANC = 'P'#
NON_DEFINI = 'NA'#
class rlt_migration.models.dataset.Dataset(dataset_identifier: str, geom_wkt: str | None = None, dataset_date: datetime.date | None = None, dataset_idta: str = '', resolution: int = 0, support: rlt_migration.models.image.SupportEnum = <SupportEnum.NON_DEFINI: 'NA'>, oblique: bool | None = None, couleur: rlt_migration.models.dataset.CouleurEnum = <CouleurEnum.NON_DEFINI: 'NA'>, expected_image_number: int | None = None, images: [<class 'rlt_migration.models.image.Image'>] = <factory>)#

Bases : BaseDataset

__init__(dataset_identifier: str, geom_wkt: str | None = None, dataset_date: ~datetime.date | None = None, dataset_idta: str = '', resolution: int = 0, support: ~rlt_migration.models.image.SupportEnum = SupportEnum.NON_DEFINI, oblique: bool | None = None, couleur: ~rlt_migration.models.dataset.CouleurEnum = CouleurEnum.NON_DEFINI, expected_image_number: int | None = None, images: [<class 'rlt_migration.models.image.Image'>] = <factory>) None#
couleur: CouleurEnum = 'NA'#
dataset_idta: str = ''#
expected_image_number: int | None = None#
images: [<class 'rlt_migration.models.image.Image'>]#
oblique: bool | None = None#
resolution: int = 0#
support: SupportEnum = 'NA'#
class rlt_migration.models.dataset.OldDataset(dataset_identifier: str, geom_wkt: str | None = None, dataset_date: datetime.date | None = None, nom_carte: str = '', collection: str = '', expected_image_number: int | None = None, images: [<class 'rlt_migration.models.image.OldImage'>] = <factory>)#

Bases : BaseDataset

__init__(dataset_identifier: str, geom_wkt: str | None = None, dataset_date: ~datetime.date | None = None, nom_carte: str = '', collection: str = '', expected_image_number: int | None = None, images: [<class 'rlt_migration.models.image.OldImage'>] = <factory>) None#
collection: str = ''#
expected_image_number: int | None = None#
images: [<class 'rlt_migration.models.image.OldImage'>]#
nom_carte: str = ''#