geoarray 0.19.1__tar.gz → 0.19.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. {geoarray-0.19.1 → geoarray-0.19.2}/.gitlab-ci.yml +10 -0
  2. geoarray-0.19.2/AUTHORS.rst +13 -0
  3. {geoarray-0.19.1 → geoarray-0.19.2}/HISTORY.rst +9 -0
  4. {geoarray-0.19.1/geoarray.egg-info → geoarray-0.19.2}/PKG-INFO +2 -2
  5. {geoarray-0.19.1 → geoarray-0.19.2}/docs/conf.py +1 -1
  6. {geoarray-0.19.1 → geoarray-0.19.2}/geoarray/__init__.py +5 -5
  7. {geoarray-0.19.1 → geoarray-0.19.2}/geoarray/baseclasses.py +9 -5
  8. {geoarray-0.19.1 → geoarray-0.19.2}/geoarray/masks.py +4 -4
  9. {geoarray-0.19.1 → geoarray-0.19.2}/geoarray/metadata.py +4 -4
  10. {geoarray-0.19.1 → geoarray-0.19.2}/geoarray/subsetting.py +4 -4
  11. {geoarray-0.19.1 → geoarray-0.19.2}/geoarray/version.py +6 -6
  12. {geoarray-0.19.1 → geoarray-0.19.2/geoarray.egg-info}/PKG-INFO +2 -2
  13. {geoarray-0.19.1 → geoarray-0.19.2}/pyproject.toml +5 -5
  14. geoarray-0.19.1/AUTHORS.rst +0 -13
  15. {geoarray-0.19.1 → geoarray-0.19.2}/.coveragerc +0 -0
  16. {geoarray-0.19.1 → geoarray-0.19.2}/.editorconfig +0 -0
  17. {geoarray-0.19.1 → geoarray-0.19.2}/.gitattributes +0 -0
  18. {geoarray-0.19.1 → geoarray-0.19.2}/.github/ISSUE_TEMPLATE.md +0 -0
  19. {geoarray-0.19.1 → geoarray-0.19.2}/.gitignore +0 -0
  20. {geoarray-0.19.1 → geoarray-0.19.2}/CONTRIBUTING.rst +0 -0
  21. {geoarray-0.19.1 → geoarray-0.19.2}/LICENSE +0 -0
  22. {geoarray-0.19.1 → geoarray-0.19.2}/MANIFEST.in +0 -0
  23. {geoarray-0.19.1 → geoarray-0.19.2}/Makefile +0 -0
  24. {geoarray-0.19.1 → geoarray-0.19.2}/README.rst +0 -0
  25. {geoarray-0.19.1 → geoarray-0.19.2}/docs/Makefile +0 -0
  26. {geoarray-0.19.1 → geoarray-0.19.2}/docs/_build/html/_static/file.png +0 -0
  27. {geoarray-0.19.1 → geoarray-0.19.2}/docs/_build/html/_static/minus.png +0 -0
  28. {geoarray-0.19.1 → geoarray-0.19.2}/docs/_build/html/_static/plus.png +0 -0
  29. {geoarray-0.19.1 → geoarray-0.19.2}/docs/authors.rst +0 -0
  30. {geoarray-0.19.1 → geoarray-0.19.2}/docs/contributing.rst +0 -0
  31. {geoarray-0.19.1 → geoarray-0.19.2}/docs/history.rst +0 -0
  32. {geoarray-0.19.1 → geoarray-0.19.2}/docs/index.rst +0 -0
  33. {geoarray-0.19.1 → geoarray-0.19.2}/docs/installation.rst +0 -0
  34. {geoarray-0.19.1 → geoarray-0.19.2}/docs/make.bat +0 -0
  35. {geoarray-0.19.1 → geoarray-0.19.2}/docs/readme.rst +0 -0
  36. {geoarray-0.19.1 → geoarray-0.19.2}/docs/usage.rst +0 -0
  37. {geoarray-0.19.1 → geoarray-0.19.2}/examples/notebooks/features_and_usage.ipynb +0 -0
  38. {geoarray-0.19.1 → geoarray-0.19.2}/geoarray.egg-info/SOURCES.txt +0 -0
  39. {geoarray-0.19.1 → geoarray-0.19.2}/geoarray.egg-info/dependency_links.txt +0 -0
  40. {geoarray-0.19.1 → geoarray-0.19.2}/geoarray.egg-info/not-zip-safe +0 -0
  41. {geoarray-0.19.1 → geoarray-0.19.2}/geoarray.egg-info/requires.txt +0 -0
  42. {geoarray-0.19.1 → geoarray-0.19.2}/geoarray.egg-info/top_level.txt +0 -0
  43. {geoarray-0.19.1 → geoarray-0.19.2}/setup.cfg +0 -0
  44. {geoarray-0.19.1 → geoarray-0.19.2}/tox.ini +0 -0
@@ -129,3 +129,13 @@ deploy_pypi:
129
129
  - /^v\d+\.\d+\.\d+([abc]\d*)?$/ # PEP-440 compliant version (tags)
130
130
  except:
131
131
  - dev
132
+
133
+
134
+ gitleaks: # Gitleaks security scanner
135
+ image:
136
+ name: zricethezav/gitleaks:latest
137
+ entrypoint: [""]
138
+ stage: test
139
+ before_script: [] # prevents git lfs pull
140
+ script:
141
+ - gitleaks git --platform gitlab --max-decode-depth 5 --verbose --redact $CI_PROJECT_DIR
@@ -0,0 +1,13 @@
1
+ =======
2
+ Credits
3
+ =======
4
+
5
+ Development Lead
6
+ ----------------
7
+
8
+ * `Daniel Scheffler <https://www.gfz.de/staff/daniel.scheffler/sec14/>`__ <danschef@gfz.de>
9
+
10
+ Contributors
11
+ ------------
12
+
13
+ * Jessica Palka <jessica.palka@gfz.de>
@@ -2,6 +2,15 @@
2
2
  History
3
3
  =======
4
4
 
5
+ 0.19.2 (2025-09-11)
6
+ -------------------
7
+
8
+ * !60/!61: Updated GFZ URLs and institute name.
9
+ * !62: Added GitLeaks CI job to auto-detect sectrets.
10
+ * !63: Updated copyrights.
11
+ * !64: Skip corrupted band names in the metadata and raise a RuntimeWarning.
12
+
13
+
5
14
  0.19.1 (2025-05-26)
6
15
  -------------------
7
16
 
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: geoarray
3
- Version: 0.19.1
3
+ Version: 0.19.2
4
4
  Summary: Fast Python interface for geodata - either on disk or in memory
5
- Author-email: Daniel Scheffler <daniel.scheffler@gfz-potsdam.de>
5
+ Author-email: Daniel Scheffler <daniel.scheffler@gfz.de>
6
6
  License-Expression: Apache-2.0
7
7
  Project-URL: Source code, https://git.gfz-potsdam.de/danschef/geoarray
8
8
  Project-URL: Issue Tracker, https://git.gfz-potsdam.de/danschef/geoarray/-/issues
@@ -56,7 +56,7 @@ master_doc = 'index'
56
56
 
57
57
  # General information about the project.
58
58
  project = u'geoarray'
59
- copyright = u"2017-2023, Daniel Scheffler"
59
+ copyright = u"2017–2025, Daniel Scheffler"
60
60
 
61
61
  # The version info for the project you're documenting, acts as replacement
62
62
  # for |version| and |release|, also used in various other places throughout
@@ -2,10 +2,10 @@
2
2
 
3
3
  # geoarray, A fast Python interface for image geodata - either on disk or in memory.
4
4
  #
5
- # Copyright (C) 2017-2023
6
- # - Daniel Scheffler (GFZ Potsdam, daniel.scheffler@gfz-potsdam.de)
7
- # - Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences Potsdam,
8
- # Germany (https://www.gfz-potsdam.de/)
5
+ # Copyright (C) 2017–2025
6
+ # - Daniel Scheffler (GFZ Potsdam, daniel.scheffler@gfz.de)
7
+ # - GFZ Helmholtz Centre for Geosciences,
8
+ # Germany (https://www.gfz.de/)
9
9
  #
10
10
  # This software was developed within the context of the GeoMultiSens project funded
11
11
  # by the German Federal Ministry of Education and Research
@@ -37,7 +37,7 @@ from .version import __version__, __versionalias__ # noqa (E402 + F401)
37
37
 
38
38
 
39
39
  __author__ = """Daniel Scheffler"""
40
- __email__ = 'danschef@gfz-potsdam.de'
40
+ __email__ = 'danschef@gfz.de'
41
41
  __all__ = ['__version__',
42
42
  '__versionalias__',
43
43
  '__author__',
@@ -2,10 +2,10 @@
2
2
 
3
3
  # geoarray, A fast Python interface for image geodata - either on disk or in memory.
4
4
  #
5
- # Copyright (C) 2017-2023
6
- # - Daniel Scheffler (GFZ Potsdam, daniel.scheffler@gfz-potsdam.de)
7
- # - Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences Potsdam,
8
- # Germany (https://www.gfz-potsdam.de/)
5
+ # Copyright (C) 2017–2025
6
+ # - Daniel Scheffler (GFZ Potsdam, daniel.scheffler@gfz.de)
7
+ # - GFZ Helmholtz Centre for Geosciences,
8
+ # Germany (https://www.gfz.de/)
9
9
  #
10
10
  # This software was developed within the context of the GeoMultiSens project funded
11
11
  # by the German Federal Ministry of Education and Research
@@ -856,7 +856,11 @@ class GeoArray(object):
856
856
 
857
857
  # copy over the band names
858
858
  if 'band_names' in self.metadata.band_meta and self.metadata.band_meta['band_names']:
859
- self.bandnames = self.metadata.band_meta['band_names']
859
+ try:
860
+ self.bandnames = self.metadata.band_meta['band_names']
861
+ except ValueError as e:
862
+ warnings.warn(f'Band names could not be set using the ones in the image metadata. '
863
+ f'Error was: {e}', RuntimeWarning)
860
864
 
861
865
  self._gdalDataset_meta_already_set = True
862
866
 
@@ -2,10 +2,10 @@
2
2
 
3
3
  # geoarray, A fast Python interface for image geodata - either on disk or in memory.
4
4
  #
5
- # Copyright (C) 2017-2023
6
- # - Daniel Scheffler (GFZ Potsdam, daniel.scheffler@gfz-potsdam.de)
7
- # - Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences Potsdam,
8
- # Germany (https://www.gfz-potsdam.de/)
5
+ # Copyright (C) 2017–2025
6
+ # - Daniel Scheffler (GFZ Potsdam, daniel.scheffler@gfz.de)
7
+ # - GFZ Helmholtz Centre for Geosciences,
8
+ # Germany (https://www.gfz.de/)
9
9
  #
10
10
  # This software was developed within the context of the GeoMultiSens project funded
11
11
  # by the German Federal Ministry of Education and Research
@@ -2,10 +2,10 @@
2
2
 
3
3
  # geoarray, A fast Python interface for image geodata - either on disk or in memory.
4
4
  #
5
- # Copyright (C) 2017-2023
6
- # - Daniel Scheffler (GFZ Potsdam, daniel.scheffler@gfz-potsdam.de)
7
- # - Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences Potsdam,
8
- # Germany (https://www.gfz-potsdam.de/)
5
+ # Copyright (C) 2017–2025
6
+ # - Daniel Scheffler (GFZ Potsdam, daniel.scheffler@gfz.de)
7
+ # - GFZ Helmholtz Centre for Geosciences,
8
+ # Germany (https://www.gfz.de/)
9
9
  #
10
10
  # This software was developed within the context of the GeoMultiSens project funded
11
11
  # by the German Federal Ministry of Education and Research
@@ -2,10 +2,10 @@
2
2
 
3
3
  # geoarray, A fast Python interface for image geodata - either on disk or in memory.
4
4
  #
5
- # Copyright (C) 2017-2023
6
- # - Daniel Scheffler (GFZ Potsdam, daniel.scheffler@gfz-potsdam.de)
7
- # - Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences Potsdam,
8
- # Germany (https://www.gfz-potsdam.de/)
5
+ # Copyright (C) 2017–2025
6
+ # - Daniel Scheffler (GFZ Potsdam, daniel.scheffler@gfz.de)
7
+ # - GFZ Helmholtz Centre for Geosciences,
8
+ # Germany (https://www.gfz.de/)
9
9
  #
10
10
  # This software was developed within the context of the GeoMultiSens project funded
11
11
  # by the German Federal Ministry of Education and Research
@@ -1,9 +1,9 @@
1
1
  # geoarray, A fast Python interface for image geodata - either on disk or in memory.
2
2
  #
3
- # Copyright (C) 2017-2023
4
- # - Daniel Scheffler (GFZ Potsdam, daniel.scheffler@gfz-potsdam.de)
5
- # - Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences Potsdam,
6
- # Germany (https://www.gfz-potsdam.de/)
3
+ # Copyright (C) 2017–2025
4
+ # - Daniel Scheffler (GFZ Potsdam, daniel.scheffler@gfz.de)
5
+ # - GFZ Helmholtz Centre for Geosciences,
6
+ # Germany (https://www.gfz.de/)
7
7
  #
8
8
  # This software was developed within the context of the GeoMultiSens project funded
9
9
  # by the German Federal Ministry of Education and Research
@@ -22,5 +22,5 @@
22
22
  # limitations under the License.
23
23
 
24
24
 
25
- __version__ = '0.19.1'
26
- __versionalias__ = '20250526.01'
25
+ __version__ = '0.19.2'
26
+ __versionalias__ = '20250911.01'
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: geoarray
3
- Version: 0.19.1
3
+ Version: 0.19.2
4
4
  Summary: Fast Python interface for geodata - either on disk or in memory
5
- Author-email: Daniel Scheffler <daniel.scheffler@gfz-potsdam.de>
5
+ Author-email: Daniel Scheffler <daniel.scheffler@gfz.de>
6
6
  License-Expression: Apache-2.0
7
7
  Project-URL: Source code, https://git.gfz-potsdam.de/danschef/geoarray
8
8
  Project-URL: Issue Tracker, https://git.gfz-potsdam.de/danschef/geoarray/-/issues
@@ -3,10 +3,10 @@
3
3
 
4
4
  # geoarray, A fast Python interface for image geodata - either on disk or in memory.
5
5
  #
6
- # Copyright (C) 2017-2023
7
- # - Daniel Scheffler (GFZ Potsdam, daniel.scheffler@gfz-potsdam.de)
8
- # - Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences Potsdam,
9
- # Germany (https://www.gfz-potsdam.de/)
6
+ # Copyright (C) 2017–2025
7
+ # - Daniel Scheffler (GFZ Potsdam, daniel.scheffler@gfz.de)
8
+ # - GFZ Helmholtz Centre for Geosciences,
9
+ # Germany (https://www.gfz.de/)
10
10
  #
11
11
  # This software was developed within the context of the GeoMultiSens project funded
12
12
  # by the German Federal Ministry of Education and Research
@@ -34,7 +34,7 @@ build-backend = "setuptools.build_meta"
34
34
  [project]
35
35
  name = "geoarray"
36
36
  description = "Fast Python interface for geodata - either on disk or in memory"
37
- authors = [{name = "Daniel Scheffler", email = "daniel.scheffler@gfz-potsdam.de"}]
37
+ authors = [{name = "Daniel Scheffler", email = "daniel.scheffler@gfz.de"}]
38
38
  license = "Apache-2.0"
39
39
  license-files = ["LICEN[CS]E*", "AUTHORS.rst"]
40
40
  classifiers = [
@@ -1,13 +0,0 @@
1
- =======
2
- Credits
3
- =======
4
-
5
- Development Lead
6
- ----------------
7
-
8
- * `Daniel Scheffler <https://www.gfz-potsdam.de/staff/daniel.scheffler/sec14/>`__ <danschef@gfz-potsdam.de>
9
-
10
- Contributors
11
- ------------
12
-
13
- * Jessica Palka <jessica.palka@gfz-potsdam.de>
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes