Bug fixes and improvements
This is a rather large PR. The highlights are as follows:
- Two bug fixes: The first one is related to the wrong assignment of
lonfrom thexsatendpointsendpoint input in this line of code. The second one was wrong upper limit for an iterator of one of the for-loops intsplinefunction in this line of code. - Significant performance improvement in computing tension spline by using
numba. The__calc_curvaturewas refactored to take advantage ofnumba's parallel range since this function is embarrassingly parallel. - Using
pygeoogcandasync_retrieverfor querying the 3DEP index RESTful service. These two libraries offer more stability and robustness for working with web services. - Some improvements in computing distances between points in a
geopandas.geoDataFrame. - Change type hinting of array-like objects from
numpy.typing.NDArraytonumpy.ndarraysince the newnumpy.typingmodule has been recently introduced tonumpyv1.21 andnumbastill does not support this version ofnumpy. - Some other minor improvemnts.