Skip to content

Consider None-equivalent value for missing data points in weather #188

Open
@sebastian-peter

Description

@sebastian-peter

When no weather data is present for a coordinate/time combination, specific values (e.g. 0°K for empty temperature) are provided.

val EMPTY_WEATHER_DATA: WeatherData = WeatherData(
Quantities.getQuantity(0d, StandardUnits.SOLAR_IRRADIANCE),
Quantities.getQuantity(0d, StandardUnits.SOLAR_IRRADIANCE),
Quantities.getQuantity(0d, Units.KELVIN).to(StandardUnits.TEMPERATURE),
Quantities.getQuantity(0d, StandardUnits.WIND_VELOCITY)
)

We should have a discussion on whether this is the best way to solve this, in contrast to passing on None (or equivalent) to SPAs.

Metadata

Metadata

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions