diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 77d1b5da..6dd08041 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -7,48 +7,33 @@ on: pull_request: jobs: - build: - name: docker - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Execute linters and test suites - run: ./docker/cibuild - - name: Upload All coverage to Codecov - uses: codecov/codecov-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - file: ./coverage.xml - fail_ci_if_error: false python-matrix: name: python-matrix runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9] + python-version: ["3.9"] defaults: run: - shell: bash -l {0} + shell: bash -el {0} steps: - uses: actions/checkout@v2 - name: Set up conda cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/conda_pkgs_dir key: ${{ runner.os }}-conda-${{ hashFiles('**/environment.yml') }} restore-keys: ${{ runner.os }}-conda- - name: Set up pip cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.cfg', '**/requirements-dev.txt') }} restore-keys: ${{ runner.os }}-pip- - name: Set up Conda with Python ${{ matrix.python-version }} - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v3 with: - auto-update-conda: true python-version: ${{ matrix.python-version }} - - name: Update Conda's environemnt - run: conda env update -f environment.yml -n test + environment-file: environment.yml - name: Execute linters and test suites run: ./scripts/cibuild diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d9a77099..7e88a029 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,7 +21,7 @@ repos: hooks: - id: flake8 - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.991 + rev: v1.19.0 hooks: - id: mypy args: @@ -32,6 +32,7 @@ repos: - types-requests - types-setuptools - stactools + - pytest - repo: https://github.com/pycqa/isort rev: 5.12.0 hooks: diff --git a/environment.yml b/environment.yml index 18ef34e3..335c7a77 100644 --- a/environment.yml +++ b/environment.yml @@ -1,7 +1,7 @@ name: stactools-modis channels: - conda-forge - - defaults dependencies: - - python = 3.9 + - python >= 3.9 - gdal >= 3.5.2 + - libgdal-hdf4 diff --git a/mypy.ini b/mypy.ini index bd76a4c2..3c10429a 100644 --- a/mypy.ini +++ b/mypy.ini @@ -18,4 +18,4 @@ ignore_missing_imports = True ignore_missing_imports = True [mypy-multihash.*] -ignore_missing_imports = True \ No newline at end of file +ignore_missing_imports = True diff --git a/requirements-dev.txt b/requirements-dev.txt index 2dab674d..5d29af4d 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -7,3 +7,5 @@ pre-commit pytest pytest-cov types-setuptools +requests +setuptools diff --git a/setup.cfg b/setup.cfg index 771207e2..858e2a23 100644 --- a/setup.cfg +++ b/setup.cfg @@ -10,7 +10,7 @@ url = https://github.com/stactools-modis/stactools-modis project_urls = Documentation = https://stactools-modis.readthedocs.io/en/latest/ Issues = https://github.com/stactools-modis/stactools-modis/issues -keywords = +keywords = stactools pystac catalog @@ -19,8 +19,6 @@ keywords = classifiers = Development Status :: 4 - Beta License :: OSI Approved :: Apache Software License - Programming Language :: Python :: 3.7 - Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 [options] diff --git a/src/stactools/modis/metadata.py b/src/stactools/modis/metadata.py index 34032996..def1f084 100644 --- a/src/stactools/modis/metadata.py +++ b/src/stactools/modis/metadata.py @@ -156,7 +156,7 @@ def get_exception(xpath: str) -> Exception: if qa_percent_cloud_cover and qa_percent_not_produced_cloud is None: assert len(set(qa_percent_cloud_cover.values())) == 1, ( - f"Mutiple, different 'qa_percent_cloud_cover' values exist " + f"Multiple, different 'qa_percent_cloud_cover' values exist " f"in href={href}. This is not supported at this time." ) qa_percent_not_produced_cloud = next(iter(qa_percent_cloud_cover.values())) diff --git a/tests/__init__.py b/tests/__init__.py index c55a440a..44f173d5 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -123,4 +123,4 @@ def create_external_data_dict() -> Dict[str, Dict[str, Any]]: external_data = create_external_data_dict() -test_data = TestData(__file__, external_data=external_data) +test_data = TestData(__file__, external_data=external_data) # type: ignore diff --git a/tests/data-files/expected/MCD12Q1/006/MCD12Q1.A2001001.h00v08.006/MCD12Q1.A2001001.h00v08.006.json b/tests/data-files/expected/MCD12Q1/006/MCD12Q1.A2001001.h00v08.006/MCD12Q1.A2001001.h00v08.006.json index 5fcfb76b..451ed807 100644 --- a/tests/data-files/expected/MCD12Q1/006/MCD12Q1.A2001001.h00v08.006/MCD12Q1.A2001001.h00v08.006.json +++ b/tests/data-files/expected/MCD12Q1/006/MCD12Q1.A2001001.h00v08.006/MCD12Q1.A2001001.h00v08.006.json @@ -263,7 +263,7 @@ 10.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-12Q1-006" } \ No newline at end of file diff --git a/tests/data-files/expected/MCD12Q1/006/collection.json b/tests/data-files/expected/MCD12Q1/006/collection.json index 6c862146..d2bc8ea6 100644 --- a/tests/data-files/expected/MCD12Q1/006/collection.json +++ b/tests/data-files/expected/MCD12Q1/006/collection.json @@ -158,7 +158,6 @@ } }, "license": "proprietary", - "keywords": [], "providers": [ { "name": "NASA LP DAAC at the USGS EROS Center", diff --git a/tests/data-files/expected/MCD15A2H/061/MCD15A2H.A2022025.h01v11.061/MCD15A2H.A2022025.h01v11.061.json b/tests/data-files/expected/MCD15A2H/061/MCD15A2H.A2022025.h01v11.061/MCD15A2H.A2022025.h01v11.061.json index cced474d..f2418733 100644 --- a/tests/data-files/expected/MCD15A2H/061/MCD15A2H.A2022025.h01v11.061/MCD15A2H.A2022025.h01v11.061.json +++ b/tests/data-files/expected/MCD15A2H/061/MCD15A2H.A2022025.h01v11.061/MCD15A2H.A2022025.h01v11.061.json @@ -26,52 +26,52 @@ -27.266667 ], [ - -180.0, - -20.0 - ], - [ - -170.268444, - -20.0 + -178.596668, + -26.379167 ], [ - -170.780379, - -20.466667 + -177.268567, + -25.5 ], [ - -171.316335, - -20.941667 + -175.977753, + -24.604167 ], [ - -171.852812, - -21.404167 + -174.742432, + -23.704167 ], [ - -172.40393, - -21.866667 + -173.550944, + -22.791667 ], [ -172.9699, -22.329167 ], [ - -173.550944, - -22.791667 + -172.40393, + -21.866667 ], [ - -174.742432, - -23.704167 + -171.852812, + -21.404167 ], [ - -175.977753, - -24.604167 + -171.316335, + -20.941667 ], [ - -177.268567, - -25.5 + -170.780379, + -20.466667 ], [ - -178.596668, - -26.379167 + -170.268444, + -20.0 + ], + [ + -180.0, + -20.0 ], [ -180.0, @@ -125,7 +125,7 @@ -20.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-15A2H-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MCD15A3H/061/MCD15A3H.A2022033.h12v10.061/MCD15A3H.A2022033.h12v10.061.json b/tests/data-files/expected/MCD15A3H/061/MCD15A3H.A2022033.h12v10.061/MCD15A3H.A2022033.h12v10.061.json index 7288b212..55ca7d87 100644 --- a/tests/data-files/expected/MCD15A3H/061/MCD15A3H.A2022033.h12v10.061/MCD15A3H.A2022033.h12v10.061.json +++ b/tests/data-files/expected/MCD15A3H/061/MCD15A3H.A2022033.h12v10.061/MCD15A3H.A2022033.h12v10.061.json @@ -145,7 +145,7 @@ -10.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-15A3H-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MCD43A4.A2022073.h28v08.006.2022082044758_B01_cropped.json b/tests/data-files/expected/MCD43A4.A2022073.h28v08.006.2022082044758_B01_cropped.json index d7dd0de7..fd98a841 100644 --- a/tests/data-files/expected/MCD43A4.A2022073.h28v08.006.2022082044758_B01_cropped.json +++ b/tests/data-files/expected/MCD43A4.A2022073.h28v08.006.2022082044758_B01_cropped.json @@ -237,8 +237,8 @@ 10.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.1.0/schema.json", + "https://stac-extensions.github.io/eo/v1.1.0/schema.json", "https://stac-extensions.github.io/raster/v1.1.0/schema.json" ] } \ No newline at end of file diff --git a/tests/data-files/expected/MCD43A4/006/MCD43A4.A2022019.h10v04.006/MCD43A4.A2022019.h10v04.006.json b/tests/data-files/expected/MCD43A4/006/MCD43A4.A2022019.h10v04.006/MCD43A4.A2022019.h10v04.006.json index 51a2ecb8..54266668 100644 --- a/tests/data-files/expected/MCD43A4/006/MCD43A4.A2022019.h10v04.006/MCD43A4.A2022019.h10v04.006.json +++ b/tests/data-files/expected/MCD43A4/006/MCD43A4.A2022019.h10v04.006/MCD43A4.A2022019.h10v04.006.json @@ -209,7 +209,7 @@ 50.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-43A4-006" } \ No newline at end of file diff --git a/tests/data-files/expected/MCD43A4/006/collection.json b/tests/data-files/expected/MCD43A4/006/collection.json index a071d3ac..660f0ccd 100644 --- a/tests/data-files/expected/MCD43A4/006/collection.json +++ b/tests/data-files/expected/MCD43A4/006/collection.json @@ -28,7 +28,7 @@ ], "stac_extensions": [ "https://stac-extensions.github.io/classification/v1.0.0/schema.json", - "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.1.0/schema.json", "https://stac-extensions.github.io/raster/v1.1.0/schema.json", "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json" ], @@ -427,7 +427,6 @@ } }, "license": "proprietary", - "keywords": [], "providers": [ { "name": "NASA LP DAAC at the USGS EROS Center", diff --git a/tests/data-files/expected/MCD43A4/061/MCD43A4.A2022032.h14v10.061/MCD43A4.A2022032.h14v10.061.json b/tests/data-files/expected/MCD43A4/061/MCD43A4.A2022032.h14v10.061/MCD43A4.A2022032.h14v10.061.json index 72f9fd77..1b9c8a76 100644 --- a/tests/data-files/expected/MCD43A4/061/MCD43A4.A2022032.h14v10.061/MCD43A4.A2022032.h14v10.061.json +++ b/tests/data-files/expected/MCD43A4/061/MCD43A4.A2022032.h14v10.061/MCD43A4.A2022032.h14v10.061.json @@ -145,7 +145,7 @@ -10.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-43A4-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MCD43A4/061/collection.json b/tests/data-files/expected/MCD43A4/061/collection.json index b85a833e..d0bc35be 100644 --- a/tests/data-files/expected/MCD43A4/061/collection.json +++ b/tests/data-files/expected/MCD43A4/061/collection.json @@ -38,7 +38,7 @@ ], "stac_extensions": [ "https://stac-extensions.github.io/classification/v1.0.0/schema.json", - "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.1.0/schema.json", "https://stac-extensions.github.io/raster/v1.1.0/schema.json", "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json", "https://stac-extensions.github.io/scientific/v1.0.0/schema.json" diff --git a/tests/data-files/expected/MCD64A1/061/MCD64A1.A2021335.h10v06.061/MCD64A1.A2021335.h10v06.061.json b/tests/data-files/expected/MCD64A1/061/MCD64A1.A2021335.h10v06.061/MCD64A1.A2021335.h10v06.061.json index eb14102f..bbca6888 100644 --- a/tests/data-files/expected/MCD64A1/061/MCD64A1.A2021335.h10v06.061/MCD64A1.A2021335.h10v06.061.json +++ b/tests/data-files/expected/MCD64A1/061/MCD64A1.A2021335.h10v06.061/MCD64A1.A2021335.h10v06.061.json @@ -209,7 +209,7 @@ 30.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-64A1-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD09A1/061/MOD09A1.A2022033.h19v10.061/MOD09A1.A2022033.h19v10.061.json b/tests/data-files/expected/MOD09A1/061/MOD09A1.A2022033.h19v10.061/MOD09A1.A2022033.h19v10.061.json index 699373b2..38caa662 100644 --- a/tests/data-files/expected/MOD09A1/061/MOD09A1.A2022033.h19v10.061/MOD09A1.A2022033.h19v10.061.json +++ b/tests/data-files/expected/MOD09A1/061/MOD09A1.A2022033.h19v10.061/MOD09A1.A2022033.h19v10.061.json @@ -129,7 +129,7 @@ -10.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-09A1-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD09A1/061/collection.json b/tests/data-files/expected/MOD09A1/061/collection.json index 5b2b726b..5535e912 100644 --- a/tests/data-files/expected/MOD09A1/061/collection.json +++ b/tests/data-files/expected/MOD09A1/061/collection.json @@ -47,7 +47,7 @@ } ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.1.0/schema.json", "https://stac-extensions.github.io/raster/v1.1.0/schema.json", "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json", "https://stac-extensions.github.io/scientific/v1.0.0/schema.json" diff --git a/tests/data-files/expected/MOD09Q1/061/MOD09Q1.A2022033.h10v10.061/MOD09Q1.A2022033.h10v10.061.json b/tests/data-files/expected/MOD09Q1/061/MOD09Q1.A2022033.h10v10.061/MOD09Q1.A2022033.h10v10.061.json index 8312de11..f7a21fd3 100644 --- a/tests/data-files/expected/MOD09Q1/061/MOD09Q1.A2022033.h10v10.061/MOD09Q1.A2022033.h10v10.061.json +++ b/tests/data-files/expected/MOD09Q1/061/MOD09Q1.A2022033.h10v10.061/MOD09Q1.A2022033.h10v10.061.json @@ -209,7 +209,7 @@ -10.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-09Q1-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD09Q1/061/collection.json b/tests/data-files/expected/MOD09Q1/061/collection.json index 08150cdb..2c7dafa0 100644 --- a/tests/data-files/expected/MOD09Q1/061/collection.json +++ b/tests/data-files/expected/MOD09Q1/061/collection.json @@ -47,7 +47,7 @@ } ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.1.0/schema.json", "https://stac-extensions.github.io/raster/v1.1.0/schema.json", "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json", "https://stac-extensions.github.io/scientific/v1.0.0/schema.json" diff --git a/tests/data-files/expected/MOD10A1/006/MOD10A1.A2022029.h10v05.006/MOD10A1.A2022029.h10v05.006.json b/tests/data-files/expected/MOD10A1/006/MOD10A1.A2022029.h10v05.006/MOD10A1.A2022029.h10v05.006.json index 69055d84..71c9f6c3 100644 --- a/tests/data-files/expected/MOD10A1/006/MOD10A1.A2022029.h10v05.006/MOD10A1.A2022029.h10v05.006.json +++ b/tests/data-files/expected/MOD10A1/006/MOD10A1.A2022029.h10v05.006/MOD10A1.A2022029.h10v05.006.json @@ -209,7 +209,7 @@ 40.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-10A1-006" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD10A1/006/collection.json b/tests/data-files/expected/MOD10A1/006/collection.json index 5769be1c..d4674089 100644 --- a/tests/data-files/expected/MOD10A1/006/collection.json +++ b/tests/data-files/expected/MOD10A1/006/collection.json @@ -111,7 +111,6 @@ } }, "license": "proprietary", - "keywords": [], "providers": [ { "name": "NASA NSIDC DAAC at CIRES", diff --git a/tests/data-files/expected/MOD10A1/061/MOD10A1.A2022040.h11v05.061/MOD10A1.A2022040.h11v05.061.json b/tests/data-files/expected/MOD10A1/061/MOD10A1.A2022040.h11v05.061/MOD10A1.A2022040.h11v05.061.json index ac63a98d..100e5786 100644 --- a/tests/data-files/expected/MOD10A1/061/MOD10A1.A2022040.h11v05.061/MOD10A1.A2022040.h11v05.061.json +++ b/tests/data-files/expected/MOD10A1/061/MOD10A1.A2022040.h11v05.061/MOD10A1.A2022040.h11v05.061.json @@ -209,7 +209,7 @@ 40.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-10A1-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD10A2/061/MOD10A2.A2022033.h09v05.061/MOD10A2.A2022033.h09v05.061.json b/tests/data-files/expected/MOD10A2/061/MOD10A2.A2022033.h09v05.061/MOD10A2.A2022033.h09v05.061.json index ee51217e..0259675a 100644 --- a/tests/data-files/expected/MOD10A2/061/MOD10A2.A2022033.h09v05.061/MOD10A2.A2022033.h09v05.061.json +++ b/tests/data-files/expected/MOD10A2/061/MOD10A2.A2022033.h09v05.061/MOD10A2.A2022033.h09v05.061.json @@ -320,8 +320,8 @@ 40.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.1.0/schema.json", + "https://stac-extensions.github.io/eo/v1.1.0/schema.json", "https://stac-extensions.github.io/raster/v1.1.0/schema.json", "https://stac-extensions.github.io/classification/v1.0.0/schema.json" ], diff --git a/tests/data-files/expected/MOD11A1.A2022103.h09v05.006.2022104093154_CDC_B11_cropped.json b/tests/data-files/expected/MOD11A1.A2022103.h09v05.006.2022104093154_CDC_B11_cropped.json index f6b96a17..455821e9 100644 --- a/tests/data-files/expected/MOD11A1.A2022103.h09v05.006.2022104093154_CDC_B11_cropped.json +++ b/tests/data-files/expected/MOD11A1.A2022103.h09v05.006.2022104093154_CDC_B11_cropped.json @@ -164,8 +164,8 @@ 40.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.1.0/schema.json", + "https://stac-extensions.github.io/eo/v1.1.0/schema.json", "https://stac-extensions.github.io/raster/v1.1.0/schema.json" ] } \ No newline at end of file diff --git a/tests/data-files/expected/MOD11A1/006/MOD11A1.A2022030.h10v05.006/MOD11A1.A2022030.h10v05.006.json b/tests/data-files/expected/MOD11A1/006/MOD11A1.A2022030.h10v05.006/MOD11A1.A2022030.h10v05.006.json index 7cb7677c..5b1dec8a 100644 --- a/tests/data-files/expected/MOD11A1/006/MOD11A1.A2022030.h10v05.006/MOD11A1.A2022030.h10v05.006.json +++ b/tests/data-files/expected/MOD11A1/006/MOD11A1.A2022030.h10v05.006/MOD11A1.A2022030.h10v05.006.json @@ -145,7 +145,7 @@ 40.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-11A1-006" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD11A1/006/collection.json b/tests/data-files/expected/MOD11A1/006/collection.json index 537f7c7a..12a9bb86 100644 --- a/tests/data-files/expected/MOD11A1/006/collection.json +++ b/tests/data-files/expected/MOD11A1/006/collection.json @@ -240,7 +240,6 @@ } }, "license": "proprietary", - "keywords": [], "providers": [ { "name": "NASA LP DAAC at the USGS EROS Center", diff --git a/tests/data-files/expected/MOD11A1/061/MOD11A1.A2022041.h19v02.061/MOD11A1.A2022041.h19v02.061.json b/tests/data-files/expected/MOD11A1/061/MOD11A1.A2022041.h19v02.061/MOD11A1.A2022041.h19v02.061.json index 6d87d6b3..20c433a0 100644 --- a/tests/data-files/expected/MOD11A1/061/MOD11A1.A2022041.h19v02.061/MOD11A1.A2022041.h19v02.061.json +++ b/tests/data-files/expected/MOD11A1/061/MOD11A1.A2022041.h19v02.061/MOD11A1.A2022041.h19v02.061.json @@ -209,7 +209,7 @@ 70.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-11A1-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD11A2/006/MOD11A2.A2022017.h10v05.006/MOD11A2.A2022017.h10v05.006.json b/tests/data-files/expected/MOD11A2/006/MOD11A2.A2022017.h10v05.006/MOD11A2.A2022017.h10v05.006.json index c9f18797..e271fc99 100644 --- a/tests/data-files/expected/MOD11A2/006/MOD11A2.A2022017.h10v05.006/MOD11A2.A2022017.h10v05.006.json +++ b/tests/data-files/expected/MOD11A2/006/MOD11A2.A2022017.h10v05.006/MOD11A2.A2022017.h10v05.006.json @@ -161,7 +161,7 @@ 40.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-11A2-006" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD11A2/006/collection.json b/tests/data-files/expected/MOD11A2/006/collection.json index 38c503bb..ac44937e 100644 --- a/tests/data-files/expected/MOD11A2/006/collection.json +++ b/tests/data-files/expected/MOD11A2/006/collection.json @@ -151,7 +151,6 @@ } }, "license": "proprietary", - "keywords": [], "providers": [ { "name": "NASA LP DAAC at the USGS EROS Center", diff --git a/tests/data-files/expected/MOD11A2/061/MOD11A2.A2022033.h19v10.061/MOD11A2.A2022033.h19v10.061.json b/tests/data-files/expected/MOD11A2/061/MOD11A2.A2022033.h19v10.061/MOD11A2.A2022033.h19v10.061.json index 9fe31361..9fc921ef 100644 --- a/tests/data-files/expected/MOD11A2/061/MOD11A2.A2022033.h19v10.061/MOD11A2.A2022033.h19v10.061.json +++ b/tests/data-files/expected/MOD11A2/061/MOD11A2.A2022033.h19v10.061/MOD11A2.A2022033.h19v10.061.json @@ -113,7 +113,7 @@ -10.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-11A2-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD13A1.A2022081.h09v05.006.2022101145817_BR_B06_cropped.json b/tests/data-files/expected/MOD13A1.A2022081.h09v05.006.2022101145817_BR_B06_cropped.json index 951f795a..d3de1b14 100644 --- a/tests/data-files/expected/MOD13A1.A2022081.h09v05.006.2022101145817_BR_B06_cropped.json +++ b/tests/data-files/expected/MOD13A1.A2022081.h09v05.006.2022101145817_BR_B06_cropped.json @@ -228,8 +228,8 @@ 40.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/projection/v1.0.0/schema.json", - "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/projection/v1.1.0/schema.json", + "https://stac-extensions.github.io/eo/v1.1.0/schema.json", "https://stac-extensions.github.io/raster/v1.1.0/schema.json" ] } \ No newline at end of file diff --git a/tests/data-files/expected/MOD13A1/006/MOD13A1.A2022001.h09v05.006/MOD13A1.A2022001.h09v05.006.json b/tests/data-files/expected/MOD13A1/006/MOD13A1.A2022001.h09v05.006/MOD13A1.A2022001.h09v05.006.json index 4048bc03..24ae3fda 100644 --- a/tests/data-files/expected/MOD13A1/006/MOD13A1.A2022001.h09v05.006/MOD13A1.A2022001.h09v05.006.json +++ b/tests/data-files/expected/MOD13A1/006/MOD13A1.A2022001.h09v05.006/MOD13A1.A2022001.h09v05.006.json @@ -209,7 +209,7 @@ 40.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-13A1-006" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD13A1/006/collection.json b/tests/data-files/expected/MOD13A1/006/collection.json index 0835698c..c24e56ed 100644 --- a/tests/data-files/expected/MOD13A1/006/collection.json +++ b/tests/data-files/expected/MOD13A1/006/collection.json @@ -259,7 +259,6 @@ } }, "license": "proprietary", - "keywords": [], "providers": [ { "name": "NASA LP DAAC at the USGS EROS Center", diff --git a/tests/data-files/expected/MOD13A1/061/MOD13A1.A2022017.h12v11.061/MOD13A1.A2022017.h12v11.061.json b/tests/data-files/expected/MOD13A1/061/MOD13A1.A2022017.h12v11.061/MOD13A1.A2022017.h12v11.061.json index fccf3064..6dde99ff 100644 --- a/tests/data-files/expected/MOD13A1/061/MOD13A1.A2022017.h12v11.061/MOD13A1.A2022017.h12v11.061.json +++ b/tests/data-files/expected/MOD13A1/061/MOD13A1.A2022017.h12v11.061/MOD13A1.A2022017.h12v11.061.json @@ -177,7 +177,7 @@ -20.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-13A1-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD13Q1/006/MOD13Q1.A2022001.h09v05.006/MOD13Q1.A2022001.h09v05.006.json b/tests/data-files/expected/MOD13Q1/006/MOD13Q1.A2022001.h09v05.006/MOD13Q1.A2022001.h09v05.006.json index dfff535b..131a060f 100644 --- a/tests/data-files/expected/MOD13Q1/006/MOD13Q1.A2022001.h09v05.006/MOD13Q1.A2022001.h09v05.006.json +++ b/tests/data-files/expected/MOD13Q1/006/MOD13Q1.A2022001.h09v05.006/MOD13Q1.A2022001.h09v05.006.json @@ -250,7 +250,7 @@ 40.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-13Q1-006" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD13Q1/006/collection.json b/tests/data-files/expected/MOD13Q1/006/collection.json index c89beea4..52a37c6d 100644 --- a/tests/data-files/expected/MOD13Q1/006/collection.json +++ b/tests/data-files/expected/MOD13Q1/006/collection.json @@ -151,7 +151,6 @@ } }, "license": "proprietary", - "keywords": [], "providers": [ { "name": "NASA LP DAAC at the USGS EROS Center", diff --git a/tests/data-files/expected/MOD13Q1/061/MOD13Q1.A2022017.h12v11.061/MOD13Q1.A2022017.h12v11.061.json b/tests/data-files/expected/MOD13Q1/061/MOD13Q1.A2022017.h12v11.061/MOD13Q1.A2022017.h12v11.061.json index 1f797d55..e84bd1fd 100644 --- a/tests/data-files/expected/MOD13Q1/061/MOD13Q1.A2022017.h12v11.061/MOD13Q1.A2022017.h12v11.061.json +++ b/tests/data-files/expected/MOD13Q1/061/MOD13Q1.A2022017.h12v11.061/MOD13Q1.A2022017.h12v11.061.json @@ -209,7 +209,7 @@ -20.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-13Q1-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD14A1/006/collection.json b/tests/data-files/expected/MOD14A1/006/collection.json index a1007a9c..58003953 100644 --- a/tests/data-files/expected/MOD14A1/006/collection.json +++ b/tests/data-files/expected/MOD14A1/006/collection.json @@ -95,7 +95,6 @@ } }, "license": "proprietary", - "keywords": [], "providers": [ { "name": "NASA LP DAAC at the USGS EROS Center", diff --git a/tests/data-files/expected/MOD14A2/006/collection.json b/tests/data-files/expected/MOD14A2/006/collection.json index 4eb62a51..4f9b8cf0 100644 --- a/tests/data-files/expected/MOD14A2/006/collection.json +++ b/tests/data-files/expected/MOD14A2/006/collection.json @@ -81,7 +81,6 @@ } }, "license": "proprietary", - "keywords": [], "providers": [ { "name": "NASA LP DAAC at the USGS EROS Center", diff --git a/tests/data-files/expected/MOD15A2H/006/MOD15A2H.A2022017.h10v05.006/MOD15A2H.A2022017.h10v05.006.json b/tests/data-files/expected/MOD15A2H/006/MOD15A2H.A2022017.h10v05.006/MOD15A2H.A2022017.h10v05.006.json index 96c73d31..2e64e188 100644 --- a/tests/data-files/expected/MOD15A2H/006/MOD15A2H.A2022017.h10v05.006/MOD15A2H.A2022017.h10v05.006.json +++ b/tests/data-files/expected/MOD15A2H/006/MOD15A2H.A2022017.h10v05.006/MOD15A2H.A2022017.h10v05.006.json @@ -224,7 +224,7 @@ 40.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-15A2H-006" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD15A2H/006/collection.json b/tests/data-files/expected/MOD15A2H/006/collection.json index 139cc356..4fc31edb 100644 --- a/tests/data-files/expected/MOD15A2H/006/collection.json +++ b/tests/data-files/expected/MOD15A2H/006/collection.json @@ -109,7 +109,6 @@ } }, "license": "proprietary", - "keywords": [], "providers": [ { "name": "NASA LP DAAC at the USGS EROS Center", diff --git a/tests/data-files/expected/MOD15A2H/061/MOD15A2H.A2022033.h13v10.061/MOD15A2H.A2022033.h13v10.061.json b/tests/data-files/expected/MOD15A2H/061/MOD15A2H.A2022033.h13v10.061/MOD15A2H.A2022033.h13v10.061.json index 10b349ee..28e49bc2 100644 --- a/tests/data-files/expected/MOD15A2H/061/MOD15A2H.A2022033.h13v10.061/MOD15A2H.A2022033.h13v10.061.json +++ b/tests/data-files/expected/MOD15A2H/061/MOD15A2H.A2022033.h13v10.061/MOD15A2H.A2022033.h13v10.061.json @@ -145,7 +145,7 @@ -10.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-15A2H-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD16A3GF/006/MOD16A3GF.A2020001.h09v04.006/MOD16A3GF.A2020001.h09v04.006.json b/tests/data-files/expected/MOD16A3GF/006/MOD16A3GF.A2020001.h09v04.006/MOD16A3GF.A2020001.h09v04.006.json index 58d88440..573a496b 100644 --- a/tests/data-files/expected/MOD16A3GF/006/MOD16A3GF.A2020001.h09v04.006/MOD16A3GF.A2020001.h09v04.006.json +++ b/tests/data-files/expected/MOD16A3GF/006/MOD16A3GF.A2020001.h09v04.006/MOD16A3GF.A2020001.h09v04.006.json @@ -230,7 +230,7 @@ 50.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-16A3GF-006" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD16A3GF/006/collection.json b/tests/data-files/expected/MOD16A3GF/006/collection.json index 0fc97ed3..8e31e53f 100644 --- a/tests/data-files/expected/MOD16A3GF/006/collection.json +++ b/tests/data-files/expected/MOD16A3GF/006/collection.json @@ -102,7 +102,6 @@ } }, "license": "proprietary", - "keywords": [], "providers": [ { "name": "NASA LP DAAC at the USGS EROS Center", diff --git a/tests/data-files/expected/MOD16A3GF/061/MOD16A3GF.A2021001.h11v02.061/MOD16A3GF.A2021001.h11v02.061.json b/tests/data-files/expected/MOD16A3GF/061/MOD16A3GF.A2021001.h11v02.061/MOD16A3GF.A2021001.h11v02.061.json index c5684e1a..a7097e60 100644 --- a/tests/data-files/expected/MOD16A3GF/061/MOD16A3GF.A2021001.h11v02.061/MOD16A3GF.A2021001.h11v02.061.json +++ b/tests/data-files/expected/MOD16A3GF/061/MOD16A3GF.A2021001.h11v02.061/MOD16A3GF.A2021001.h11v02.061.json @@ -253,7 +253,7 @@ 70.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-16A3GF-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD17A2H/006/MOD17A2H.A2022017.h09v04.006/MOD17A2H.A2022017.h09v04.006.json b/tests/data-files/expected/MOD17A2H/006/MOD17A2H.A2022017.h09v04.006/MOD17A2H.A2022017.h09v04.006.json index 3635c228..80f44f1a 100644 --- a/tests/data-files/expected/MOD17A2H/006/MOD17A2H.A2022017.h09v04.006/MOD17A2H.A2022017.h09v04.006.json +++ b/tests/data-files/expected/MOD17A2H/006/MOD17A2H.A2022017.h09v04.006/MOD17A2H.A2022017.h09v04.006.json @@ -231,7 +231,7 @@ 50.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-17A2H-006" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD17A2H/006/collection.json b/tests/data-files/expected/MOD17A2H/006/collection.json index e6cba1cb..9a37b8c6 100644 --- a/tests/data-files/expected/MOD17A2H/006/collection.json +++ b/tests/data-files/expected/MOD17A2H/006/collection.json @@ -88,7 +88,6 @@ } }, "license": "proprietary", - "keywords": [], "providers": [ { "name": "NASA LP DAAC at the USGS EROS Center", diff --git a/tests/data-files/expected/MOD17A2H/061/MOD17A2H.A2022025.h08v05.061/MOD17A2H.A2022025.h08v05.061.json b/tests/data-files/expected/MOD17A2H/061/MOD17A2H.A2022025.h08v05.061/MOD17A2H.A2022025.h08v05.061.json index 3996c29e..63d9ca2c 100644 --- a/tests/data-files/expected/MOD17A2H/061/MOD17A2H.A2022025.h08v05.061/MOD17A2H.A2022025.h08v05.061.json +++ b/tests/data-files/expected/MOD17A2H/061/MOD17A2H.A2022025.h08v05.061/MOD17A2H.A2022025.h08v05.061.json @@ -209,7 +209,7 @@ 40.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-17A2H-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD17A2HGF/006/MOD17A2HGF.A2021337.h09v05.006/MOD17A2HGF.A2021337.h09v05.006.json b/tests/data-files/expected/MOD17A2HGF/006/MOD17A2HGF.A2021337.h09v05.006/MOD17A2HGF.A2021337.h09v05.006.json index 2b81b881..b3675556 100644 --- a/tests/data-files/expected/MOD17A2HGF/006/MOD17A2HGF.A2021337.h09v05.006/MOD17A2HGF.A2021337.h09v05.006.json +++ b/tests/data-files/expected/MOD17A2HGF/006/MOD17A2HGF.A2021337.h09v05.006/MOD17A2HGF.A2021337.h09v05.006.json @@ -231,7 +231,7 @@ 40.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-17A2HGF-006" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD17A2HGF/006/collection.json b/tests/data-files/expected/MOD17A2HGF/006/collection.json index e727887c..e8d1da18 100644 --- a/tests/data-files/expected/MOD17A2HGF/006/collection.json +++ b/tests/data-files/expected/MOD17A2HGF/006/collection.json @@ -88,7 +88,6 @@ } }, "license": "proprietary", - "keywords": [], "providers": [ { "name": "NASA LP DAAC at the USGS EROS Center", diff --git a/tests/data-files/expected/MOD17A2HGF/061/MOD17A2HGF.A2021361.h10v06.061/MOD17A2HGF.A2021361.h10v06.061.json b/tests/data-files/expected/MOD17A2HGF/061/MOD17A2HGF.A2021361.h10v06.061/MOD17A2HGF.A2021361.h10v06.061.json index 2162cfd7..efb2c325 100644 --- a/tests/data-files/expected/MOD17A2HGF/061/MOD17A2HGF.A2021361.h10v06.061/MOD17A2HGF.A2021361.h10v06.061.json +++ b/tests/data-files/expected/MOD17A2HGF/061/MOD17A2HGF.A2021361.h10v06.061/MOD17A2HGF.A2021361.h10v06.061.json @@ -209,7 +209,7 @@ 30.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-17A2HGF-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD17A3HGF/006/MOD17A3HGF.A2020001.h09v04.006/MOD17A3HGF.A2020001.h09v04.006.json b/tests/data-files/expected/MOD17A3HGF/006/MOD17A3HGF.A2020001.h09v04.006/MOD17A3HGF.A2020001.h09v04.006.json index dba25243..87ba96b8 100644 --- a/tests/data-files/expected/MOD17A3HGF/006/MOD17A3HGF.A2020001.h09v04.006/MOD17A3HGF.A2020001.h09v04.006.json +++ b/tests/data-files/expected/MOD17A3HGF/006/MOD17A3HGF.A2020001.h09v04.006/MOD17A3HGF.A2020001.h09v04.006.json @@ -223,7 +223,7 @@ 50.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-17A3HGF-006" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD17A3HGF/006/collection.json b/tests/data-files/expected/MOD17A3HGF/006/collection.json index 9cd74b60..a4c20753 100644 --- a/tests/data-files/expected/MOD17A3HGF/006/collection.json +++ b/tests/data-files/expected/MOD17A3HGF/006/collection.json @@ -81,7 +81,6 @@ } }, "license": "proprietary", - "keywords": [], "providers": [ { "name": "NASA LP DAAC at the USGS EROS Center", diff --git a/tests/data-files/expected/MOD17A3HGF/061/MOD17A3HGF.A2021001.h14v02.061/MOD17A3HGF.A2021001.h14v02.061.json b/tests/data-files/expected/MOD17A3HGF/061/MOD17A3HGF.A2021001.h14v02.061/MOD17A3HGF.A2021001.h14v02.061.json index de842cb6..e47ba23b 100644 --- a/tests/data-files/expected/MOD17A3HGF/061/MOD17A3HGF.A2021001.h14v02.061/MOD17A3HGF.A2021001.h14v02.061.json +++ b/tests/data-files/expected/MOD17A3HGF/061/MOD17A3HGF.A2021001.h14v02.061/MOD17A3HGF.A2021001.h14v02.061.json @@ -213,7 +213,7 @@ 70.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-17A3HGF-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD21A2/006/MOD21A2.A2005361.h10v04.006/MOD21A2.A2005361.h10v04.006.json b/tests/data-files/expected/MOD21A2/006/MOD21A2.A2005361.h10v04.006/MOD21A2.A2005361.h10v04.006.json index fd55396c..f2885517 100644 --- a/tests/data-files/expected/MOD21A2/006/MOD21A2.A2005361.h10v04.006/MOD21A2.A2005361.h10v04.006.json +++ b/tests/data-files/expected/MOD21A2/006/MOD21A2.A2005361.h10v04.006/MOD21A2.A2005361.h10v04.006.json @@ -201,7 +201,7 @@ 50.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-21A2-006" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD21A2/006/collection.json b/tests/data-files/expected/MOD21A2/006/collection.json index ce5ebc41..35f44acb 100644 --- a/tests/data-files/expected/MOD21A2/006/collection.json +++ b/tests/data-files/expected/MOD21A2/006/collection.json @@ -144,7 +144,6 @@ } }, "license": "proprietary", - "keywords": [], "providers": [ { "name": "NASA LP DAAC at the USGS EROS Center", diff --git a/tests/data-files/expected/MOD21A2/061/MOD21A2.A2022033.h12v08.061/MOD21A2.A2022033.h12v08.061.json b/tests/data-files/expected/MOD21A2/061/MOD21A2.A2022033.h12v08.061/MOD21A2.A2022033.h12v08.061.json index adbc68c4..e9bf3b8b 100644 --- a/tests/data-files/expected/MOD21A2/061/MOD21A2.A2022033.h12v08.061/MOD21A2.A2022033.h12v08.061.json +++ b/tests/data-files/expected/MOD21A2/061/MOD21A2.A2022033.h12v08.061/MOD21A2.A2022033.h12v08.061.json @@ -145,7 +145,7 @@ 10.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-21A2-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD44B/006/MOD44B.A2020065.h09v04.006/MOD44B.A2020065.h09v04.006.json b/tests/data-files/expected/MOD44B/006/MOD44B.A2020065.h09v04.006/MOD44B.A2020065.h09v04.006.json index 496c133f..f1b49bd3 100644 --- a/tests/data-files/expected/MOD44B/006/MOD44B.A2020065.h09v04.006/MOD44B.A2020065.h09v04.006.json +++ b/tests/data-files/expected/MOD44B/006/MOD44B.A2020065.h09v04.006/MOD44B.A2020065.h09v04.006.json @@ -285,7 +285,7 @@ 50.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-44B-006" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD44B/006/collection.json b/tests/data-files/expected/MOD44B/006/collection.json index 8dd8a534..ea847001 100644 --- a/tests/data-files/expected/MOD44B/006/collection.json +++ b/tests/data-files/expected/MOD44B/006/collection.json @@ -116,7 +116,6 @@ } }, "license": "proprietary", - "keywords": [], "providers": [ { "name": "NASA LP DAAC at the USGS EROS Center", diff --git a/tests/data-files/expected/MOD44W/006/MOD44W.A2015001.h10v04.006/MOD44W.A2015001.h10v04.006.json b/tests/data-files/expected/MOD44W/006/MOD44W.A2015001.h10v04.006/MOD44W.A2015001.h10v04.006.json index e70277ef..918f16e1 100644 --- a/tests/data-files/expected/MOD44W/006/MOD44W.A2015001.h10v04.006/MOD44W.A2015001.h10v04.006.json +++ b/tests/data-files/expected/MOD44W/006/MOD44W.A2015001.h10v04.006/MOD44W.A2015001.h10v04.006.json @@ -221,7 +221,7 @@ 50.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-44W-006" } \ No newline at end of file diff --git a/tests/data-files/expected/MOD44W/006/collection.json b/tests/data-files/expected/MOD44W/006/collection.json index cb843d8e..d5754f62 100644 --- a/tests/data-files/expected/MOD44W/006/collection.json +++ b/tests/data-files/expected/MOD44W/006/collection.json @@ -76,7 +76,6 @@ } }, "license": "proprietary", - "keywords": [], "providers": [ { "name": "NASA LP DAAC at the USGS EROS Center", diff --git a/tests/data-files/expected/MYD09A1/061/MYD09A1.A2022025.h09v08.061/MYD09A1.A2022025.h09v08.061.json b/tests/data-files/expected/MYD09A1/061/MYD09A1.A2022025.h09v08.061/MYD09A1.A2022025.h09v08.061.json index 2b63c0d6..d1f373d8 100644 --- a/tests/data-files/expected/MYD09A1/061/MYD09A1.A2022025.h09v08.061/MYD09A1.A2022025.h09v08.061.json +++ b/tests/data-files/expected/MYD09A1/061/MYD09A1.A2022025.h09v08.061/MYD09A1.A2022025.h09v08.061.json @@ -209,7 +209,7 @@ 10.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-09A1-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MYD09A1/061/collection.json b/tests/data-files/expected/MYD09A1/061/collection.json index dece4b9a..c0178382 100644 --- a/tests/data-files/expected/MYD09A1/061/collection.json +++ b/tests/data-files/expected/MYD09A1/061/collection.json @@ -47,7 +47,7 @@ } ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.1.0/schema.json", "https://stac-extensions.github.io/raster/v1.1.0/schema.json", "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json", "https://stac-extensions.github.io/scientific/v1.0.0/schema.json" diff --git a/tests/data-files/expected/MYD09Q1/061/MYD09Q1.A2022025.h02v08.061/MYD09Q1.A2022025.h02v08.061.json b/tests/data-files/expected/MYD09Q1/061/MYD09Q1.A2022025.h02v08.061/MYD09Q1.A2022025.h02v08.061.json index 95daefa2..2dae25a5 100644 --- a/tests/data-files/expected/MYD09Q1/061/MYD09Q1.A2022025.h02v08.061/MYD09Q1.A2022025.h02v08.061.json +++ b/tests/data-files/expected/MYD09Q1/061/MYD09Q1.A2022025.h02v08.061/MYD09Q1.A2022025.h02v08.061.json @@ -249,7 +249,7 @@ 10.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-09Q1-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MYD09Q1/061/collection.json b/tests/data-files/expected/MYD09Q1/061/collection.json index a292aa29..06bf3994 100644 --- a/tests/data-files/expected/MYD09Q1/061/collection.json +++ b/tests/data-files/expected/MYD09Q1/061/collection.json @@ -47,7 +47,7 @@ } ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json", + "https://stac-extensions.github.io/eo/v1.1.0/schema.json", "https://stac-extensions.github.io/raster/v1.1.0/schema.json", "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json", "https://stac-extensions.github.io/scientific/v1.0.0/schema.json" diff --git a/tests/data-files/expected/MYD10A1/061/MYD10A1.A2022043.h21v04.061/MYD10A1.A2022043.h21v04.061.json b/tests/data-files/expected/MYD10A1/061/MYD10A1.A2022043.h21v04.061/MYD10A1.A2022043.h21v04.061.json index d7e2c69f..7cda2e5b 100644 --- a/tests/data-files/expected/MYD10A1/061/MYD10A1.A2022043.h21v04.061/MYD10A1.A2022043.h21v04.061.json +++ b/tests/data-files/expected/MYD10A1/061/MYD10A1.A2022043.h21v04.061/MYD10A1.A2022043.h21v04.061.json @@ -209,7 +209,7 @@ 50.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-10A1-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MYD10A2/061/MYD10A2.A2022025.h10v05.061/MYD10A2.A2022025.h10v05.061.json b/tests/data-files/expected/MYD10A2/061/MYD10A2.A2022025.h10v05.061/MYD10A2.A2022025.h10v05.061.json index d7027ead..47fd46e6 100644 --- a/tests/data-files/expected/MYD10A2/061/MYD10A2.A2022025.h10v05.061/MYD10A2.A2022025.h10v05.061.json +++ b/tests/data-files/expected/MYD10A2/061/MYD10A2.A2022025.h10v05.061/MYD10A2.A2022025.h10v05.061.json @@ -209,7 +209,7 @@ 40.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-10A2-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MYD11A1/061/MYD11A1.A2022039.h21v07.061/MYD11A1.A2022039.h21v07.061.json b/tests/data-files/expected/MYD11A1/061/MYD11A1.A2022039.h21v07.061/MYD11A1.A2022039.h21v07.061.json index 760d029d..4ff50067 100644 --- a/tests/data-files/expected/MYD11A1/061/MYD11A1.A2022039.h21v07.061/MYD11A1.A2022039.h21v07.061.json +++ b/tests/data-files/expected/MYD11A1/061/MYD11A1.A2022039.h21v07.061/MYD11A1.A2022039.h21v07.061.json @@ -129,7 +129,7 @@ 20.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-11A1-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MYD11A2/061/MYD11A2.A2022025.h17v00.061/MYD11A2.A2022025.h17v00.061.json b/tests/data-files/expected/MYD11A2/061/MYD11A2.A2022025.h17v00.061/MYD11A2.A2022025.h17v00.061.json index 53eb7891..e4b44d45 100644 --- a/tests/data-files/expected/MYD11A2/061/MYD11A2.A2022025.h17v00.061/MYD11A2.A2022025.h17v00.061.json +++ b/tests/data-files/expected/MYD11A2/061/MYD11A2.A2022025.h17v00.061/MYD11A2.A2022025.h17v00.061.json @@ -26,99 +26,99 @@ 89.99444466670782 ], [ - 4e-06, + -180.0, 89.991667 ], [ - 0.0, - 80.0 - ], - [ - -57.587705, - 80.0 + -180.0, + 86.816667 ], [ - -59.655504, - 80.35 + -167.386618, + 86.575 ], [ - -61.824814, - 80.691667 + -156.013836, + 86.325 ], [ - -64.042154, - 81.016667 + -145.167571, + 86.05 ], [ - -66.363293, - 81.333333 + -135.201923, + 85.758333 ], [ - -68.793027, - 81.641667 + -125.827275, + 85.441667 ], [ - -71.263019, - 81.933333 + -117.271776, + 85.108333 ], [ - -73.840318, - 82.216667 + -109.287684, + 84.75 ], [ - -76.528431, - 82.491667 + -101.722545, + 84.358333 ], [ - -82.152405, - 83.008333 + -94.749961, + 83.941667 ], [ -88.224093, 83.491667 ], [ - -94.749961, - 83.941667 + -82.152405, + 83.008333 ], [ - -101.722545, - 84.358333 + -76.528431, + 82.491667 ], [ - -109.287684, - 84.75 + -73.840318, + 82.216667 ], [ - -117.271776, - 85.108333 + -71.263019, + 81.933333 ], [ - -125.827275, - 85.441667 + -68.793027, + 81.641667 ], [ - -135.201923, - 85.758333 + -66.363293, + 81.333333 ], [ - -145.167571, - 86.05 + -64.042154, + 81.016667 ], [ - -156.013836, - 86.325 + -61.824814, + 80.691667 ], [ - -167.386618, - 86.575 + -59.655504, + 80.35 ], [ - -180.0, - 86.816667 + -57.587705, + 80.0 ], [ - -180.0, + 0.0, + 80.0 + ], + [ + 4e-06, 89.991667 ], [ @@ -173,7 +173,7 @@ 89.99444466670782 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-11A2-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MYD13A1/061/MYD13A1.A2022009.h25v02.061/MYD13A1.A2022009.h25v02.061.json b/tests/data-files/expected/MYD13A1/061/MYD13A1.A2022009.h25v02.061/MYD13A1.A2022009.h25v02.061.json index 14a41d1c..1895d64c 100644 --- a/tests/data-files/expected/MYD13A1/061/MYD13A1.A2022009.h25v02.061/MYD13A1.A2022009.h25v02.061.json +++ b/tests/data-files/expected/MYD13A1/061/MYD13A1.A2022009.h25v02.061/MYD13A1.A2022009.h25v02.061.json @@ -26,108 +26,108 @@ 67.116667 ], [ - 180.0, - 63.6125 - ], - [ - 177.304153, - 63.179167 + 179.984227, + 67.1125 ], [ - 174.720589, - 62.75 + 177.120343, + 66.720833 ], [ - 172.173021, - 62.3125 + 174.325272, + 66.325 ], [ - 169.639194, - 61.8625 + 171.541336, + 65.916667 ], [ - 167.144418, - 61.404167 + 168.853362, + 65.508333 ], [ - 164.732346, - 60.945833 + 166.204565, + 65.091667 ], [ - 162.357431, - 60.479167 + 163.595831, + 64.666667 ], [ - 160.0, - 60.0 + 161.003657, + 64.229167 ], [ - 140.0, - 60.0 + 158.501446, + 63.791667 ], [ - 142.154043, - 60.5 + 156.016949, + 63.341667 ], [ - 144.3487, - 60.991667 + 153.618468, + 62.891667 ], [ - 146.603529, - 61.479167 + 151.238585, + 62.429167 ], [ 148.900201, 61.958333 ], [ - 151.238585, - 62.429167 + 146.603529, + 61.479167 ], [ - 153.618468, - 62.891667 + 144.3487, + 60.991667 ], [ - 156.016949, - 63.341667 + 142.154043, + 60.5 ], [ - 158.501446, - 63.791667 + 140.0, + 60.0 ], [ - 161.003657, - 64.229167 + 160.0, + 60.0 ], [ - 163.595831, - 64.666667 + 162.357431, + 60.479167 ], [ - 166.204565, - 65.091667 + 164.732346, + 60.945833 ], [ - 168.853362, - 65.508333 + 167.144418, + 61.404167 ], [ - 171.541336, - 65.916667 + 169.639194, + 61.8625 ], [ - 174.325272, - 66.325 + 172.173021, + 62.3125 ], [ - 177.120343, - 66.720833 + 174.720589, + 62.75 ], [ - 179.984227, - 67.1125 + 177.304153, + 63.179167 + ], + [ + 180.0, + 63.6125 ], [ 180.0, @@ -181,7 +181,7 @@ 67.116667 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-13A1-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MYD13Q1/061/MYD13Q1.A2022009.h09v06.061/MYD13Q1.A2022009.h09v06.061.json b/tests/data-files/expected/MYD13Q1/061/MYD13Q1.A2022009.h09v06.061/MYD13Q1.A2022009.h09v06.061.json index dd9dac4c..4854598d 100644 --- a/tests/data-files/expected/MYD13Q1/061/MYD13Q1.A2022009.h09v06.061/MYD13Q1.A2022009.h09v06.061.json +++ b/tests/data-files/expected/MYD13Q1/061/MYD13Q1.A2022009.h09v06.061/MYD13Q1.A2022009.h09v06.061.json @@ -209,7 +209,7 @@ 30.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-13Q1-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MYD15A2H/061/MYD15A2H.A2022025.h22v08.061/MYD15A2H.A2022025.h22v08.061.json b/tests/data-files/expected/MYD15A2H/061/MYD15A2H.A2022025.h22v08.061/MYD15A2H.A2022025.h22v08.061.json index 35733929..3d12a69e 100644 --- a/tests/data-files/expected/MYD15A2H/061/MYD15A2H.A2022025.h22v08.061/MYD15A2H.A2022025.h22v08.061.json +++ b/tests/data-files/expected/MYD15A2H/061/MYD15A2H.A2022025.h22v08.061/MYD15A2H.A2022025.h22v08.061.json @@ -145,7 +145,7 @@ 10.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-15A2H-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MYD16A3GF/061/MYD16A3GF.A2021001.h11v02.061/MYD16A3GF.A2021001.h11v02.061.json b/tests/data-files/expected/MYD16A3GF/061/MYD16A3GF.A2021001.h11v02.061/MYD16A3GF.A2021001.h11v02.061.json index f09efcdc..8b9d4e03 100644 --- a/tests/data-files/expected/MYD16A3GF/061/MYD16A3GF.A2021001.h11v02.061/MYD16A3GF.A2021001.h11v02.061.json +++ b/tests/data-files/expected/MYD16A3GF/061/MYD16A3GF.A2021001.h11v02.061/MYD16A3GF.A2021001.h11v02.061.json @@ -253,7 +253,7 @@ 70.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-16A3GF-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MYD17A2H/061/MYD17A2H.A2022025.h22v08.061/MYD17A2H.A2022025.h22v08.061.json b/tests/data-files/expected/MYD17A2H/061/MYD17A2H.A2022025.h22v08.061/MYD17A2H.A2022025.h22v08.061.json index 1ad8c9d8..0c15a17e 100644 --- a/tests/data-files/expected/MYD17A2H/061/MYD17A2H.A2022025.h22v08.061/MYD17A2H.A2022025.h22v08.061.json +++ b/tests/data-files/expected/MYD17A2H/061/MYD17A2H.A2022025.h22v08.061/MYD17A2H.A2022025.h22v08.061.json @@ -145,7 +145,7 @@ 10.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-17A2H-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MYD17A2HGF/061/MYD17A2HGF.A2021361.h13v09.061/MYD17A2HGF.A2021361.h13v09.061.json b/tests/data-files/expected/MYD17A2HGF/061/MYD17A2HGF.A2021361.h13v09.061/MYD17A2HGF.A2021361.h13v09.061.json index 5b84193e..5c60dda3 100644 --- a/tests/data-files/expected/MYD17A2HGF/061/MYD17A2HGF.A2021361.h13v09.061/MYD17A2HGF.A2021361.h13v09.061.json +++ b/tests/data-files/expected/MYD17A2HGF/061/MYD17A2HGF.A2021361.h13v09.061/MYD17A2HGF.A2021361.h13v09.061.json @@ -145,7 +145,7 @@ -0.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-17A2HGF-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MYD17A3HGF/061/MYD17A3HGF.A2021001.h13v09.061/MYD17A3HGF.A2021001.h13v09.061.json b/tests/data-files/expected/MYD17A3HGF/061/MYD17A3HGF.A2021001.h13v09.061/MYD17A3HGF.A2021001.h13v09.061.json index fe1946f9..cc4eb342 100644 --- a/tests/data-files/expected/MYD17A3HGF/061/MYD17A3HGF.A2021001.h13v09.061/MYD17A3HGF.A2021001.h13v09.061.json +++ b/tests/data-files/expected/MYD17A3HGF/061/MYD17A3HGF.A2021001.h13v09.061/MYD17A3HGF.A2021001.h13v09.061.json @@ -145,7 +145,7 @@ -0.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-17A3HGF-061" } \ No newline at end of file diff --git a/tests/data-files/expected/MYD21A2/061/MYD21A2.A2022025.h10v06.061/MYD21A2.A2022025.h10v06.061.json b/tests/data-files/expected/MYD21A2/061/MYD21A2.A2022025.h10v06.061/MYD21A2.A2022025.h10v06.061.json index 29455f3e..1bb4621c 100644 --- a/tests/data-files/expected/MYD21A2/061/MYD21A2.A2022025.h10v06.061/MYD21A2.A2022025.h10v06.061.json +++ b/tests/data-files/expected/MYD21A2/061/MYD21A2.A2022025.h10v06.061/MYD21A2.A2022025.h10v06.061.json @@ -145,7 +145,7 @@ 30.0 ], "stac_extensions": [ - "https://stac-extensions.github.io/eo/v1.0.0/schema.json" + "https://stac-extensions.github.io/eo/v1.1.0/schema.json" ], "collection": "modis-21A2-061" } \ No newline at end of file diff --git a/tests/test_stac.py b/tests/test_stac.py index 6bd7f0a7..da6e9658 100644 --- a/tests/test_stac.py +++ b/tests/test_stac.py @@ -2,6 +2,7 @@ import os.path import shutil import unittest +from pathlib import Path from tempfile import TemporaryDirectory import pytest @@ -185,6 +186,12 @@ def test_astraea(key: str) -> None: def test_raster_footprint_geometry() -> None: + path = test_data.get_path("MYD10A2.A2022025.h10v05.061.2022035071201.hdf") + if not Path(path).exists(): + pytest.skip( + f"Skipping {path} because it does not exist and we can't fetch " + "it from Microsoft anymore" + ) hdf_href = test_data.get_external_data( "MYD10A2.A2022025.h10v05.061.2022035071201.hdf" ) @@ -202,6 +209,12 @@ def test_raster_footprint_geometry() -> None: @pytest.mark.parametrize("file_name", PROJECTION_EDGE_FILES) def test_raster_footprint_at_projection_edge(file_name: str) -> None: + path = test_data.get_path(file_name) + if not Path(path).exists(): + pytest.skip( + f"Skipping {file_name} because it does not exist and we can't " + "fetch it from Microsoft anymore" + ) hdf_href = test_data.get_external_data(file_name) _ = test_data.get_external_data(f"{file_name}.xml") with TemporaryDirectory() as temporary_directory: