DoubleGriddedGeoLayer

constructor(environment: Environment<*, GeoPosition>, data: GridSnapshots, timeScale: String = DEFAULT_TIME_SCALE.toIsoString(), timeOrigin: String? = null, spatialInterpolation: SpatialInterpolation = BilinearInterpolation, temporalInterpolation: TemporalInterpolation = LinearInterpolation, missingValue: Double = Double.NaN)

Parameters

environment

the environment, whose simulation provides the time.

data

the data, such as GridsFromDirectory or CopernicusData.

timeScale

the real-world duration of a simulation time unit, as an ISO-8601 duration.

timeOrigin

the real-world instant of simulation time 0, as an ISO-8601 instant; the first instant of data when null.

spatialInterpolation

how to compute values between the nodes of a grid.

temporalInterpolation

how to compute values between two instants of the data.

missingValue

the value where the data is missing.