Gridded Geo Layer
constructor(environment: Environment<*, GeoPosition>, data: GridSnapshots, converter: (Double) -> T, timeScale: String = DEFAULT_TIME_SCALE.toIsoString(), timeOrigin: String? = null, spatialInterpolation: SpatialInterpolation = BilinearInterpolation, temporalInterpolation: TemporalInterpolation = LinearInterpolation)
Parameters
environment
the environment, whose simulation provides the time.
data
the data, such as GridsFromDirectory or CopernicusData.
converter
how to turn the interpolated values, Double.NaN if missing, into the values of the layer.
time Scale
the real-world duration of a simulation time unit, as an ISO-8601 duration (e.g., PT6H).
time Origin
the real-world instant of simulation time 0, as an ISO-8601 instant (e.g., 2024-06-10T00:00:00Z); the first instant of data when null.
spatial Interpolation
how to compute values between the nodes of a grid.
temporal Interpolation
how to compute values between two instants of the data.