OWI-Lab / owimetadatabase-preprocessor

Basic processing of the data from owimetadatabase
https://owi-lab.github.io/owimetadatabase-preprocessor/
GNU General Public License v3.0
2 stars 1 forks source link

Retrieval of closest CPT and closest soil profile based on TestLocation name #1

Open snakesonabrain opened 9 months ago

snakesonabrain commented 9 months ago

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.

csasj commented 7 months ago

Is it solved @arsmlnkv ?

arsmlnkv commented 7 months ago

Is it solved @arsmlnkv ?

Not yet, but I will come back to wrap up, once a small milestone on owimetadatabse migration is achieved.