marola.model

package marola.model

Members list

Type members

Classlikes

final case class Beach(name: String, coordinates: Coordinates, distanceKm: Double)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class BeachForecast(beach: Beach, timezoneId: String, hours: List[HourlyConditions])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class BestHour(beach: Beach, hour: HourlyConditions, score: Int, jellyfishRisk: JellyfishRisk, whaleSightingLikelihood: WhaleSightingLikelihood, notes: List[String], waterQuality: Option[WaterQuality] = ..., dayTides: List[TideEvent] = ..., whalePeak: Option[HourlyConditions] = ..., facilities: Facilities = ...)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Coordinates

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class Coordinates(lat: Double, lon: Double)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class HourlyConditions(time: LocalDateTime, airTempC: Option[Double], seaTempC: Option[Double], waveHeightM: Option[Double], windSpeedKmh: Option[Double], windDirectionDeg: Option[Double], currentVelocityKmh: Option[Double], uvIndex: Option[Double], precipitationProbabilityPct: Option[Double], isDaylight: Option[Boolean], wavePeriodS: Option[Double] = ..., waveDirectionDeg: Option[Double] = ..., swellWaveHeightM: Option[Double] = ..., swellWavePeriodS: Option[Double] = ..., seaLevelM: Option[Double] = ...)

One hourly forecast slice, time in the beach's own local time (not UTC, not the JVM's default zone) — see OpenMeteoClient.

One hourly forecast slice, time in the beach's own local time (not UTC, not the JVM's default zone) — see OpenMeteoClient.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Humpback whales migrate along the Brazilian coast in austral winter/spring (roughly July-November, see Swimability.whaleSightingLikelihood) — informational, not a safety/scoring signal like JellyfishRisk, so it never affects swimabilityScore.

Humpback whales migrate along the Brazilian coast in austral winter/spring (roughly July-November, see Swimability.whaleSightingLikelihood) — informational, not a safety/scoring signal like JellyfishRisk, so it never affects swimabilityScore.

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
enum WindLevel

The wind band Swimability.windDelta scores and names ("breezy", "strong wind"), exposed so the map can show the same word without re-deriving a threshold in JavaScript (MIP-0009 §5).

The wind band Swimability.windDelta scores and names ("breezy", "strong wind"), exposed so the map can show the same word without re-deriving a threshold in JavaScript (MIP-0009 §5).

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all