pyowm.agroapi10 package¶
Submodules¶
pyowm.agroapi10.agro_manager module¶
pyowm.agroapi10.enums module¶
-
class
pyowm.agroapi10.enums.
PaletteEnum
[source]¶ Bases:
object
Allowed color palettes for satellite images on Agro API 1.0
-
BLACK_AND_WHITE
= '2'¶
-
CONTRAST_CONTINUOUS
= '4'¶
-
CONTRAST_SHIFTED
= '3'¶
-
GREEN
= '1'¶
-
-
class
pyowm.agroapi10.enums.
PresetEnum
[source]¶ Bases:
object
Allowed presets for satellite images on Agro API 1.0
-
EVI
= 'evi'¶
-
FALSE_COLOR
= 'falsecolor'¶
-
NDVI
= 'ndvi'¶
-
TRUE_COLOR
= 'truecolor'¶
-
pyowm.agroapi10.imagery module¶
pyowm.agroapi10.polygon module¶
pyowm.agroapi10.search module¶
pyowm.agroapi10.soil module¶
-
class
pyowm.agroapi10.soil.
Soil
(reference_time, surface_temp, ten_cm_temp, moisture, polygon_id=None)[source]¶ Bases:
object
Soil data over a specific Polygon
Parameters: - reference_time (int) – UTC UNIX time of soil data measurement
- surface_temp (float) – soil surface temperature in Kelvin degrees
- ten_cm_temp (float) – soil temperature at 10 cm depth in Kelvin degrees
- moisture (float) – soil moisture in m^3/m^3
- polygon_id (str) – ID of the polygon this soil data was measured upon
Returns: a Soil instance
Raises: AssertionError when any of the mandatory fields is None or has wrong type
-
reference_time
(timeformat='unix')[source]¶ Returns the UTC time telling when the soil data was measured
Parameters: timeformat (str) – the format for the time value. May be: ‘unix’ (default) for UNIX time ‘iso’ for ISO8601-formatted string in the format YYYY-MM-DD HH:MM:SS+00
‘date fordatetime.datetime
object instanceReturns: an int or a str
pyowm.agroapi10.uris module¶
URIs templates for resources exposed by the Agro API 1.0