Skip to content

Commit

Permalink
addresses PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielBarberini committed Oct 13, 2024
1 parent 0c1a979 commit a419057
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions lib/models/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ class AtmosphericModelTypes(str, Enum):
STANDARD_ATMOSPHERE: str = "STANDARD_ATMOSPHERE"
CUSTOM_ATMOSPHERE: str = "CUSTOM_ATMOSPHERE"
WYOMING_SOUNDING: str = "WYOMING_SOUNDING"
NOAARUCSOUNDING: str = "NOAARUCSOUNDING"
FORECAST: str = "FORECAST"
REANALYSIS: str = "REANALYSIS"
ENSEMBLE: str = "ENSEMBLE"
Expand All @@ -17,7 +16,7 @@ class AtmosphericModelTypes(str, Enum):
class Env(BaseModel):
latitude: float
longitude: float
elevation: Optional[int] = None
elevation: Optional[int] = 0

# Optional parameters
atmospheric_model_type: Optional[AtmosphericModelTypes] = None
Expand Down
3 changes: 3 additions & 0 deletions lib/models/motor.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ class InterpolationMethods(str, Enum):
LINEAR: str = "LINEAR"
SPLINE: str = "SPLINE"
AKIMA: str = "AKIMA"
POLYNOMIAL: str = "POLYNOMIAL"
SHEPARD: str = "SHEPARD"
RBF: str = "RBF"


class MotorTank(BaseModel):
Expand Down

0 comments on commit a419057

Please sign in to comment.