Sampling values of a raster at specific geographic coordinates can be done with a number of Python libraries, but I believe the task is most easily accomplished with the geospatial library PyGMT. One ...
Overview: This project demonstrates how to extract coordinates from Google Earth data, generate Digital Elevation Models (DEMs) using those coordinates, and visualize the resulting terrain in Python.
A working python 3 installation is required (3.10 <= version <= 3.13 are tested). It is highly recommended to use this module in combination with Ipython and jupyter ...