py_tools_ds merge requestshttps://git.gfz-potsdam.de/danschef/py_tools_ds/-/merge_requests2020-09-02T16:26:35+02:00https://git.gfz-potsdam.de/danschef/py_tools_ds/-/merge_requests/22Bugfix/fix ci connection2020-09-02T16:26:35+02:00Daniel SchefflerBugfix/fix ci connection* Revised build_testsuite_image.sh
* Added docker-pull-policy to register command.
* Added some comments to build_testsuite_image.sh and set concurrency to 4. Updated deprecated code in .gitlab_ci.yml.* Revised build_testsuite_image.sh
* Added docker-pull-policy to register command.
* Added some comments to build_testsuite_image.sh and set concurrency to 4. Updated deprecated code in .gitlab_ci.yml.Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/danschef/py_tools_ds/-/merge_requests/23Bugfix/fix typeerror2020-10-30T16:57:17+01:00Daniel SchefflerBugfix/fix typeerrorFixes issue #13.Fixes issue #13.Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/danschef/py_tools_ds/-/merge_requests/24Revision/revise coord trafo2020-11-18T23:55:31+01:00Daniel SchefflerRevision/revise coord trafo* Fixed issue of remaining coverage artifacts after running 'make clean-test.
* Revised coord_trafo.py. This fixes an issue that caused pixelToLatLon() to return Lon/Lat instead of Lat/Lon.
* Fixed mapXY2imXY() and imXY2mapXY().
* Added ...* Fixed issue of remaining coverage artifacts after running 'make clean-test.
* Revised coord_trafo.py. This fixes an issue that caused pixelToLatLon() to return Lon/Lat instead of Lat/Lon.
* Fixed mapXY2imXY() and imXY2mapXY().
* Added Test_mapXY2imXY(), Test_imXY2mapXY(), Test_pixelToLatLon(), Test_latLonToPixel().
* Removed GDAL dataset input parameters from some functions.
* Revised code style and some docstrings. Added some typehints.
* Bugfix for always raising a RuntimeWarning in fill_holes_within_poly().Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/danschef/py_tools_ds/-/merge_requests/25Fixed an issue causing geotransform2mapinfo() return a 'South' mapinfo instea...2020-12-02T23:27:15+01:00Daniel SchefflerFixed an issue causing geotransform2mapinfo() return a 'South' mapinfo instead...Fixed an issue causing geotransform2mapinfo() return a 'South' mapinfo instead of a 'North' one for a GeoTransform
in the West of the central meridian.
Signed-off-by: Daniel Scheffler <danschef@gfz-potsdam.de>Fixed an issue causing geotransform2mapinfo() return a 'South' mapinfo instead of a 'North' one for a GeoTransform
in the West of the central meridian.
Signed-off-by: Daniel Scheffler <danschef@gfz-potsdam.de>Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/danschef/py_tools_ds/-/merge_requests/26Fixed issue #15 (boxObj.get_coordArray_MapXY() returns faulty y-coordinate...2020-12-07T22:23:23+01:00Daniel SchefflerFixed issue #15 (boxObj.get_coordArray_MapXY() returns faulty y-coordinate...* Fixed issue #15 (boxObj.get_coordArray_MapXY() returns faulty y-coordinate array).
* Test_boxObj.test_get_coordArray_MapXY() now also validates the output of boxObj.get_coordArray_MapX().
Signed-off-by: Daniel Scheffler <danschef@gfz-...* Fixed issue #15 (boxObj.get_coordArray_MapXY() returns faulty y-coordinate array).
* Test_boxObj.test_get_coordArray_MapXY() now also validates the output of boxObj.get_coordArray_MapX().
Signed-off-by: Daniel Scheffler <danschef@gfz-potsdam.de>Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/danschef/py_tools_ds/-/merge_requests/27Feature/add urlchecker2020-12-09T22:49:17+01:00Daniel SchefflerFeature/add urlchecker* Added URL checker CI job and fixed all dead URLs.
* Removed travis related files.
* Re-ordered dependencies.
* Added Python 3.9 classifier to setup.py and removed those for <3.6.* Added URL checker CI job and fixed all dead URLs.
* Removed travis related files.
* Re-ordered dependencies.
* Added Python 3.9 classifier to setup.py and removed those for <3.6.Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/danschef/py_tools_ds/-/merge_requests/28Fixed issue #16 (WKT2EPSG() returns None in case of bound CRS.).2020-12-15T16:45:53+01:00Daniel SchefflerFixed issue #16 (WKT2EPSG() returns None in case of bound CRS.).Fixed issue #16 (WKT2EPSG() returns None in case of bound CRS.).
Signed-off-by: Daniel Scheffler <danschef@gfz-potsdam.de>Fixed issue #16 (WKT2EPSG() returns None in case of bound CRS.).
Signed-off-by: Daniel Scheffler <danschef@gfz-potsdam.de>Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/danschef/py_tools_ds/-/merge_requests/29Speed up polygonizer, drop Python 2.7 and update requirements.2021-05-08T01:00:10+02:00Daniel SchefflerSpeed up polygonizer, drop Python 2.7 and update requirements.* Added test and test data for geo.raster.conversion.raster2polygon().
* Replaced skimage downsampling by GDAL variant.
* Removed scikit-image dependency.
* Dropped Python 2.7 support due to end-of-life status.
* Dropped compatibility mo...* Added test and test data for geo.raster.conversion.raster2polygon().
* Replaced skimage downsampling by GDAL variant.
* Removed scikit-image dependency.
* Dropped Python 2.7 support due to end-of-life status.
* Dropped compatibility module since this was Python 2.7 specific.
* Dropped requirements six and packaging.
* Added some docs/.rst files to .gitignore.
* Updated minimal version of pyproj to 2.5.0.Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/danschef/py_tools_ds/-/merge_requests/31Change license to Apache 2.0.2021-09-27T16:37:53+02:00Daniel SchefflerChange license to Apache 2.0.This changes the license to Apache 2.0.This changes the license to Apache 2.0.Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/danschef/py_tools_ds/-/merge_requests/32Enhancement/revise polygonize2021-11-11T20:40:58+01:00Daniel SchefflerEnhancement/revise polygonizeDaniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/danschef/py_tools_ds/-/merge_requests/33migrate test calls to pytest2021-12-02T21:26:16+01:00Daniel Schefflermigrate test calls to pytestThis migrates the tests calls from nosetests to pytest.
Closes #18.This migrates the tests calls from nosetests to pytest.
Closes #18.Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/danschef/py_tools_ds/-/merge_requests/34Fixed AttributeError in ProgressBar in case sys.stderr is None. Added tests f...2021-11-24T01:02:57+01:00Daniel SchefflerFixed AttributeError in ProgressBar in case sys.stderr is None. Added tests for processing module.This fixes the following AttributeError in case sys.stderr is None which is ...
> usually the case for Windows GUI apps that aren’t connected to a console and Python apps started with pythonw.
```python
Traceback (most recent call last)...This fixes the following AttributeError in case sys.stderr is None which is ...
> usually the case for Windows GUI apps that aren’t connected to a console and Python apps started with pythonw.
```python
Traceback (most recent call last):
File "C:\Users/PedroVenancio/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Coregistration\automated_local_coregistration_algorithm.py", line 278, in processAlgorithm
CRL.correct_shifts()
File "C:\Users\PedroVenancio\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\Coregistration\extlibs_windows\arosics\CoReg_local.py", line 810, in correct_shifts
self.calculate_spatial_shifts()
File "C:\Users\PedroVenancio\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\Coregistration\extlibs_windows\arosics\CoReg_local.py", line 480, in calculate_spatial_shifts
self._tiepoint_grid.get_CoRegPoints_table()
File "C:\Users\PedroVenancio\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\Coregistration\extlibs_windows\arosics\Tie_Point_Grid.py", line 419, in get_CoRegPoints_table
bar.print_progress((i + 1) / len(GDF) * 100)
File "C:\Users\PedroVenancio\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\Coregistration\extlibs_windows\py_tools_ds\processing\progress_mon.py", line 124, in print_progress
self.out.write('\r')
AttributeError: 'NoneType' object has no attribute 'write'
```
See [here](https://github.com/SMByC/Coregistration-Qgis-processing/issues/1#issuecomment-974570486).Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/danschef/py_tools_ds/-/merge_requests/35Enhancement/speedup raster2polygon2021-12-03T22:13:35+01:00Daniel SchefflerEnhancement/speedup raster2polygonAdded gdal.Sieve to raster2polygon and polygon buffering only runs for invalid polygons.
It is now much faster for masks that contain many small features if min_npx>1.
Closes #19.Added gdal.Sieve to raster2polygon and polygon buffering only runs for invalid polygons.
It is now much faster for masks that contain many small features if min_npx>1.
Closes #19.Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/danschef/py_tools_ds/-/merge_requests/36Bugfix/fix raster2polygon2022-02-10T17:44:52+01:00Daniel SchefflerBugfix/fix raster2polygonFixes #20.Fixes #20.Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/danschef/py_tools_ds/-/merge_requests/37Drop Python 3.6 due to EOL status.2022-11-15T16:50:31+01:00Daniel SchefflerDrop Python 3.6 due to EOL status.Signed-off-by: Daniel Scheffler <danschef@gfz-potsdam.de>Signed-off-by: Daniel Scheffler <danschef@gfz-potsdam.de>Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/danschef/py_tools_ds/-/merge_requests/30Draft: Resolve "initially set up SQA"2021-09-21T18:08:57+02:00Maximilian DollingDraft: Resolve "initially set up SQA"Closes #17Closes #17