Geosys

AgriquestBlocks

Bases: Enum

Available AgriQuest Block codes

Source code in geosyspy/utils/constants.py
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
class AgriquestBlocks(Enum):
    """
    Available AgriQuest Block codes
    """
    FIRST_LEVEL = 129
    AMU_AUSTRALIA_LEVEL_1 = 205
    AMU_AUSTRALIA_LEVEL_2 = 206
    AMU_CHINA = 202
    AMU_EUROPE_RUSSIA = 197
    AMU_INDIA = 204
    AMU_MEXICO = 212
    AMU_NORTH_AMERICA = 207
    AMU_SOUTH_AFRICA = 213
    BM_REGIONS = 139
    CAR = 140
    COUNTY = 141
    FRA_CANTONS = 216
    FRA_COMMUNES = 135
    FRA_DEPARTEMENTS = 226
    MESOREGION = 131
    NORTH_AFRICA_AMU = 125
    RAION = 127
    SERBIA = 132
    SOUTH_AMERICA_MUNICIPIOS_2020 = 267
    SOUTH_AMERICA_AMU = 115
    SPAIN_COMARCAS = 136
    US_ASD = 130
    WESTERN_AFRICA_AMU = 122

AgriquestCommodityCode

Bases: Enum

Available AgriQuest Commodity values

Source code in geosyspy/utils/constants.py
54
55
56
57
58
59
class AgriquestCommodityCode(Enum):
    """
    Available AgriQuest Commodity values
    """
    ALL_VEGETATION = 33
    ALL_CROPS = 35

AgriquestFranceBlockCode

Bases: Enum

Available AgriQuest Block codes dedicated to France

Source code in geosyspy/utils/constants.py
62
63
64
65
66
67
68
class AgriquestFranceBlockCode(Enum):
    """
    Available AgriQuest Block codes dedicated to France
    """
    FRA_CANTONS = 216
    FRA_COMMUNES = 135
    FRA_DEPARTEMENTS = 226

AgriquestWeatherType

Bases: Enum

Available AgriQuest Weather types

Source code in geosyspy/utils/constants.py
101
102
103
104
105
106
107
108
109
110
111
112
113
class AgriquestWeatherType(Enum):
    """
    Available AgriQuest Weather types
    """
    CUMULATIVE_PRECIPITATION = "cumulative-precipitation"
    MIN_TEMPERATURE = "min-temperature"
    AVERAGE_TEMPERATURE = "average-temperature"
    MAX_TEMPERATURE = "max-temperature"
    MAX_WIND_SPEED = "max-wind-speed"
    RELATIVE_HUMIDITY = "relative-humidity"
    SNOW_DEPTH = "snow-depth"
    SOIL_MOISTURE = "soil-moisture"
    SOLAR_RADIATION = "solar-radiation"

CropIdSeason

Bases: Enum

Available season values for analytics processor Zarc

Source code in geosyspy/utils/constants.py
124
125
126
127
128
129
class CropIdSeason(Enum):
    """
    Available season values  for analytics processor Zarc
    """
    SEASON_1="SEASON_1"
    SEASON_2="SEASON_2"

Emergence

Bases: Enum

Type of Emergence query used for Emergence analytics processor

Source code in geosyspy/utils/constants.py
45
46
47
48
49
50
51
class Emergence(Enum):
    """
    Type of Emergence query used for Emergence analytics processor
    """
    EMERGENCE_IN_SEASON = "IN_SEASON"
    EMERGENCE_HISTORICAL = "HISTORICAL"
    EMERGENCE_DELAY = "DELAY"

Env

Bases: Enum

Environment to target (PROD, PREPROD)

Source code in geosyspy/utils/constants.py
23
24
25
26
27
28
class Env(Enum):
    """
    Environment to target (PROD, PREPROD)
    """
    PROD = "prod"
    PREPROD = "preprod"

GeosysApiEndpoints

Bases: Enum

Available Geosys APIs Endpoints

Source code in geosyspy/utils/constants.py
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
class GeosysApiEndpoints(Enum):
    """
    Available Geosys APIs Endpoints
    """
    MASTER_DATA_MANAGEMENT_ENDPOINT = "master-data-management/v6"
    VTS_ENDPOINT = "vegetation-time-series/v1/season-fields"
    VTS_BY_PIXEL_ENDPOINT = "vegetation-time-series/v1/season-fields/pixels"
    FLM_CATALOG_IMAGERY = "field-level-maps/v4/season-fields/{}/catalog-imagery"
    FLM_COVERAGE = "field-level-maps/v4/season-fields/{}/coverage"
    WEATHER_ENDPOINT = "Weather/v1/weather"
    ANALYTICS_FABRIC_ENDPOINT = "analytics/metrics"
    ANALYTICS_FABRIC_LATEST_ENDPOINT = "analytics/metrics-latest"
    ANALYTICS_FABRIC_SCHEMA_ENDPOINT = "analytics/schemas"
    AGRIQUEST_ENDPOINT = "agriquest/Geosys.Agriquest.CropMonitoring.WebApi/v0/api"
    # Analytics processor
    PROCESSOR_EVENTS_ENDPOINT = "analytics-pipeline/v1/processors/events"
    LAUNCH_PROCESSOR_ENDPOINT = "analytics-pipeline/v1/processors/{}/launch"

Harvest

Bases: Enum

Type of Harvest query used for Harvest analytics processor

Source code in geosyspy/utils/constants.py
38
39
40
41
42
43
class Harvest(Enum):
    """
    Type of Harvest query used for Harvest analytics processor
    """
    HARVEST_IN_SEASON = "IN_SEASON"
    HARVEST_HISTORICAL = "HISTORICAL"

Region

Bases: Enum

Region to target (NA)

Source code in geosyspy/utils/constants.py
31
32
33
34
35
class Region(Enum):
    """
    Region to target (NA)
    """
    NA = "na"

SatelliteImageryCollection

Bases: Enum

Available imagery collections

Source code in geosyspy/utils/constants.py
 4
 5
 6
 7
 8
 9
10
11
class SatelliteImageryCollection(Enum):
    """
    Available imagery collections
    """
    MODIS = "MODIS"
    SENTINEL_2 = "SENTINEL_2"
    LANDSAT_8 = "LANDSAT_8"
    LANDSAT_9 = "LANDSAT_9"

WeatherTypeCollection

Bases: Enum

Available weather collections

Source code in geosyspy/utils/constants.py
14
15
16
17
18
19
20
class WeatherTypeCollection(Enum):
    """
    Available weather collections
    """
    WEATHER_FORECAST_DAILY = "FORECAST_DAILY"
    WEATHER_FORECAST_HOURLY = "FORECAST_HOURLY"
    WEATHER_HISTORICAL_DAILY = "HISTORICAL_DAILY"

ZarcCycleType

Bases: Enum

Available season values for analytics processor Zarc

Source code in geosyspy/utils/constants.py
132
133
134
135
136
137
138
139
class ZarcCycleType(Enum):
    """
    Available season values  for analytics processor Zarc
    """
    CYCLE_TYPE_1 = "1"
    CYCLE_TYPE_2 = "2"
    CYCLE_TYPE_3 = "3"
    NONE = None

ZarcSoilType

Bases: Enum

Available Soil Type values for analytics processor Zarc

Source code in geosyspy/utils/constants.py
115
116
117
118
119
120
121
122
class ZarcSoilType(Enum):
    """
    Available Soil Type values for analytics processor Zarc
    """
    SOIL_TYPE_1 = "1"
    SOIL_TYPE_2 = "2"
    SOIL_TYPE_3 = "3"
    NONE = None