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
lon
from thexsatendpoints
endpoint input in this line of code. The second one was wrong upper limit for an iterator of one of the for-loops intspline
function in this line of code. - Significant performance improvement in computing tension spline by using
numba
. The__calc_curvature
was refactored to take advantage ofnumba
's parallel range since this function is embarrassingly parallel. - Using
pygeoogc
andasync_retriever
for 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.NDArray
tonumpy.ndarray
since the newnumpy.typing
module has been recently introduced tonumpy
v1.21 andnumba
still does not support this version ofnumpy
. - Some other minor improvemnts.