pysepal.aoi.aoi_view.AdminField#
- class pysepal.aoi.aoi_view.AdminField(*args, **kwargs)[source]#
An admin level selector.
It is binded to ee (GAUL 2024) or not (GADM). Allows to select administrative codes taking into account the administrative parent code and displaying humanly readable administrative names.
- Parameters:
level (int) – The administrative level of the field
parent (Select | None) – the adminField that deal with the parent admin level of the current selector. used to narrow down the possible options
ee – whether to use ee or not (default to True)
gee (bool)
Attributes
geewhether or not to depend on earthengine
levelThe admin level of the current field
parentThe parent adminfield object
Methods
- AdminField.__init__(level, parent=None, gee=True)[source]#
An admin level selector.
It is binded to ee (GAUL 2024) or not (GADM). Allows to select administrative codes taking into account the administrative parent code and displaying humanly readable administrative names.
- Parameters:
level (int) – The administrative level of the field
parent (Select | None) – the adminField that deal with the parent admin level of the current selector. used to narrow down the possible options
ee – whether to use ee or not (default to True)
gee (bool)
- Return type:
None