-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathremote_sensing.py
59 lines (54 loc) · 1.77 KB
/
remote_sensing.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
from enum import Enum
from typing import List, Optional
from pydantic import BaseModel, Field
class RemoteSensingCategory(str, Enum):
airport = "airport"
baseball_field = "baseball-field"
beach = "beach"
bridge = "bridge"
cemetery = "cemetery"
commercial_area = "commercial-area"
dam = "dam"
desert = "desert"
factory = "factory"
farmlands = "farmlands"
forest = "forest"
golf_course = "golf-course"
greenhouse = "greenhouse"
hospital = "hospital"
industrial_area = "industrial-area"
lake = "lake"
landfill = "landfill"
military_base = "military-base"
mining_site = "mining-site"
mountain = "mountain"
oil_field = "oil-field"
other = "other"
park = "park"
parking_lot = "parking-lot"
port = "port"
power_plant = "power-plant"
quarry = "quarry"
railway_station = "railway-station"
residential_area = "residential-area"
resort = "resort"
river = "river"
runway = "runway"
school_campus = "school-campus"
shopping_mall = "shopping-mall"
solar_farm = "solar-farm"
stadium = "stadium"
storage_tanks = "storage-tanks"
vineyard = "vineyard"
water_treatment = "water-treatment"
wetland = "wetland"
wind_farm = "wind-farm"
class RemoteSensing(BaseModel):
description: Optional[str] = Field(None, description="2-3 sentence description of the satellite image.")
objects: Optional[List[str]] = Field(None, description="List of unique objects in the scene")
categories: Optional[List[RemoteSensingCategory]] = Field(
None, description="List of categories that pertain to the scene."
)
is_visible: Optional[bool] = Field(
None, description="Whether the land mass is visible from space, or if it is obscured by clouds."
)