get_nearest_runtime¶
- HSTB.kluster.xarray_conversion.get_nearest_runtime(timestamp, runtime_settdict)¶
Both installation parameters and runtime parameters have timestamped entries of values. Here we try and find the nearest entry to the provided timestamp.
- Parameters
timestamp (
str) – utc timestamp we want to find the nearest entry forruntime_settdict (
dict) – timestamped entries for the installation parameters
- Returns
runtime parameters for the provided timestamp
- Return type
dict