nrel.hive.util.geo
Module Contents
Functions
|
tests if two geoids are at the same location in the simulation. allows for overriding test resolution to a parent level. |
- nrel.hive.util.geo.same_simulation_location(a: nrel.hive.util.GeoId, b: nrel.hive.util.GeoId, sim_h3_resolution: int, override_resolution: int | None) bool[source]
tests if two geoids are at the same location in the simulation. allows for overriding test resolution to a parent level.
- param a:
first geoid
- Parameters:
b –
second geoid
- param sim_h3_resolution:
resolution we want to compare at
- param override_resolution:
an overriding h3 spatial resolution, or, none to use this sim’s default res
- return:
True/False, or, a SimulationStateError