In the legacy version of owi-preprocessor, there are methods get_closest_insitutest and get_closest_soilprofile which retrieve the closest InsituTest and SoilProfile based on a given set of coordinates (latitude / longitude).
In most workflows, we are trying to find the InsituTest / SoilProfile closest to a location with a given name. Currently, we first need to look up the location, get the coordinates and then use these coordinates in the get_closest_insitutest and get_closest_soilprofile methods. It would be better if all that functionality were wrapped in one method.
In the legacy version of owi-preprocessor, there are methods
get_closest_insitutest
andget_closest_soilprofile
which retrieve the closest InsituTest and SoilProfile based on a given set of coordinates (latitude / longitude). In most workflows, we are trying to find the InsituTest / SoilProfile closest to a location with a given name. Currently, we first need to look up the location, get the coordinates and then use these coordinates in theget_closest_insitutest
andget_closest_soilprofile
methods. It would be better if all that functionality were wrapped in one method.