Skip to content

Commit 597c199

Browse files
committedApr 17, 2023
Linting
1 parent eab7c3b commit 597c199

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed
 

‎README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616

1717
**xDEM** is an open source project to develop a core Python package for the analysis of digital elevation models (DEMs).
1818

19-
It aims at **providing modular and robust tools for the most common analyses needed with DEMs**, including both geospatial
20-
operations specific to DEMs and a wide range of 3D alignment and correction methods from published, peer-reviewed studies.
21-
The core manipulation of DEMs (e.g., vertical alignment, terrain analysis) are **conveniently centered around `DEM` and `dDEM` classes** (that, notably, re-implements all tools
22-
of [gdalDEM](https://gdal.org/programs/gdaldem.html)). More complex pipelines (e.g., 3D rigid coregistration, bias corrections, filtering) are **built around
23-
modular `Coreg`, `BiasCorr` and `Filter` classes that easily interface between themselves**. Finally, xDEM includes advanced
19+
It aims at **providing modular and robust tools for the most common analyses needed with DEMs**, including both geospatial
20+
operations specific to DEMs and a wide range of 3D alignment and correction methods from published, peer-reviewed studies.
21+
The core manipulation of DEMs (e.g., vertical alignment, terrain analysis) are **conveniently centered around `DEM` and `dDEM` classes** (that, notably, re-implements all tools
22+
of [gdalDEM](https://gdal.org/programs/gdaldem.html)). More complex pipelines (e.g., 3D rigid coregistration, bias corrections, filtering) are **built around
23+
modular `Coreg`, `BiasCorr` and `Filter` classes that easily interface between themselves**. Finally, xDEM includes advanced
2424
uncertainty analysis tools based on spatial statistics of [SciKit-GStat](https://scikit-gstat.readthedocs.io/en/latest/).
2525

26-
Additionally, xDEM inherits many convenient functionalities from [GeoUtils](https://github.com/GlacioHack/geoutils) such as
26+
Additionally, xDEM inherits many convenient functionalities from [GeoUtils](https://github.com/GlacioHack/geoutils) such as
2727
**implicit loading**, **numerical interfacing** and **convenient object-based geospatial methods** to easily perform
28-
the most common higher-level tasks needed by geospatial users (e.g., reprojection, cropping, vector masking). Through [GeoUtils](https://github.com/GlacioHack/geoutils), xDEM
29-
relies on [Rasterio](https://github.com/rasterio/rasterio), [GeoPandas](https://github.com/geopandas/geopandas) and [Pyproj](https://github.com/pyproj4/pyproj)
28+
the most common higher-level tasks needed by geospatial users (e.g., reprojection, cropping, vector masking). Through [GeoUtils](https://github.com/GlacioHack/geoutils), xDEM
29+
relies on [Rasterio](https://github.com/rasterio/rasterio), [GeoPandas](https://github.com/geopandas/geopandas) and [Pyproj](https://github.com/pyproj4/pyproj)
3030
for georeferenced calculations, and on [NumPy](https://github.com/numpy/numpy) and [Xarray](https://github.com/pydata/xarray) for numerical analysis. It allows easy access to
3131
the functionalities of these packages through interfacing or composition, and quick inter-operability through object conversion.
3232

@@ -47,7 +47,7 @@ See [mamba's documentation](https://mamba.readthedocs.io/en/latest/) to install
4747

4848
## Citing methods implemented in the package
4949

50-
When using a method implemented in xDEM, please **cite both the package and the related study**:
50+
When using a method implemented in xDEM, please **cite both the package and the related study**:
5151

5252
Citing xDEM: [![Zenodo](https://zenodo.org/badge/doi/10.5281/zenodo.4809697.svg)](https://zenodo.org/record/4809698)
5353

@@ -75,4 +75,4 @@ Citing the related study:
7575
2. When ready, submit a pull request from the feature branch of your fork to `GlacioHack/geoutils:main`.
7676
3. The PR will be reviewed by at least one maintainer, discussed, then merged.
7777

78-
More info on [our contributing page](CONTRIBUTING.md).
78+
More info on [our contributing page](CONTRIBUTING.md).

‎tests/test_spatialstats.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -964,11 +964,11 @@ def test_neff_exact_and_approx_hugonnet(self) -> None:
964964
assert (t1 - t0) < (t2 - t1)
965965

966966
# Check that the approximation function runs with default parameters, sampling 100 out of 250 samples
967-
t3 = time.time()
967+
# t3 = time.time()
968968
neff_approx = xdem.spatialstats.neff_hugonnet_approx(
969969
coords=coords, errors=errors, params_variogram_model=params_variogram_model, subsample=100, random_state=42
970970
)
971-
t4 = time.time()
971+
# t4 = time.time()
972972

973973
# Check that the non-vectorized version gives the same result, sampling 100 out of 250 samples
974974
neff_approx_nv = xdem.spatialstats.neff_hugonnet_approx(

0 commit comments

Comments
 (0)