sensormapgeo merge requestshttps://git.gfz-potsdam.de/EnMAP/sensormapgeo/-/merge_requests2024-02-08T19:57:52+01:00https://git.gfz-potsdam.de/EnMAP/sensormapgeo/-/merge_requests/19Enhancement/update docs2024-02-08T19:57:52+01:00Daniel SchefflerEnhancement/update docsThis updates the Sphinx documentation and the README.rst.This updates the Sphinx documentation and the README.rst.Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/EnMAP/sensormapgeo/-/merge_requests/24Enhancement/fix warnings2024-02-06T18:34:43+01:00Daniel SchefflerEnhancement/fix warningsE.g., closes #12.E.g., closes #12.Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/EnMAP/sensormapgeo/-/merge_requests/23Enhancement/fix warnings2024-02-06T17:14:48+01:00Daniel SchefflerEnhancement/fix warningsDaniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/EnMAP/sensormapgeo/-/merge_requests/20Revise and unify tests and backend APIs2024-02-06T17:06:44+01:00Daniel SchefflerRevise and unify tests and backend APIsThis completely revises the tests and unifies the 'gdal' and 'pyresample' APIs to have a common and simple frontend.
It also simplifies the package requirements by dropping _llvm_mutex due to updated parallelization via joblib, i.e., OS-...This completely revises the tests and unifies the 'gdal' and 'pyresample' APIs to have a common and simple frontend.
It also simplifies the package requirements by dropping _llvm_mutex due to updated parallelization via joblib, i.e., OS-specific environment files are not needed anymore.Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/EnMAP/sensormapgeo/-/merge_requests/22Enhancement/revise pyresample implementation2024-02-01T23:51:19+01:00Daniel SchefflerEnhancement/revise pyresample implementationDaniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/EnMAP/sensormapgeo/-/merge_requests/21Use joblib instead of pebble and multiprocessing for pyresample 3D transformer.2024-02-01T17:42:49+01:00Daniel SchefflerUse joblib instead of pebble and multiprocessing for pyresample 3D transformer.Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/EnMAP/sensormapgeo/-/merge_requests/18Enhancement/common frontend api2024-01-30T12:11:35+01:00Daniel SchefflerEnhancement/common frontend apiThis adds a common frontend that allows to run the transformation between sensor and map geometry in a simple API that supports the GDAL and the pyresample backend and allows to pass 2D and 3D geolayers.This adds a common frontend that allows to run the transformation between sensor and map geometry in a simple API that supports the GDAL and the pyresample backend and allows to pass 2D and 3D geolayers.Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/EnMAP/sensormapgeo/-/merge_requests/10Enhancement/gdal for sensor2map2024-01-26T14:49:38+01:00Daniel SchefflerEnhancement/gdal for sensor2mapThis implements an algorithm to transform from sensor to map geometry, only on the basis of gdal.
TODO:
* [x] implement sensor-to-map warping using GDAL, in-memory
* [x] avoid that GDAL cuts off the corners of the output image
* [x] mak...This implements an algorithm to transform from sensor to map geometry, only on the basis of gdal.
TODO:
* [x] implement sensor-to-map warping using GDAL, in-memory
* [x] avoid that GDAL cuts off the corners of the output image
* [x] make sure the target image resolution is correct
* [x] implement coordGrid user parameter
* [x] implement multiprocessing
* [x] implement different resampling algorithms
* [x] validate results
* [x] update tests
* [x] update HISTORY.rst
* [x] test on Windows
Closes #9.Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/EnMAP/sensormapgeo/-/merge_requests/17Maintenance/drop Python 3.7 and add 3.11/3.122024-01-05T16:24:48+01:00Daniel SchefflerMaintenance/drop Python 3.7 and add 3.11/3.12This drops Python 3.7 due to end-of-life status and adds 3.11/3.12 compatibility.This drops Python 3.7 due to end-of-life status and adds 3.11/3.12 compatibility.Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/EnMAP/sensormapgeo/-/merge_requests/16Maintenance/update envs and ci2024-01-05T16:14:27+01:00Daniel SchefflerMaintenance/update envs and ciThis updates the environment files and the CI runner.This updates the environment files and the CI runner.Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/EnMAP/sensormapgeo/-/merge_requests/15Maintenance/update copyright2024-01-05T15:45:12+01:00Daniel SchefflerMaintenance/update copyrightDaniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/EnMAP/sensormapgeo/-/merge_requests/14Enhancement/workaround for missing proj data2024-01-05T15:31:31+01:00Daniel SchefflerEnhancement/workaround for missing proj data$PROJ_LIB was renamed to $PROJ_DATA in proj=9.1.1, which leads to issues with fiona>=1.8.20,<1.9
- https://github.com/conda-forge/pyproj-feedstock/issues/130
-> fix it by setting PROJ_DATA$PROJ_LIB was renamed to $PROJ_DATA in proj=9.1.1, which leads to issues with fiona>=1.8.20,<1.9
- https://github.com/conda-forge/pyproj-feedstock/issues/130
-> fix it by setting PROJ_DATADaniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/EnMAP/sensormapgeo/-/merge_requests/13Maintenance/replace deprecated http url2024-01-05T14:57:08+01:00Daniel SchefflerMaintenance/replace deprecated http urlDaniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/EnMAP/sensormapgeo/-/merge_requests/12Maintenance/replace direct calls of setup2024-01-05T14:36:58+01:00Daniel SchefflerMaintenance/replace direct calls of setupThis replaces deprecated direct calls of setup.py.This replaces deprecated direct calls of setup.py.Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/EnMAP/sensormapgeo/-/merge_requests/11Maintenance/drop py362022-11-15T17:30:56+01:00Daniel SchefflerMaintenance/drop py36This drops Python 3.6 support due to the EOL status.This drops Python 3.6 support due to the EOL status.Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/EnMAP/sensormapgeo/-/merge_requests/7Disable bilinear resampling when transforming map to sensor geometry2021-11-26T23:42:00+01:00Daniel SchefflerDisable bilinear resampling when transforming map to sensor geometryDue to changes in pyresample>1.17.0 bilinear resampling is not usable anymore when transforming map to sensor geometry. So far, sensormapgeo pinned pyresample to <=1.17 but this now causes the conda-forge builds for Python 3.10 to fail a...Due to changes in pyresample>1.17.0 bilinear resampling is not usable anymore when transforming map to sensor geometry. So far, sensormapgeo pinned pyresample to <=1.17 but this now causes the conda-forge builds for Python 3.10 to fail and produces more and more DeprecationWarnings.
So, this MR removes the version pinning and disables bilinear resampling for map to sensor geometry transformation. Instead, gauss resampling is used and a warning is raised.
Closes #7.Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/EnMAP/sensormapgeo/-/merge_requests/9Avoid ImportError and refactor tests.2021-11-26T23:09:58+01:00Daniel SchefflerAvoid ImportError and refactor tests.* Increased minimal version of pyresample to avoid ImportError.
* Refactored unittests to pytest (new structure, raw assertions, ...).
* Added subtests bases on pytest-subtests.* Increased minimal version of pyresample to avoid ImportError.
* Refactored unittests to pytest (new structure, raw assertions, ...).
* Added subtests bases on pytest-subtests.Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/EnMAP/sensormapgeo/-/merge_requests/8Enhancement/migrate to pytest2021-11-26T00:53:19+01:00Daniel SchefflerEnhancement/migrate to pytestThis migrates the test calls from nosetests to pytest.This migrates the test calls from nosetests to pytest.Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/EnMAP/sensormapgeo/-/merge_requests/6Switched to Apache 2.0 license.2021-09-27T22:18:40+02:00Daniel SchefflerSwitched to Apache 2.0 license.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/EnMAP/sensormapgeo/-/merge_requests/5Bugfix/fix openmp deadlock2020-09-04T23:39:05+02:00Daniel SchefflerBugfix/fix openmp deadlock* Fixed issue #6 (Deadlock within SensorMapGeometryTransformer3D when running in multiprocessing for resampling
algorithms 'near' and 'gauss'.)
* Added pebble to pip requirements.* Fixed issue #6 (Deadlock within SensorMapGeometryTransformer3D when running in multiprocessing for resampling
algorithms 'near' and 'gauss'.)
* Added pebble to pip requirements.Daniel SchefflerDaniel Scheffler