Skip to content

Commit 3d22e0f

Browse files
committed
fix: bitrot
1 parent e8ee4a3 commit 3d22e0f

File tree

74 files changed

+185
-200
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+185
-200
lines changed

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: stactools-modis
22
channels:
33
- conda-forge
4-
- defaults
54
dependencies:
65
- python = 3.9
76
- gdal >= 3.5.2
7+
- libgdal-hdf4

requirements-dev.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ pre-commit
77
pytest
88
pytest-cov
99
types-setuptools
10+
requests
11+
setuptools

tests/data-files/expected/MCD12Q1/006/MCD12Q1.A2001001.h00v08.006/MCD12Q1.A2001001.h00v08.006.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@
263263
10.0
264264
],
265265
"stac_extensions": [
266-
"https://stac-extensions.github.io/eo/v1.0.0/schema.json"
266+
"https://stac-extensions.github.io/eo/v1.1.0/schema.json"
267267
],
268268
"collection": "modis-12Q1-006"
269269
}

tests/data-files/expected/MCD12Q1/006/collection.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@
158158
}
159159
},
160160
"license": "proprietary",
161-
"keywords": [],
162161
"providers": [
163162
{
164163
"name": "NASA LP DAAC at the USGS EROS Center",

tests/data-files/expected/MCD15A2H/061/MCD15A2H.A2022025.h01v11.061/MCD15A2H.A2022025.h01v11.061.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -26,52 +26,52 @@
2626
-27.266667
2727
],
2828
[
29-
-180.0,
30-
-20.0
31-
],
32-
[
33-
-170.268444,
34-
-20.0
29+
-178.596668,
30+
-26.379167
3531
],
3632
[
37-
-170.780379,
38-
-20.466667
33+
-177.268567,
34+
-25.5
3935
],
4036
[
41-
-171.316335,
42-
-20.941667
37+
-175.977753,
38+
-24.604167
4339
],
4440
[
45-
-171.852812,
46-
-21.404167
41+
-174.742432,
42+
-23.704167
4743
],
4844
[
49-
-172.40393,
50-
-21.866667
45+
-173.550944,
46+
-22.791667
5147
],
5248
[
5349
-172.9699,
5450
-22.329167
5551
],
5652
[
57-
-173.550944,
58-
-22.791667
53+
-172.40393,
54+
-21.866667
5955
],
6056
[
61-
-174.742432,
62-
-23.704167
57+
-171.852812,
58+
-21.404167
6359
],
6460
[
65-
-175.977753,
66-
-24.604167
61+
-171.316335,
62+
-20.941667
6763
],
6864
[
69-
-177.268567,
70-
-25.5
65+
-170.780379,
66+
-20.466667
7167
],
7268
[
73-
-178.596668,
74-
-26.379167
69+
-170.268444,
70+
-20.0
71+
],
72+
[
73+
-180.0,
74+
-20.0
7575
],
7676
[
7777
-180.0,
@@ -125,7 +125,7 @@
125125
-20.0
126126
],
127127
"stac_extensions": [
128-
"https://stac-extensions.github.io/eo/v1.0.0/schema.json"
128+
"https://stac-extensions.github.io/eo/v1.1.0/schema.json"
129129
],
130130
"collection": "modis-15A2H-061"
131131
}

tests/data-files/expected/MCD15A3H/061/MCD15A3H.A2022033.h12v10.061/MCD15A3H.A2022033.h12v10.061.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
-10.0
146146
],
147147
"stac_extensions": [
148-
"https://stac-extensions.github.io/eo/v1.0.0/schema.json"
148+
"https://stac-extensions.github.io/eo/v1.1.0/schema.json"
149149
],
150150
"collection": "modis-15A3H-061"
151151
}

tests/data-files/expected/MCD43A4.A2022073.h28v08.006.2022082044758_B01_cropped.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@
237237
10.0
238238
],
239239
"stac_extensions": [
240-
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
241-
"https://stac-extensions.github.io/eo/v1.0.0/schema.json",
240+
"https://stac-extensions.github.io/projection/v1.1.0/schema.json",
241+
"https://stac-extensions.github.io/eo/v1.1.0/schema.json",
242242
"https://stac-extensions.github.io/raster/v1.1.0/schema.json"
243243
]
244244
}

tests/data-files/expected/MCD43A4/006/MCD43A4.A2022019.h10v04.006/MCD43A4.A2022019.h10v04.006.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
50.0
210210
],
211211
"stac_extensions": [
212-
"https://stac-extensions.github.io/eo/v1.0.0/schema.json"
212+
"https://stac-extensions.github.io/eo/v1.1.0/schema.json"
213213
],
214214
"collection": "modis-43A4-006"
215215
}

tests/data-files/expected/MCD43A4/006/collection.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
],
2929
"stac_extensions": [
3030
"https://stac-extensions.github.io/classification/v1.0.0/schema.json",
31-
"https://stac-extensions.github.io/eo/v1.0.0/schema.json",
31+
"https://stac-extensions.github.io/eo/v1.1.0/schema.json",
3232
"https://stac-extensions.github.io/raster/v1.1.0/schema.json",
3333
"https://stac-extensions.github.io/item-assets/v1.0.0/schema.json"
3434
],
@@ -427,7 +427,6 @@
427427
}
428428
},
429429
"license": "proprietary",
430-
"keywords": [],
431430
"providers": [
432431
{
433432
"name": "NASA LP DAAC at the USGS EROS Center",

tests/data-files/expected/MCD43A4/061/MCD43A4.A2022032.h14v10.061/MCD43A4.A2022032.h14v10.061.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
-10.0
146146
],
147147
"stac_extensions": [
148-
"https://stac-extensions.github.io/eo/v1.0.0/schema.json"
148+
"https://stac-extensions.github.io/eo/v1.1.0/schema.json"
149149
],
150150
"collection": "modis-43A4-061"
151151
}

0 commit comments

Comments
 (0)