Skip to content

Commit

Permalink
fix: descriptions (#2)
Browse files Browse the repository at this point in the history
* chore: update examples

* fix: asset descriptions (nmode)

* chore: update pre-commit hooks

* chore: patch python version

* fix: remove CliTestCase, to be deprecated
  • Loading branch information
jjfrench authored Aug 3, 2023
1 parent 0321123 commit 81cc026
Show file tree
Hide file tree
Showing 6 changed files with 175 additions and 163 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@

repos:
- repo: https://github.com/psf/black
rev: 23.1.0
rev: 23.7.0
hooks:
- id: black
- repo: https://github.com/codespell-project/codespell
rev: v2.2.2
rev: v2.2.5
hooks:
- id: codespell
args: [--ignore-words=.codespellignore]
types_or: [jupyter, markdown, python, shell]
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.0.1
rev: v1.4.1
hooks:
- id: mypy
additional_dependencies:
Expand All @@ -28,6 +28,6 @@ repos:
hooks:
- id: isort
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.33.0
rev: v0.35.0
hooks:
- id: markdownlint
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN apt-get -y -q update \
RUN python -m venv /opt/venv
RUN pip install . h5py --no-binary rasterio \
&& ls /opt/venv \
&& rm -r /opt/venv/lib/python3.10/site-packages/stactools/nisar_sim
&& rm -r /opt/venv/lib/python3.11/site-packages/stactools/nisar_sim


FROM dependencies as builder
Expand Down
60 changes: 30 additions & 30 deletions examples/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@
]
},
"XX_129.h5": {
"title": "XD_129 HDF5 Data File",
"title": "XX_129 HDF5 Data File",
"type": "application/x-hdf5",
"description": "No Dither: 129 Frequency HDF5 file in NISAR format",
"description": "No Dither: 129 NMode HDF5 file in NISAR format",
"role": [
"data"
]
Expand Down Expand Up @@ -283,9 +283,9 @@
]
},
"XG_129.h5": {
"title": "XD_129 HDF5 Data File",
"title": "XG_129 HDF5 Data File",
"type": "application/x-hdf5",
"description": "Dithered With Gaps: 129 Frequency HDF5 file in NISAR format",
"description": "Dithered With Gaps: 129 NMode HDF5 file in NISAR format",
"role": [
"data"
]
Expand Down Expand Up @@ -349,7 +349,7 @@
"XD_129.h5": {
"title": "XD_129 HDF5 Data File",
"type": "application/x-hdf5",
"description": "Dithered Without Gaps: 129 Frequency HDF5 file in NISAR format",
"description": "Dithered Without Gaps: 129 NMode HDF5 file in NISAR format",
"role": [
"data"
]
Expand Down Expand Up @@ -835,9 +835,9 @@
]
},
"XX_138.h5": {
"title": "XD_138 HDF5 Data File",
"title": "XX_138 HDF5 Data File",
"type": "application/x-hdf5",
"description": "No Dither: 138 Frequency HDF5 file in NISAR format",
"description": "No Dither: 138 NMode HDF5 file in NISAR format",
"role": [
"data"
]
Expand Down Expand Up @@ -899,9 +899,9 @@
]
},
"XG_138.h5": {
"title": "XD_138 HDF5 Data File",
"title": "XG_138 HDF5 Data File",
"type": "application/x-hdf5",
"description": "Dithered With Gaps: 138 Frequency HDF5 file in NISAR format",
"description": "Dithered With Gaps: 138 NMode HDF5 file in NISAR format",
"role": [
"data"
]
Expand Down Expand Up @@ -965,7 +965,7 @@
"XD_138.h5": {
"title": "XD_138 HDF5 Data File",
"type": "application/x-hdf5",
"description": "Dithered Without Gaps: 138 Frequency HDF5 file in NISAR format",
"description": "Dithered Without Gaps: 138 NMode HDF5 file in NISAR format",
"role": [
"data"
]
Expand Down Expand Up @@ -1451,9 +1451,9 @@
]
},
"XX_143.h5": {
"title": "XD_143 HDF5 Data File",
"title": "XX_143 HDF5 Data File",
"type": "application/x-hdf5",
"description": "No Dither: 143 Frequency HDF5 file in NISAR format",
"description": "No Dither: 143 NMode HDF5 file in NISAR format",
"role": [
"data"
]
Expand Down Expand Up @@ -1515,9 +1515,9 @@
]
},
"XG_143.h5": {
"title": "XD_143 HDF5 Data File",
"title": "XG_143 HDF5 Data File",
"type": "application/x-hdf5",
"description": "Dithered With Gaps: 143 Frequency HDF5 file in NISAR format",
"description": "Dithered With Gaps: 143 NMode HDF5 file in NISAR format",
"role": [
"data"
]
Expand Down Expand Up @@ -1581,7 +1581,7 @@
"XD_143.h5": {
"title": "XD_143 HDF5 Data File",
"type": "application/x-hdf5",
"description": "Dithered Without Gaps: 143 Frequency HDF5 file in NISAR format",
"description": "Dithered Without Gaps: 143 NMode HDF5 file in NISAR format",
"role": [
"data"
]
Expand Down Expand Up @@ -2067,9 +2067,9 @@
]
},
"CX_129.h5": {
"title": "CD_129 HDF5 Data File",
"title": "CX_129 HDF5 Data File",
"type": "application/x-hdf5",
"description": "No Dither: 129 Frequency HDF5 file in NISAR format",
"description": "No Dither: 129 NMode HDF5 file in NISAR format",
"role": [
"data"
]
Expand Down Expand Up @@ -2131,9 +2131,9 @@
]
},
"CG_129.h5": {
"title": "CD_129 HDF5 Data File",
"title": "CG_129 HDF5 Data File",
"type": "application/x-hdf5",
"description": "Dithered With Gaps: 129 Frequency HDF5 file in NISAR format",
"description": "Dithered With Gaps: 129 NMode HDF5 file in NISAR format",
"role": [
"data"
]
Expand Down Expand Up @@ -2197,7 +2197,7 @@
"CD_129.h5": {
"title": "CD_129 HDF5 Data File",
"type": "application/x-hdf5",
"description": "Dithered Without Gaps: 129 Frequency HDF5 file in NISAR format",
"description": "Dithered Without Gaps: 129 NMode HDF5 file in NISAR format",
"role": [
"data"
]
Expand Down Expand Up @@ -2683,9 +2683,9 @@
]
},
"CX_138.h5": {
"title": "CD_138 HDF5 Data File",
"title": "CX_138 HDF5 Data File",
"type": "application/x-hdf5",
"description": "No Dither: 138 Frequency HDF5 file in NISAR format",
"description": "No Dither: 138 NMode HDF5 file in NISAR format",
"role": [
"data"
]
Expand Down Expand Up @@ -2747,9 +2747,9 @@
]
},
"CG_138.h5": {
"title": "CD_138 HDF5 Data File",
"title": "CG_138 HDF5 Data File",
"type": "application/x-hdf5",
"description": "Dithered With Gaps: 138 Frequency HDF5 file in NISAR format",
"description": "Dithered With Gaps: 138 NMode HDF5 file in NISAR format",
"role": [
"data"
]
Expand Down Expand Up @@ -2813,7 +2813,7 @@
"CD_138.h5": {
"title": "CD_138 HDF5 Data File",
"type": "application/x-hdf5",
"description": "Dithered Without Gaps: 138 Frequency HDF5 file in NISAR format",
"description": "Dithered Without Gaps: 138 NMode HDF5 file in NISAR format",
"role": [
"data"
]
Expand Down Expand Up @@ -3299,9 +3299,9 @@
]
},
"CX_143.h5": {
"title": "CD_143 HDF5 Data File",
"title": "CX_143 HDF5 Data File",
"type": "application/x-hdf5",
"description": "No Dither: 143 Frequency HDF5 file in NISAR format",
"description": "No Dither: 143 NMode HDF5 file in NISAR format",
"role": [
"data"
]
Expand Down Expand Up @@ -3363,9 +3363,9 @@
]
},
"CG_143.h5": {
"title": "CD_143 HDF5 Data File",
"title": "CG_143 HDF5 Data File",
"type": "application/x-hdf5",
"description": "Dithered With Gaps: 143 Frequency HDF5 file in NISAR format",
"description": "Dithered With Gaps: 143 NMode HDF5 file in NISAR format",
"role": [
"data"
]
Expand Down Expand Up @@ -3429,7 +3429,7 @@
"CD_143.h5": {
"title": "CD_143 HDF5 Data File",
"type": "application/x-hdf5",
"description": "Dithered Without Gaps: 143 Frequency HDF5 file in NISAR format",
"description": "Dithered Without Gaps: 143 NMode HDF5 file in NISAR format",
"role": [
"data"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@
"CX_129.h5": {
"href": "winnip_31604_12061_004_120717_L090_CX_129_07.h5",
"type": "application/x-hdf5",
"title": "CD_129 HDF5 Data File",
"description": "No Dither: 129 Frequency HDF5 file in NISAR format",
"title": "CX_129 HDF5 Data File",
"description": "No Dither: 129 NMode HDF5 file in NISAR format",
"role": [
"data"
]
Expand Down
Loading

0 comments on commit 81cc026

Please sign in to comment.