From e927ff25d3d3d3dd0d8a75f81de430d2ac363b77 Mon Sep 17 00:00:00 2001 From: Ariana Barzinpour Date: Wed, 3 Jan 2024 06:23:38 +0000 Subject: [PATCH 1/5] update pandas version in docker image and update query docstring accordingly --- datacube/api/query.py | 4 ++-- docker/constraints.in | 2 +- docker/constraints.txt | 17 +++-------------- 3 files changed, 6 insertions(+), 17 deletions(-) diff --git a/datacube/api/query.py b/datacube/api/query.py index 48248d37b..a81701ab6 100644 --- a/datacube/api/query.py +++ b/datacube/api/query.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Storage Query and Access API module @@ -69,7 +69,7 @@ def __init__(self, index=None, product=None, geopolygon=None, like=None, **searc Use by accessing :attr:`search_terms`: >>> query.search_terms['time'] # doctest: +NORMALIZE_WHITESPACE - Range(begin=datetime.datetime(2001, 1, 1, 0, 0, tzinfo=), \ + Range(begin=datetime.datetime(2001, 1, 1, 0, 0, tzinfo=datetime.timezone.utc), \ end=datetime.datetime(2002, 1, 1, 23, 59, 59, 999999, tzinfo=tzutc())) By passing in an ``index``, the search parameters will be validated as existing on the ``product``. diff --git a/docker/constraints.in b/docker/constraints.in index f5c24dc46..95758d9d1 100644 --- a/docker/constraints.in +++ b/docker/constraints.in @@ -37,7 +37,7 @@ sphinx_autodoc_typehints sphinx_rtd_theme sqlalchemy<2.0 toolz -xarray>=0.9 +xarray>=2023.9.0 # Previous pins were to very old versions # pytest Py3.10 requires >6.2.5 diff --git a/docker/constraints.txt b/docker/constraints.txt index d6ccf8e2a..1750eab67 100644 --- a/docker/constraints.txt +++ b/docker/constraints.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.10 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # pip-compile --strip-extras constraints.in @@ -115,10 +115,6 @@ docutils==0.18.1 # sphinx # sphinx-click # sphinx-rtd-theme -exceptiongroup==1.1.2 - # via - # hypothesis - # pytest fiona==1.9.1 # via -r constraints.in fonttools==4.38.0 @@ -232,7 +228,7 @@ packaging==23.0 # setuptools-scm # sphinx # xarray -pandas==1.5.3 +pandas==2.1.1 # via xarray partd==1.3.0 # via dask @@ -339,8 +335,6 @@ rpds-py==0.9.2 # referencing ruamel-yaml==0.17.21 # via -r constraints.in -ruamel-yaml-clib==0.2.7 - # via ruamel-yaml s3transfer==0.6.0 # via boto3 secretstorage==3.3.3 @@ -401,11 +395,6 @@ toml==0.10.2 # via # -r constraints.in # responses -tomli==2.0.1 - # via - # coverage - # pytest - # setuptools-scm toolz==0.12.0 # via # -r constraints.in @@ -443,7 +432,7 @@ wrapt==1.11.2 # via # astroid # deprecat -xarray==2023.2.0 +xarray==2023.12.0 # via -r constraints.in xmltodict==0.13.0 # via moto From 4f1e636f8969e553d12835c73a6fedb28844f065 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 3 Jan 2024 06:29:11 +0000 Subject: [PATCH 2/5] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- datacube/__init__.py | 2 +- datacube/__main__.py | 2 +- datacube/api/__init__.py | 2 +- datacube/api/core.py | 2 +- datacube/api/grid_workflow.py | 2 +- datacube/config.py | 2 +- datacube/drivers/__init__.py | 2 +- datacube/drivers/_tools.py | 2 +- datacube/drivers/_types.py | 2 +- datacube/drivers/datasource.py | 2 +- datacube/drivers/driver_cache.py | 2 +- datacube/drivers/indexes.py | 2 +- datacube/drivers/netcdf/__init__.py | 2 +- datacube/drivers/netcdf/_safestrings.py | 2 +- datacube/drivers/netcdf/_write.py | 2 +- datacube/drivers/netcdf/driver.py | 2 +- datacube/drivers/netcdf/writer.py | 2 +- datacube/drivers/postgis/__init__.py | 2 +- datacube/drivers/postgis/_api.py | 2 +- datacube/drivers/postgis/_connections.py | 2 +- datacube/drivers/postgis/_core.py | 2 +- datacube/drivers/postgis/_fields.py | 2 +- datacube/drivers/postgis/_schema.py | 2 +- datacube/drivers/postgis/_spatial.py | 2 +- datacube/drivers/postgis/sql.py | 2 +- datacube/drivers/postgres/__init__.py | 2 +- datacube/drivers/postgres/_api.py | 2 +- datacube/drivers/postgres/_connections.py | 2 +- datacube/drivers/postgres/_core.py | 2 +- datacube/drivers/postgres/_dynamic.py | 2 +- datacube/drivers/postgres/_fields.py | 2 +- datacube/drivers/postgres/_schema.py | 2 +- datacube/drivers/postgres/sql.py | 2 +- datacube/drivers/readers.py | 2 +- datacube/drivers/rio/__init__.py | 2 +- datacube/drivers/rio/_reader.py | 2 +- datacube/drivers/writers.py | 2 +- datacube/execution/__init__.py | 2 +- datacube/execution/worker.py | 2 +- datacube/executor.py | 2 +- datacube/helpers.py | 2 +- datacube/index/__init__.py | 2 +- datacube/index/_api.py | 2 +- datacube/index/abstract.py | 2 +- datacube/index/eo3.py | 2 +- datacube/index/exceptions.py | 2 +- datacube/index/fields.py | 2 +- datacube/index/hl.py | 2 +- datacube/index/memory/__init__.py | 2 +- datacube/index/memory/_datasets.py | 2 +- datacube/index/memory/_fields.py | 2 +- datacube/index/memory/_metadata_types.py | 2 +- datacube/index/memory/_products.py | 2 +- datacube/index/memory/_users.py | 2 +- datacube/index/memory/index.py | 2 +- datacube/index/null/__init__.py | 2 +- datacube/index/null/_datasets.py | 2 +- datacube/index/null/_metadata_types.py | 2 +- datacube/index/null/_products.py | 2 +- datacube/index/null/_users.py | 2 +- datacube/index/null/index.py | 2 +- datacube/index/postgis/__init__.py | 2 +- datacube/index/postgis/_datasets.py | 2 +- datacube/index/postgis/_metadata_types.py | 2 +- datacube/index/postgis/_products.py | 2 +- datacube/index/postgis/_transaction.py | 2 +- datacube/index/postgis/_users.py | 2 +- datacube/index/postgis/index.py | 2 +- datacube/index/postgres/__init__.py | 2 +- datacube/index/postgres/_datasets.py | 2 +- datacube/index/postgres/_metadata_types.py | 2 +- datacube/index/postgres/_products.py | 2 +- datacube/index/postgres/_transaction.py | 2 +- datacube/index/postgres/_users.py | 2 +- datacube/index/postgres/index.py | 2 +- datacube/model/__init__.py | 2 +- datacube/model/_base.py | 2 +- datacube/model/eo3.py | 2 +- datacube/model/fields.py | 2 +- datacube/model/model.py | 2 +- datacube/model/properties.py | 2 +- datacube/model/utils.py | 2 +- datacube/scripts/__init__.py | 2 +- datacube/scripts/cli_app.py | 2 +- datacube/scripts/dataset.py | 2 +- datacube/scripts/ingest.py | 2 +- datacube/scripts/metadata.py | 2 +- datacube/scripts/product.py | 2 +- datacube/scripts/search_tool.py | 2 +- datacube/scripts/system.py | 2 +- datacube/scripts/user.py | 2 +- datacube/storage/__init__.py | 2 +- datacube/storage/_base.py | 2 +- datacube/storage/_hdf5.py | 2 +- datacube/storage/_load.py | 2 +- datacube/storage/_read.py | 2 +- datacube/storage/_rio.py | 2 +- datacube/testutils/__init__.py | 2 +- datacube/testutils/geom.py | 2 +- datacube/testutils/io.py | 2 +- datacube/testutils/iodriver.py | 2 +- datacube/testutils/threads.py | 2 +- datacube/ui/__init__.py | 2 +- datacube/ui/click.py | 2 +- datacube/ui/common.py | 2 +- datacube/ui/expression.py | 2 +- datacube/ui/task_app.py | 2 +- datacube/utils/__init__.py | 2 +- datacube/utils/_misc.py | 2 +- datacube/utils/aws/__init__.py | 2 +- datacube/utils/changes.py | 2 +- datacube/utils/cog.py | 2 +- datacube/utils/dask.py | 2 +- datacube/utils/dates.py | 2 +- datacube/utils/documents.py | 2 +- datacube/utils/generic.py | 2 +- datacube/utils/geometry/__init__.py | 2 +- datacube/utils/geometry/_base.py | 2 +- datacube/utils/geometry/_warp.py | 2 +- datacube/utils/geometry/gbox.py | 2 +- datacube/utils/geometry/tools.py | 2 +- datacube/utils/io.py | 2 +- datacube/utils/masking.py | 2 +- datacube/utils/math.py | 2 +- datacube/utils/py.py | 2 +- datacube/utils/rio/__init__.py | 2 +- datacube/utils/rio/_rio.py | 2 +- datacube/utils/serialise.py | 2 +- datacube/utils/uris.py | 2 +- datacube/utils/xarray_geoextensions.py | 2 +- datacube/virtual/__init__.py | 2 +- datacube/virtual/catalog.py | 2 +- datacube/virtual/expr.py | 2 +- datacube/virtual/impl.py | 2 +- datacube/virtual/transformations.py | 2 +- datacube/virtual/utils.py | 2 +- docs/click_utils.py | 2 +- docs/conf.py | 2 +- examples/io_plugin/dcio_example/__init__.py | 2 +- examples/io_plugin/dcio_example/pickles.py | 2 +- examples/io_plugin/dcio_example/xarray_3d.py | 2 +- examples/io_plugin/dcio_example/zeros.py | 2 +- examples/io_plugin/setup.py | 2 +- integration_tests/__init__.py | 2 +- integration_tests/conftest.py | 2 +- integration_tests/data_utils.py | 2 +- integration_tests/index/__init__.py | 2 +- integration_tests/index/search_utils.py | 2 +- integration_tests/index/test_config_docs.py | 2 +- integration_tests/index/test_index_cloning.py | 2 +- integration_tests/index/test_index_data.py | 2 +- integration_tests/index/test_memory_index.py | 2 +- integration_tests/index/test_null_index.py | 2 +- integration_tests/index/test_pluggable_indexes.py | 2 +- integration_tests/index/test_postgis_index.py | 2 +- integration_tests/index/test_search_eo3.py | 2 +- integration_tests/index/test_search_legacy.py | 2 +- integration_tests/index/test_update_columns.py | 2 +- integration_tests/test_3d.py | 2 +- integration_tests/test_cli_output.py | 2 +- integration_tests/test_config_tool.py | 2 +- integration_tests/test_dataset_add.py | 2 +- integration_tests/test_double_ingestion.py | 2 +- integration_tests/test_end_to_end.py | 2 +- integration_tests/test_environments.py | 2 +- integration_tests/test_full_ingestion.py | 2 +- integration_tests/test_index_datasets_search.py | 2 +- integration_tests/test_index_out_of_bound.py | 2 +- integration_tests/test_model.py | 2 +- integration_tests/test_validate_ingestion.py | 2 +- integration_tests/utils.py | 2 +- tests/__init__.py | 2 +- tests/api/__init__.py | 2 +- tests/api/test_core.py | 2 +- tests/api/test_grid_workflow.py | 2 +- tests/api/test_masking.py | 2 +- tests/api/test_query.py | 2 +- tests/api/test_virtual.py | 2 +- tests/conftest.py | 2 +- tests/drivers/fail_drivers/dc_tests_io/__init__.py | 2 +- tests/drivers/fail_drivers/dc_tests_io/dummy.py | 2 +- tests/drivers/fail_drivers/setup.py | 2 +- tests/drivers/test_rio_reader.py | 2 +- tests/index/__init__.py | 2 +- tests/index/test_api_index_dataset.py | 2 +- tests/index/test_fields.py | 2 +- tests/index/test_hl_index.py | 2 +- tests/index/test_postgis_fields.py | 2 +- tests/index/test_query.py | 2 +- tests/index/test_validate_dataset_type.py | 2 +- tests/scripts/__init__.py | 2 +- tests/scripts/test_search_tool.py | 2 +- tests/storage/test_base.py | 2 +- tests/storage/test_netcdfwriter.py | 2 +- tests/storage/test_storage.py | 2 +- tests/storage/test_storage_load.py | 2 +- tests/storage/test_storage_read.py | 2 +- tests/test_3d.py | 2 +- tests/test_concurrent_executor.py | 2 +- tests/test_config.py | 2 +- tests/test_driver.py | 2 +- tests/test_dynamic_db_passwd.py | 2 +- tests/test_eo3.py | 2 +- tests/test_gbox_ops.py | 2 +- tests/test_geometry.py | 2 +- tests/test_load_data.py | 2 +- tests/test_metadata_fields.py | 2 +- tests/test_model.py | 2 +- tests/test_testutils.py | 2 +- tests/test_utils_aws.py | 2 +- tests/test_utils_changes.py | 2 +- tests/test_utils_cog.py | 2 +- tests/test_utils_dask.py | 2 +- tests/test_utils_dates.py | 2 +- tests/test_utils_docs.py | 2 +- tests/test_utils_generic.py | 2 +- tests/test_utils_other.py | 2 +- tests/test_utils_rio.py | 2 +- tests/test_warp.py | 2 +- tests/test_xarray_extension.py | 2 +- tests/ui/__init__.py | 2 +- tests/ui/test_common.py | 2 +- tests/ui/test_expression_parsing.py | 2 +- tests/ui/test_task_app.py | 2 +- 224 files changed, 224 insertions(+), 224 deletions(-) diff --git a/datacube/__init__.py b/datacube/__init__.py index 342980430..a29faa45e 100644 --- a/datacube/__init__.py +++ b/datacube/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Datacube diff --git a/datacube/__main__.py b/datacube/__main__.py index 543af0ede..13352473d 100644 --- a/datacube/__main__.py +++ b/datacube/__main__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 if __name__ == "__main__": from .config import auto_config diff --git a/datacube/api/__init__.py b/datacube/api/__init__.py index b7676523e..6e8932038 100644 --- a/datacube/api/__init__.py +++ b/datacube/api/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Modules for the Storage and Access Query API diff --git a/datacube/api/core.py b/datacube/api/core.py index a07d45008..002ae690b 100644 --- a/datacube/api/core.py +++ b/datacube/api/core.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import uuid import collections.abc diff --git a/datacube/api/grid_workflow.py b/datacube/api/grid_workflow.py index 4634d2c85..2f1011670 100644 --- a/datacube/api/grid_workflow.py +++ b/datacube/api/grid_workflow.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import logging import xarray diff --git a/datacube/config.py b/datacube/config.py index 6c901a8f3..f2b08aba4 100755 --- a/datacube/config.py +++ b/datacube/config.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ User configuration. diff --git a/datacube/drivers/__init__.py b/datacube/drivers/__init__.py index 0ab9b5178..4242c46c9 100644 --- a/datacube/drivers/__init__.py +++ b/datacube/drivers/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ This module implements a simple plugin manager for storage and index drivers. diff --git a/datacube/drivers/_tools.py b/datacube/drivers/_tools.py index 39ec17306..9f9c25655 100644 --- a/datacube/drivers/_tools.py +++ b/datacube/drivers/_tools.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from threading import Lock from typing import Any diff --git a/datacube/drivers/_types.py b/datacube/drivers/_types.py index 7fdafadd1..f40d5fcc9 100644 --- a/datacube/drivers/_types.py +++ b/datacube/drivers/_types.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Defines abstract types for IO drivers. """ diff --git a/datacube/drivers/datasource.py b/datacube/drivers/datasource.py index 91e64a036..e01faceb4 100644 --- a/datacube/drivers/datasource.py +++ b/datacube/drivers/datasource.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Defines abstract types for IO reader drivers. """ diff --git a/datacube/drivers/driver_cache.py b/datacube/drivers/driver_cache.py index 6c40a9462..2361e215a 100644 --- a/datacube/drivers/driver_cache.py +++ b/datacube/drivers/driver_cache.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import logging from typing import Dict, Any, Tuple, Iterable diff --git a/datacube/drivers/indexes.py b/datacube/drivers/indexes.py index 1cda1d6e8..7bfb09abf 100644 --- a/datacube/drivers/indexes.py +++ b/datacube/drivers/indexes.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from typing import List, Optional diff --git a/datacube/drivers/netcdf/__init__.py b/datacube/drivers/netcdf/__init__.py index 9b0321f12..dc33e2ed1 100644 --- a/datacube/drivers/netcdf/__init__.py +++ b/datacube/drivers/netcdf/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from ._write import write_dataset_to_netcdf, create_netcdf_storage_unit from . import writer as netcdf_writer diff --git a/datacube/drivers/netcdf/_safestrings.py b/datacube/drivers/netcdf/_safestrings.py index ab58334ef..a99f36bbd 100644 --- a/datacube/drivers/netcdf/_safestrings.py +++ b/datacube/drivers/netcdf/_safestrings.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Provides `SafeStringsDataset`, a replacement netCDF4.Dataset class which works diff --git a/datacube/drivers/netcdf/_write.py b/datacube/drivers/netcdf/_write.py index 702689cd9..3dc40c1c0 100644 --- a/datacube/drivers/netcdf/_write.py +++ b/datacube/drivers/netcdf/_write.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from pathlib import Path import logging diff --git a/datacube/drivers/netcdf/driver.py b/datacube/drivers/netcdf/driver.py index d68b04ab8..9ec5853ba 100644 --- a/datacube/drivers/netcdf/driver.py +++ b/datacube/drivers/netcdf/driver.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from urllib.parse import urlsplit diff --git a/datacube/drivers/netcdf/writer.py b/datacube/drivers/netcdf/writer.py index 5beadbe48..23f749f2e 100644 --- a/datacube/drivers/netcdf/writer.py +++ b/datacube/drivers/netcdf/writer.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Create netCDF4 Storage Units and write data to them diff --git a/datacube/drivers/postgis/__init__.py b/datacube/drivers/postgis/__init__.py index a43833f90..00128c529 100644 --- a/datacube/drivers/postgis/__init__.py +++ b/datacube/drivers/postgis/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Lower-level database access. diff --git a/datacube/drivers/postgis/_api.py b/datacube/drivers/postgis/_api.py index 03e93276c..a15b51339 100644 --- a/datacube/drivers/postgis/_api.py +++ b/datacube/drivers/postgis/_api.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 # We often have one-arg-per column, so these checks aren't so useful. diff --git a/datacube/drivers/postgis/_connections.py b/datacube/drivers/postgis/_connections.py index 51810987a..474799579 100755 --- a/datacube/drivers/postgis/_connections.py +++ b/datacube/drivers/postgis/_connections.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 # We often have one-arg-per column, so these checks aren't so useful. diff --git a/datacube/drivers/postgis/_core.py b/datacube/drivers/postgis/_core.py index 1c40aa353..15beda313 100644 --- a/datacube/drivers/postgis/_core.py +++ b/datacube/drivers/postgis/_core.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Core SQL schema settings. diff --git a/datacube/drivers/postgis/_fields.py b/datacube/drivers/postgis/_fields.py index 23cceadf6..760e608c3 100755 --- a/datacube/drivers/postgis/_fields.py +++ b/datacube/drivers/postgis/_fields.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Build and index fields within documents. diff --git a/datacube/drivers/postgis/_schema.py b/datacube/drivers/postgis/_schema.py index ed3643630..ce2c5b676 100644 --- a/datacube/drivers/postgis/_schema.py +++ b/datacube/drivers/postgis/_schema.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Tables for indexing the datasets which were ingested into the AGDC. diff --git a/datacube/drivers/postgis/_spatial.py b/datacube/drivers/postgis/_spatial.py index 61395dc92..90b20e89c 100644 --- a/datacube/drivers/postgis/_spatial.py +++ b/datacube/drivers/postgis/_spatial.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Tracking spatial indexes diff --git a/datacube/drivers/postgis/sql.py b/datacube/drivers/postgis/sql.py index 0d34e96e9..5d050ad8f 100644 --- a/datacube/drivers/postgis/sql.py +++ b/datacube/drivers/postgis/sql.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Custom types for postgres & sqlalchemy diff --git a/datacube/drivers/postgres/__init__.py b/datacube/drivers/postgres/__init__.py index 6f3e32134..7ba8061e4 100644 --- a/datacube/drivers/postgres/__init__.py +++ b/datacube/drivers/postgres/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Lower-level database access. diff --git a/datacube/drivers/postgres/_api.py b/datacube/drivers/postgres/_api.py index ac4fe9450..7b616bb5e 100644 --- a/datacube/drivers/postgres/_api.py +++ b/datacube/drivers/postgres/_api.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 # We often have one-arg-per column, so these checks aren't so useful. diff --git a/datacube/drivers/postgres/_connections.py b/datacube/drivers/postgres/_connections.py index 003617db3..987513d7c 100755 --- a/datacube/drivers/postgres/_connections.py +++ b/datacube/drivers/postgres/_connections.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 # We often have one-arg-per column, so these checks aren't so useful. diff --git a/datacube/drivers/postgres/_core.py b/datacube/drivers/postgres/_core.py index 52a075148..31e562a5d 100644 --- a/datacube/drivers/postgres/_core.py +++ b/datacube/drivers/postgres/_core.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Core SQL schema settings. diff --git a/datacube/drivers/postgres/_dynamic.py b/datacube/drivers/postgres/_dynamic.py index 8c0765bad..959dbceea 100644 --- a/datacube/drivers/postgres/_dynamic.py +++ b/datacube/drivers/postgres/_dynamic.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Methods for managing dynamic dataset field indexes and views. diff --git a/datacube/drivers/postgres/_fields.py b/datacube/drivers/postgres/_fields.py index 5996517e4..41c33e185 100755 --- a/datacube/drivers/postgres/_fields.py +++ b/datacube/drivers/postgres/_fields.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Build and index fields within documents. diff --git a/datacube/drivers/postgres/_schema.py b/datacube/drivers/postgres/_schema.py index d555bb6b4..85ab8ad81 100644 --- a/datacube/drivers/postgres/_schema.py +++ b/datacube/drivers/postgres/_schema.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Tables for indexing the datasets which were ingested into the AGDC. diff --git a/datacube/drivers/postgres/sql.py b/datacube/drivers/postgres/sql.py index 6d9679ac8..e476fdb02 100644 --- a/datacube/drivers/postgres/sql.py +++ b/datacube/drivers/postgres/sql.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Custom types for postgres & sqlalchemy diff --git a/datacube/drivers/readers.py b/datacube/drivers/readers.py index 230e63b4c..55fce9818 100644 --- a/datacube/drivers/readers.py +++ b/datacube/drivers/readers.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from typing import List, Optional, Callable from .driver_cache import load_drivers diff --git a/datacube/drivers/rio/__init__.py b/datacube/drivers/rio/__init__.py index f41dba762..7b1432ace 100644 --- a/datacube/drivers/rio/__init__.py +++ b/datacube/drivers/rio/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ RasterIO based driver """ diff --git a/datacube/drivers/rio/_reader.py b/datacube/drivers/rio/_reader.py index 6950c06fc..ab3b666c9 100644 --- a/datacube/drivers/rio/_reader.py +++ b/datacube/drivers/rio/_reader.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ reader """ diff --git a/datacube/drivers/writers.py b/datacube/drivers/writers.py index cc652c409..a6a99c77e 100644 --- a/datacube/drivers/writers.py +++ b/datacube/drivers/writers.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from typing import List diff --git a/datacube/execution/__init__.py b/datacube/execution/__init__.py index 45970a2a5..8318282ae 100644 --- a/datacube/execution/__init__.py +++ b/datacube/execution/__init__.py @@ -1,4 +1,4 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 diff --git a/datacube/execution/worker.py b/datacube/execution/worker.py index 8ca9743a1..ed4a115d5 100644 --- a/datacube/execution/worker.py +++ b/datacube/execution/worker.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ This app launches workers for distributed work loads diff --git a/datacube/executor.py b/datacube/executor.py index ee2bc7299..5a6603b28 100644 --- a/datacube/executor.py +++ b/datacube/executor.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 # # type: ignore diff --git a/datacube/helpers.py b/datacube/helpers.py index 6f397fadf..e2e17329b 100644 --- a/datacube/helpers.py +++ b/datacube/helpers.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Useful functions for Datacube users diff --git a/datacube/index/__init__.py b/datacube/index/__init__.py index c6a25f301..b53f7aa83 100644 --- a/datacube/index/__init__.py +++ b/datacube/index/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Modules for interfacing with the index/database. diff --git a/datacube/index/_api.py b/datacube/index/_api.py index 2ffb67919..3aa8e31e2 100644 --- a/datacube/index/_api.py +++ b/datacube/index/_api.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Access methods for indexing datasets & products. diff --git a/datacube/index/abstract.py b/datacube/index/abstract.py index c715404af..87b671cfe 100644 --- a/datacube/index/abstract.py +++ b/datacube/index/abstract.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import datetime import logging diff --git a/datacube/index/eo3.py b/datacube/index/eo3.py index a5fcc3928..e25ceb676 100644 --- a/datacube/index/eo3.py +++ b/datacube/index/eo3.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 # # type: ignore diff --git a/datacube/index/exceptions.py b/datacube/index/exceptions.py index c12344c49..31a75f1d4 100644 --- a/datacube/index/exceptions.py +++ b/datacube/index/exceptions.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 diff --git a/datacube/index/fields.py b/datacube/index/fields.py index 85d3e59d8..c67a1115d 100644 --- a/datacube/index/fields.py +++ b/datacube/index/fields.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Common datatypes for DB drivers. diff --git a/datacube/index/hl.py b/datacube/index/hl.py index d5ad1103d..ea8f789e8 100644 --- a/datacube/index/hl.py +++ b/datacube/index/hl.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ High level indexing operations/utilities diff --git a/datacube/index/memory/__init__.py b/datacube/index/memory/__init__.py index 7bd83106e..a642d3c36 100644 --- a/datacube/index/memory/__init__.py +++ b/datacube/index/memory/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Module diff --git a/datacube/index/memory/_datasets.py b/datacube/index/memory/_datasets.py index d78ac7b9d..8c20c45f3 100755 --- a/datacube/index/memory/_datasets.py +++ b/datacube/index/memory/_datasets.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import datetime import logging diff --git a/datacube/index/memory/_fields.py b/datacube/index/memory/_fields.py index ba60fc7f3..bc61e5683 100644 --- a/datacube/index/memory/_fields.py +++ b/datacube/index/memory/_fields.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from typing import Any, Mapping, MutableMapping from datacube.model.fields import SimpleField, Field, get_dataset_fields as generic_get_dataset_fields diff --git a/datacube/index/memory/_metadata_types.py b/datacube/index/memory/_metadata_types.py index 8f22ecced..5893252cb 100644 --- a/datacube/index/memory/_metadata_types.py +++ b/datacube/index/memory/_metadata_types.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import logging from copy import deepcopy diff --git a/datacube/index/memory/_products.py b/datacube/index/memory/_products.py index 75b953920..9f63f9544 100644 --- a/datacube/index/memory/_products.py +++ b/datacube/index/memory/_products.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import logging diff --git a/datacube/index/memory/_users.py b/datacube/index/memory/_users.py index 579829af5..26c81253c 100644 --- a/datacube/index/memory/_users.py +++ b/datacube/index/memory/_users.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from typing import Iterable, Optional, Tuple from datacube.index.abstract import AbstractUserResource diff --git a/datacube/index/memory/index.py b/datacube/index/memory/index.py index f2baaec80..f4436ad86 100644 --- a/datacube/index/memory/index.py +++ b/datacube/index/memory/index.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import logging from threading import Lock diff --git a/datacube/index/null/__init__.py b/datacube/index/null/__init__.py index 7bd83106e..a642d3c36 100644 --- a/datacube/index/null/__init__.py +++ b/datacube/index/null/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Module diff --git a/datacube/index/null/_datasets.py b/datacube/index/null/_datasets.py index 07317efae..0fb24879b 100755 --- a/datacube/index/null/_datasets.py +++ b/datacube/index/null/_datasets.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from datacube.index.abstract import AbstractDatasetResource, DSID diff --git a/datacube/index/null/_metadata_types.py b/datacube/index/null/_metadata_types.py index 808c18ee1..8c8fb213c 100644 --- a/datacube/index/null/_metadata_types.py +++ b/datacube/index/null/_metadata_types.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from datacube.index.abstract import AbstractMetadataTypeResource diff --git a/datacube/index/null/_products.py b/datacube/index/null/_products.py index 7b3f1645e..30ab28c91 100644 --- a/datacube/index/null/_products.py +++ b/datacube/index/null/_products.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import logging diff --git a/datacube/index/null/_users.py b/datacube/index/null/_users.py index e058c5158..e76b4704e 100644 --- a/datacube/index/null/_users.py +++ b/datacube/index/null/_users.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from typing import Iterable, Optional, Tuple from datacube.index.abstract import AbstractUserResource diff --git a/datacube/index/null/index.py b/datacube/index/null/index.py index 7921f9f11..dff0a4712 100644 --- a/datacube/index/null/index.py +++ b/datacube/index/null/index.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import logging diff --git a/datacube/index/postgis/__init__.py b/datacube/index/postgis/__init__.py index 45970a2a5..8318282ae 100644 --- a/datacube/index/postgis/__init__.py +++ b/datacube/index/postgis/__init__.py @@ -1,4 +1,4 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 diff --git a/datacube/index/postgis/_datasets.py b/datacube/index/postgis/_datasets.py index f8153c2c5..502146601 100755 --- a/datacube/index/postgis/_datasets.py +++ b/datacube/index/postgis/_datasets.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ API for dataset indexing, access and search. diff --git a/datacube/index/postgis/_metadata_types.py b/datacube/index/postgis/_metadata_types.py index 7e9593552..cd81c238f 100644 --- a/datacube/index/postgis/_metadata_types.py +++ b/datacube/index/postgis/_metadata_types.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import logging from time import monotonic diff --git a/datacube/index/postgis/_products.py b/datacube/index/postgis/_products.py index 7f50a218b..a94129017 100644 --- a/datacube/index/postgis/_products.py +++ b/datacube/index/postgis/_products.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import logging diff --git a/datacube/index/postgis/_transaction.py b/datacube/index/postgis/_transaction.py index ac48a64f8..d3bf058ce 100644 --- a/datacube/index/postgis/_transaction.py +++ b/datacube/index/postgis/_transaction.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from contextlib import contextmanager diff --git a/datacube/index/postgis/_users.py b/datacube/index/postgis/_users.py index ca2c6ec3a..a10fa275d 100644 --- a/datacube/index/postgis/_users.py +++ b/datacube/index/postgis/_users.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from typing import Iterable, Optional, Tuple from datacube.index.abstract import AbstractUserResource diff --git a/datacube/index/postgis/index.py b/datacube/index/postgis/index.py index 2b6b1764b..cf082f64c 100644 --- a/datacube/index/postgis/index.py +++ b/datacube/index/postgis/index.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import logging from contextlib import contextmanager diff --git a/datacube/index/postgres/__init__.py b/datacube/index/postgres/__init__.py index 45970a2a5..8318282ae 100644 --- a/datacube/index/postgres/__init__.py +++ b/datacube/index/postgres/__init__.py @@ -1,4 +1,4 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 diff --git a/datacube/index/postgres/_datasets.py b/datacube/index/postgres/_datasets.py index 169cb6b2e..4ad2b0f76 100755 --- a/datacube/index/postgres/_datasets.py +++ b/datacube/index/postgres/_datasets.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ API for dataset indexing, access and search. diff --git a/datacube/index/postgres/_metadata_types.py b/datacube/index/postgres/_metadata_types.py index de77c23c1..d56d5d516 100644 --- a/datacube/index/postgres/_metadata_types.py +++ b/datacube/index/postgres/_metadata_types.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import logging diff --git a/datacube/index/postgres/_products.py b/datacube/index/postgres/_products.py index e3b7fd773..6b9e24013 100644 --- a/datacube/index/postgres/_products.py +++ b/datacube/index/postgres/_products.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import logging diff --git a/datacube/index/postgres/_transaction.py b/datacube/index/postgres/_transaction.py index 6ff35d942..254850fb0 100644 --- a/datacube/index/postgres/_transaction.py +++ b/datacube/index/postgres/_transaction.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from contextlib import contextmanager diff --git a/datacube/index/postgres/_users.py b/datacube/index/postgres/_users.py index eeb76c4fc..95e1172ff 100644 --- a/datacube/index/postgres/_users.py +++ b/datacube/index/postgres/_users.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from typing import Iterable, Optional, Tuple from datacube.index.abstract import AbstractUserResource diff --git a/datacube/index/postgres/index.py b/datacube/index/postgres/index.py index 49ebdd362..d2d93636c 100644 --- a/datacube/index/postgres/index.py +++ b/datacube/index/postgres/index.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import logging from contextlib import contextmanager diff --git a/datacube/model/__init__.py b/datacube/model/__init__.py index 219d2c2d6..1880b3345 100644 --- a/datacube/model/__init__.py +++ b/datacube/model/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Core classes used across modules. diff --git a/datacube/model/_base.py b/datacube/model/_base.py index 3a004f763..103765866 100644 --- a/datacube/model/_base.py +++ b/datacube/model/_base.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from collections import namedtuple diff --git a/datacube/model/eo3.py b/datacube/model/eo3.py index 8897ea933..c276746a8 100644 --- a/datacube/model/eo3.py +++ b/datacube/model/eo3.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from datacube.utils.documents import InvalidDocException diff --git a/datacube/model/fields.py b/datacube/model/fields.py index 48826eb01..2b4ab44a7 100644 --- a/datacube/model/fields.py +++ b/datacube/model/fields.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """Non-db specific implementation of metadata search fields. diff --git a/datacube/model/model.py b/datacube/model/model.py index 7634393a4..d801ba853 100644 --- a/datacube/model/model.py +++ b/datacube/model/model.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from pathlib import Path from typing import Dict, List, Optional, Tuple, Union diff --git a/datacube/model/properties.py b/datacube/model/properties.py index 01bec1bdf..c5f9c8882 100644 --- a/datacube/model/properties.py +++ b/datacube/model/properties.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import collections.abc import warnings diff --git a/datacube/model/utils.py b/datacube/model/utils.py index 6f0b66190..17d352229 100644 --- a/datacube/model/utils.py +++ b/datacube/model/utils.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import datetime import os diff --git a/datacube/scripts/__init__.py b/datacube/scripts/__init__.py index 45970a2a5..8318282ae 100644 --- a/datacube/scripts/__init__.py +++ b/datacube/scripts/__init__.py @@ -1,4 +1,4 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 diff --git a/datacube/scripts/cli_app.py b/datacube/scripts/cli_app.py index 6ab3901b2..c4a024ba4 100644 --- a/datacube/scripts/cli_app.py +++ b/datacube/scripts/cli_app.py @@ -2,7 +2,7 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Datacube command-line interface diff --git a/datacube/scripts/dataset.py b/datacube/scripts/dataset.py index b95283e1c..d9052d1e1 100644 --- a/datacube/scripts/dataset.py +++ b/datacube/scripts/dataset.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import csv import datetime diff --git a/datacube/scripts/ingest.py b/datacube/scripts/ingest.py index a96e3bcb9..e338a4f42 100644 --- a/datacube/scripts/ingest.py +++ b/datacube/scripts/ingest.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import time import logging diff --git a/datacube/scripts/metadata.py b/datacube/scripts/metadata.py index 3b3f735c1..ddd5df034 100644 --- a/datacube/scripts/metadata.py +++ b/datacube/scripts/metadata.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import json import logging diff --git a/datacube/scripts/product.py b/datacube/scripts/product.py index ef9095fb3..ea8c68232 100644 --- a/datacube/scripts/product.py +++ b/datacube/scripts/product.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import csv import json diff --git a/datacube/scripts/search_tool.py b/datacube/scripts/search_tool.py index 25acc2204..d20c17b5d 100755 --- a/datacube/scripts/search_tool.py +++ b/datacube/scripts/search_tool.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Query datasets. diff --git a/datacube/scripts/system.py b/datacube/scripts/system.py index f0a07ef45..aee4faf1b 100644 --- a/datacube/scripts/system.py +++ b/datacube/scripts/system.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import logging diff --git a/datacube/scripts/user.py b/datacube/scripts/user.py index 6f4f08418..f05a7b608 100644 --- a/datacube/scripts/user.py +++ b/datacube/scripts/user.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import logging import click diff --git a/datacube/storage/__init__.py b/datacube/storage/__init__.py index 64388c59c..2872494d4 100644 --- a/datacube/storage/__init__.py +++ b/datacube/storage/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Modules for creating and accessing Data Store Units diff --git a/datacube/storage/_base.py b/datacube/storage/_base.py index 48508528b..27540d573 100644 --- a/datacube/storage/_base.py +++ b/datacube/storage/_base.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from typing import Optional, Dict, Any, Tuple, Callable from urllib.parse import urlparse diff --git a/datacube/storage/_hdf5.py b/datacube/storage/_hdf5.py index 2b9a28983..43dae4da5 100644 --- a/datacube/storage/_hdf5.py +++ b/datacube/storage/_hdf5.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from threading import RLock HDF5_LOCK = RLock() diff --git a/datacube/storage/_load.py b/datacube/storage/_load.py index 4ee9a53c2..2c411aab0 100644 --- a/datacube/storage/_load.py +++ b/datacube/storage/_load.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Important functions are: diff --git a/datacube/storage/_read.py b/datacube/storage/_read.py index fb5b03b8f..af1517e92 100644 --- a/datacube/storage/_read.py +++ b/datacube/storage/_read.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Dataset -> Raster """ diff --git a/datacube/storage/_rio.py b/datacube/storage/_rio.py index d777874a9..e18a8839c 100644 --- a/datacube/storage/_rio.py +++ b/datacube/storage/_rio.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Driver implementation for Rasterio based reader. diff --git a/datacube/testutils/__init__.py b/datacube/testutils/__init__.py index 0ffbdfd22..29637521b 100644 --- a/datacube/testutils/__init__.py +++ b/datacube/testutils/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Useful methods for tests (particularly: reading/writing and checking files) diff --git a/datacube/testutils/geom.py b/datacube/testutils/geom.py index 5e1ae2d99..f1928c3af 100644 --- a/datacube/testutils/geom.py +++ b/datacube/testutils/geom.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import numpy as np from affine import Affine diff --git a/datacube/testutils/io.py b/datacube/testutils/io.py index 9ae46ca37..d46c51611 100644 --- a/datacube/testutils/io.py +++ b/datacube/testutils/io.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import numpy as np import toolz diff --git a/datacube/testutils/iodriver.py b/datacube/testutils/iodriver.py index 87b204673..ddc8ced47 100644 --- a/datacube/testutils/iodriver.py +++ b/datacube/testutils/iodriver.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Reader driver construction for tests """ diff --git a/datacube/testutils/threads.py b/datacube/testutils/threads.py index 22bb22aeb..ab37711f5 100644 --- a/datacube/testutils/threads.py +++ b/datacube/testutils/threads.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ threads related stuff """ diff --git a/datacube/ui/__init__.py b/datacube/ui/__init__.py index 08fd367b1..c9bf934ba 100644 --- a/datacube/ui/__init__.py +++ b/datacube/ui/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ User Interface Utilities diff --git a/datacube/ui/click.py b/datacube/ui/click.py index 25169edf8..49bf88773 100644 --- a/datacube/ui/click.py +++ b/datacube/ui/click.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Common functions for click-based cli scripts. diff --git a/datacube/ui/common.py b/datacube/ui/common.py index 8df1bff73..b7552d792 100644 --- a/datacube/ui/common.py +++ b/datacube/ui/common.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Common methods for UI code. diff --git a/datacube/ui/expression.py b/datacube/ui/expression.py index 8ef1fdf73..f7253612c 100644 --- a/datacube/ui/expression.py +++ b/datacube/ui/expression.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Search expression parsing for command line applications. diff --git a/datacube/ui/task_app.py b/datacube/ui/task_app.py index 2077b1d3e..386d9a284 100644 --- a/datacube/ui/task_app.py +++ b/datacube/ui/task_app.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import logging import os diff --git a/datacube/utils/__init__.py b/datacube/utils/__init__.py index 571ca321d..2ab5b5156 100644 --- a/datacube/utils/__init__.py +++ b/datacube/utils/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Utility functions diff --git a/datacube/utils/_misc.py b/datacube/utils/_misc.py index 65ca45155..c4fc098b2 100644 --- a/datacube/utils/_misc.py +++ b/datacube/utils/_misc.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Utility functions diff --git a/datacube/utils/aws/__init__.py b/datacube/utils/aws/__init__.py index a5061f7a7..10722c677 100644 --- a/datacube/utils/aws/__init__.py +++ b/datacube/utils/aws/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Helper methods for working with AWS diff --git a/datacube/utils/changes.py b/datacube/utils/changes.py index 5e1cb0341..34eb9806e 100644 --- a/datacube/utils/changes.py +++ b/datacube/utils/changes.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Validation of document/dictionary changes. diff --git a/datacube/utils/cog.py b/datacube/utils/cog.py index cb424fd98..c3611eff2 100644 --- a/datacube/utils/cog.py +++ b/datacube/utils/cog.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import warnings import toolz # type: ignore[import] diff --git a/datacube/utils/dask.py b/datacube/utils/dask.py index e7affe0d1..60ece9f54 100644 --- a/datacube/utils/dask.py +++ b/datacube/utils/dask.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Dask Distributed Tools diff --git a/datacube/utils/dates.py b/datacube/utils/dates.py index 293bbf38c..c3979ada9 100644 --- a/datacube/utils/dates.py +++ b/datacube/utils/dates.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Date and time utility functions diff --git a/datacube/utils/documents.py b/datacube/utils/documents.py index 3d7d6fb38..c15fbf33e 100644 --- a/datacube/utils/documents.py +++ b/datacube/utils/documents.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Functions for working with YAML documents and configurations diff --git a/datacube/utils/generic.py b/datacube/utils/generic.py index 0bef2fd97..0146fe315 100644 --- a/datacube/utils/generic.py +++ b/datacube/utils/generic.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import itertools import threading diff --git a/datacube/utils/geometry/__init__.py b/datacube/utils/geometry/__init__.py index 60e5c8cdc..7c1f716c1 100644 --- a/datacube/utils/geometry/__init__.py +++ b/datacube/utils/geometry/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Geometric shapes and operations on them """ diff --git a/datacube/utils/geometry/_base.py b/datacube/utils/geometry/_base.py index a0cc2a4c9..b115b2889 100644 --- a/datacube/utils/geometry/_base.py +++ b/datacube/utils/geometry/_base.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import functools import itertools diff --git a/datacube/utils/geometry/_warp.py b/datacube/utils/geometry/_warp.py index c2e2e6e67..307f09fad 100644 --- a/datacube/utils/geometry/_warp.py +++ b/datacube/utils/geometry/_warp.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from typing import Union, Optional import rasterio.warp # type: ignore[import] diff --git a/datacube/utils/geometry/gbox.py b/datacube/utils/geometry/gbox.py index 723d9a7e9..ddedb8e3e 100644 --- a/datacube/utils/geometry/gbox.py +++ b/datacube/utils/geometry/gbox.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Geometric operations on GeoBox class """ diff --git a/datacube/utils/geometry/tools.py b/datacube/utils/geometry/tools.py index 96bf31fd1..c4c7018ee 100644 --- a/datacube/utils/geometry/tools.py +++ b/datacube/utils/geometry/tools.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import numpy as np import collections.abc diff --git a/datacube/utils/io.py b/datacube/utils/io.py index 983ffeeb2..78d2da1fe 100644 --- a/datacube/utils/io.py +++ b/datacube/utils/io.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import os from pathlib import Path diff --git a/datacube/utils/masking.py b/datacube/utils/masking.py index 5a6c8467b..a3446ae67 100644 --- a/datacube/utils/masking.py +++ b/datacube/utils/masking.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Tools for masking data based on a bit-mask variable with attached definition. diff --git a/datacube/utils/math.py b/datacube/utils/math.py index 002d18ee5..8181bd2c3 100644 --- a/datacube/utils/math.py +++ b/datacube/utils/math.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from typing import Tuple, Union, Optional, Any, cast from math import ceil, fmod diff --git a/datacube/utils/py.py b/datacube/utils/py.py index f869c8052..33e570bce 100644 --- a/datacube/utils/py.py +++ b/datacube/utils/py.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import importlib import logging diff --git a/datacube/utils/rio/__init__.py b/datacube/utils/rio/__init__.py index 93128d0c2..1fc438239 100644 --- a/datacube/utils/rio/__init__.py +++ b/datacube/utils/rio/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ This will move into IO driver eventually. diff --git a/datacube/utils/rio/_rio.py b/datacube/utils/rio/_rio.py index 04b2e9c7f..c2aba0a44 100644 --- a/datacube/utils/rio/_rio.py +++ b/datacube/utils/rio/_rio.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ rasterio environment management tools """ diff --git a/datacube/utils/serialise.py b/datacube/utils/serialise.py index 8306bc038..2001e46d5 100644 --- a/datacube/utils/serialise.py +++ b/datacube/utils/serialise.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Serialise function used in YAML output diff --git a/datacube/utils/uris.py b/datacube/utils/uris.py index 7644e954a..97d8140ce 100644 --- a/datacube/utils/uris.py +++ b/datacube/utils/uris.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import os diff --git a/datacube/utils/xarray_geoextensions.py b/datacube/utils/xarray_geoextensions.py index 4f41981a8..708286f01 100644 --- a/datacube/utils/xarray_geoextensions.py +++ b/datacube/utils/xarray_geoextensions.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Add geometric extensions to :class:`xarray.Dataset` and :class:`xarray.DataArray` for use diff --git a/datacube/virtual/__init__.py b/datacube/virtual/__init__.py index b3de02351..51a1e1933 100644 --- a/datacube/virtual/__init__.py +++ b/datacube/virtual/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from typing import Mapping, Any, cast import copy diff --git a/datacube/virtual/catalog.py b/datacube/virtual/catalog.py index e908367ee..2847f0b7a 100644 --- a/datacube/virtual/catalog.py +++ b/datacube/virtual/catalog.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Catalog of virtual products. diff --git a/datacube/virtual/expr.py b/datacube/virtual/expr.py index e19894ac7..3044b07c3 100644 --- a/datacube/virtual/expr.py +++ b/datacube/virtual/expr.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import lark import numpy diff --git a/datacube/virtual/impl.py b/datacube/virtual/impl.py index 3ce82f431..7388177cc 100644 --- a/datacube/virtual/impl.py +++ b/datacube/virtual/impl.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Implementation of virtual products. Provides an interface for the products in the datacube diff --git a/datacube/virtual/transformations.py b/datacube/virtual/transformations.py index 2aeaf64b6..6c4047841 100644 --- a/datacube/virtual/transformations.py +++ b/datacube/virtual/transformations.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from typing import Optional, Collection import warnings diff --git a/datacube/virtual/utils.py b/datacube/virtual/utils.py index c26a7bde8..0f59795a4 100644 --- a/datacube/virtual/utils.py +++ b/datacube/virtual/utils.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Utilities to facilitate virtual product implementation. """ diff --git a/docs/click_utils.py b/docs/click_utils.py index fca8435ce..ee722544c 100644 --- a/docs/click_utils.py +++ b/docs/click_utils.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from docutils.nodes import literal_block, section, title, make_id from sphinx.domains import Domain diff --git a/docs/conf.py b/docs/conf.py index 3b63a7cdb..04e8f71e3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import os import sys diff --git a/examples/io_plugin/dcio_example/__init__.py b/examples/io_plugin/dcio_example/__init__.py index 45970a2a5..8318282ae 100644 --- a/examples/io_plugin/dcio_example/__init__.py +++ b/examples/io_plugin/dcio_example/__init__.py @@ -1,4 +1,4 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 diff --git a/examples/io_plugin/dcio_example/pickles.py b/examples/io_plugin/dcio_example/pickles.py index f209b12e3..ec1a2b82b 100644 --- a/examples/io_plugin/dcio_example/pickles.py +++ b/examples/io_plugin/dcio_example/pickles.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Example reader plugin """ diff --git a/examples/io_plugin/dcio_example/xarray_3d.py b/examples/io_plugin/dcio_example/xarray_3d.py index 2f997cde4..76ac2c61b 100644 --- a/examples/io_plugin/dcio_example/xarray_3d.py +++ b/examples/io_plugin/dcio_example/xarray_3d.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ xarray 3D driver plugin for 3D support testing """ diff --git a/examples/io_plugin/dcio_example/zeros.py b/examples/io_plugin/dcio_example/zeros.py index 71b302c13..2e221c0b7 100644 --- a/examples/io_plugin/dcio_example/zeros.py +++ b/examples/io_plugin/dcio_example/zeros.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Sample plugin "reads" zeros each time every time diff --git a/examples/io_plugin/setup.py b/examples/io_plugin/setup.py index 402dc1e06..698eaf6b9 100644 --- a/examples/io_plugin/setup.py +++ b/examples/io_plugin/setup.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from setuptools import setup, find_packages diff --git a/integration_tests/__init__.py b/integration_tests/__init__.py index 7bd83106e..a642d3c36 100644 --- a/integration_tests/__init__.py +++ b/integration_tests/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Module diff --git a/integration_tests/conftest.py b/integration_tests/conftest.py index 8f253f014..3c0e7e0a7 100644 --- a/integration_tests/conftest.py +++ b/integration_tests/conftest.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Common methods for index integration tests. diff --git a/integration_tests/data_utils.py b/integration_tests/data_utils.py index cf8a6d02b..d92c9daaa 100644 --- a/integration_tests/data_utils.py +++ b/integration_tests/data_utils.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ The start of some general purpose utilities for generating test data. diff --git a/integration_tests/index/__init__.py b/integration_tests/index/__init__.py index 7bd83106e..a642d3c36 100644 --- a/integration_tests/index/__init__.py +++ b/integration_tests/index/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Module diff --git a/integration_tests/index/search_utils.py b/integration_tests/index/search_utils.py index fc0e4bf77..66fe06b5f 100644 --- a/integration_tests/index/search_utils.py +++ b/integration_tests/index/search_utils.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import csv import io diff --git a/integration_tests/index/test_config_docs.py b/integration_tests/index/test_config_docs.py index 02077cebc..a5483dc1c 100644 --- a/integration_tests/index/test_config_docs.py +++ b/integration_tests/index/test_config_docs.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Module diff --git a/integration_tests/index/test_index_cloning.py b/integration_tests/index/test_index_cloning.py index cacb5de4d..a53adaefe 100644 --- a/integration_tests/index/test_index_cloning.py +++ b/integration_tests/index/test_index_cloning.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 diff --git a/integration_tests/index/test_index_data.py b/integration_tests/index/test_index_data.py index 9e4f836e3..40ed4fe05 100755 --- a/integration_tests/index/test_index_data.py +++ b/integration_tests/index/test_index_data.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Test database methods. diff --git a/integration_tests/index/test_memory_index.py b/integration_tests/index/test_memory_index.py index a1d9d8b88..a19ae12c3 100644 --- a/integration_tests/index/test_memory_index.py +++ b/integration_tests/index/test_memory_index.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import datetime diff --git a/integration_tests/index/test_null_index.py b/integration_tests/index/test_null_index.py index 2cf9ebd03..dd248724b 100644 --- a/integration_tests/index/test_null_index.py +++ b/integration_tests/index/test_null_index.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import pytest from unittest.mock import MagicMock diff --git a/integration_tests/index/test_pluggable_indexes.py b/integration_tests/index/test_pluggable_indexes.py index 7d2b711d8..06f623199 100644 --- a/integration_tests/index/test_pluggable_indexes.py +++ b/integration_tests/index/test_pluggable_indexes.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import pytest diff --git a/integration_tests/index/test_postgis_index.py b/integration_tests/index/test_postgis_index.py index 1a2d24b9e..4a6d07c8e 100644 --- a/integration_tests/index/test_postgis_index.py +++ b/integration_tests/index/test_postgis_index.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import pytest diff --git a/integration_tests/index/test_search_eo3.py b/integration_tests/index/test_search_eo3.py index ba6934382..942bc9517 100644 --- a/integration_tests/index/test_search_eo3.py +++ b/integration_tests/index/test_search_eo3.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Module diff --git a/integration_tests/index/test_search_legacy.py b/integration_tests/index/test_search_legacy.py index 5eebc9963..abac793a9 100644 --- a/integration_tests/index/test_search_legacy.py +++ b/integration_tests/index/test_search_legacy.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Module diff --git a/integration_tests/index/test_update_columns.py b/integration_tests/index/test_update_columns.py index 2b94f599a..92f84a3d0 100644 --- a/integration_tests/index/test_update_columns.py +++ b/integration_tests/index/test_update_columns.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Test creation of added/updated columns during diff --git a/integration_tests/test_3d.py b/integration_tests/test_3d.py index 13abb9236..1f14f0db7 100644 --- a/integration_tests/test_3d.py +++ b/integration_tests/test_3d.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import logging from copy import deepcopy diff --git a/integration_tests/test_cli_output.py b/integration_tests/test_cli_output.py index 1c32b9e7a..ba5312a19 100644 --- a/integration_tests/test_cli_output.py +++ b/integration_tests/test_cli_output.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 diff --git a/integration_tests/test_config_tool.py b/integration_tests/test_config_tool.py index 264254d24..81ffdc0a5 100644 --- a/integration_tests/test_config_tool.py +++ b/integration_tests/test_config_tool.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Module diff --git a/integration_tests/test_dataset_add.py b/integration_tests/test_dataset_add.py index c41669540..3bef05845 100644 --- a/integration_tests/test_dataset_add.py +++ b/integration_tests/test_dataset_add.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import math diff --git a/integration_tests/test_double_ingestion.py b/integration_tests/test_double_ingestion.py index 39485c940..918b5bcc6 100644 --- a/integration_tests/test_double_ingestion.py +++ b/integration_tests/test_double_ingestion.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import pytest import netCDF4 diff --git a/integration_tests/test_end_to_end.py b/integration_tests/test_end_to_end.py index 7df414833..79157125c 100644 --- a/integration_tests/test_end_to_end.py +++ b/integration_tests/test_end_to_end.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import shutil from pathlib import Path diff --git a/integration_tests/test_environments.py b/integration_tests/test_environments.py index 78bb9a589..42e957300 100644 --- a/integration_tests/test_environments.py +++ b/integration_tests/test_environments.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import pytest diff --git a/integration_tests/test_full_ingestion.py b/integration_tests/test_full_ingestion.py index eeb728a94..a4e3332ff 100644 --- a/integration_tests/test_full_ingestion.py +++ b/integration_tests/test_full_ingestion.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import hashlib import warnings diff --git a/integration_tests/test_index_datasets_search.py b/integration_tests/test_index_datasets_search.py index 50b6a213f..df572d2f0 100644 --- a/integration_tests/test_index_datasets_search.py +++ b/integration_tests/test_index_datasets_search.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import pytest from pathlib import PurePosixPath diff --git a/integration_tests/test_index_out_of_bound.py b/integration_tests/test_index_out_of_bound.py index 7054830d0..641662d3b 100644 --- a/integration_tests/test_index_out_of_bound.py +++ b/integration_tests/test_index_out_of_bound.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import pytest diff --git a/integration_tests/test_model.py b/integration_tests/test_model.py index 189150fdf..69366f49e 100644 --- a/integration_tests/test_model.py +++ b/integration_tests/test_model.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import pytest diff --git a/integration_tests/test_validate_ingestion.py b/integration_tests/test_validate_ingestion.py index 68358fced..83cec3a78 100644 --- a/integration_tests/test_validate_ingestion.py +++ b/integration_tests/test_validate_ingestion.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import pytest diff --git a/integration_tests/utils.py b/integration_tests/utils.py index c29b126c0..e15bcb700 100644 --- a/integration_tests/utils.py +++ b/integration_tests/utils.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import logging import os diff --git a/tests/__init__.py b/tests/__init__.py index 45970a2a5..8318282ae 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,4 +1,4 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 diff --git a/tests/api/__init__.py b/tests/api/__init__.py index 45970a2a5..8318282ae 100644 --- a/tests/api/__init__.py +++ b/tests/api/__init__.py @@ -1,4 +1,4 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 diff --git a/tests/api/test_core.py b/tests/api/test_core.py index 2bada262c..38b272b44 100644 --- a/tests/api/test_core.py +++ b/tests/api/test_core.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import xarray as xr import numpy as np diff --git a/tests/api/test_grid_workflow.py b/tests/api/test_grid_workflow.py index 5924af0ad..cad0f0a7a 100644 --- a/tests/api/test_grid_workflow.py +++ b/tests/api/test_grid_workflow.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import pytest import numpy diff --git a/tests/api/test_masking.py b/tests/api/test_masking.py index 63f9299ad..378689ccb 100644 --- a/tests/api/test_masking.py +++ b/tests/api/test_masking.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import yaml import pytest diff --git a/tests/api/test_query.py b/tests/api/test_query.py index 0b5300baf..a2ac72276 100644 --- a/tests/api/test_query.py +++ b/tests/api/test_query.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import datetime import pandas diff --git a/tests/api/test_virtual.py b/tests/api/test_virtual.py index 97b13d237..03206172a 100644 --- a/tests/api/test_virtual.py +++ b/tests/api/test_virtual.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from collections import OrderedDict from datetime import datetime diff --git a/tests/conftest.py b/tests/conftest.py index e9a60532c..57a2088af 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ py.test configuration fixtures diff --git a/tests/drivers/fail_drivers/dc_tests_io/__init__.py b/tests/drivers/fail_drivers/dc_tests_io/__init__.py index 45970a2a5..8318282ae 100644 --- a/tests/drivers/fail_drivers/dc_tests_io/__init__.py +++ b/tests/drivers/fail_drivers/dc_tests_io/__init__.py @@ -1,4 +1,4 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 diff --git a/tests/drivers/fail_drivers/dc_tests_io/dummy.py b/tests/drivers/fail_drivers/dc_tests_io/dummy.py index 2d3143fd4..7d3befd9e 100644 --- a/tests/drivers/fail_drivers/dc_tests_io/dummy.py +++ b/tests/drivers/fail_drivers/dc_tests_io/dummy.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 diff --git a/tests/drivers/fail_drivers/setup.py b/tests/drivers/fail_drivers/setup.py index ed71cb127..60be7a42d 100644 --- a/tests/drivers/fail_drivers/setup.py +++ b/tests/drivers/fail_drivers/setup.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from setuptools import setup, find_packages diff --git a/tests/drivers/test_rio_reader.py b/tests/drivers/test_rio_reader.py index 8f2a7a57d..c27a2b0e0 100644 --- a/tests/drivers/test_rio_reader.py +++ b/tests/drivers/test_rio_reader.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Tests for new RIO reader driver """ diff --git a/tests/index/__init__.py b/tests/index/__init__.py index 7bd83106e..a642d3c36 100644 --- a/tests/index/__init__.py +++ b/tests/index/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Module diff --git a/tests/index/test_api_index_dataset.py b/tests/index/test_api_index_dataset.py index 6c86f9add..63f68405c 100644 --- a/tests/index/test_api_index_dataset.py +++ b/tests/index/test_api_index_dataset.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import datetime from collections import namedtuple diff --git a/tests/index/test_fields.py b/tests/index/test_fields.py index 3f26ac33a..b43284cac 100644 --- a/tests/index/test_fields.py +++ b/tests/index/test_fields.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Module diff --git a/tests/index/test_hl_index.py b/tests/index/test_hl_index.py index a6251dca7..840257696 100644 --- a/tests/index/test_hl_index.py +++ b/tests/index/test_hl_index.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import pytest diff --git a/tests/index/test_postgis_fields.py b/tests/index/test_postgis_fields.py index cfa606b91..e826d785f 100644 --- a/tests/index/test_postgis_fields.py +++ b/tests/index/test_postgis_fields.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import datetime diff --git a/tests/index/test_query.py b/tests/index/test_query.py index 477d6ed2d..88f2324da 100644 --- a/tests/index/test_query.py +++ b/tests/index/test_query.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Module diff --git a/tests/index/test_validate_dataset_type.py b/tests/index/test_validate_dataset_type.py index 565ad6dce..39da10b04 100644 --- a/tests/index/test_validate_dataset_type.py +++ b/tests/index/test_validate_dataset_type.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Module diff --git a/tests/scripts/__init__.py b/tests/scripts/__init__.py index 7bd83106e..a642d3c36 100644 --- a/tests/scripts/__init__.py +++ b/tests/scripts/__init__.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Module diff --git a/tests/scripts/test_search_tool.py b/tests/scripts/test_search_tool.py index 57bf4ffeb..5edc7dc3d 100644 --- a/tests/scripts/test_search_tool.py +++ b/tests/scripts/test_search_tool.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Module diff --git a/tests/storage/test_base.py b/tests/storage/test_base.py index 823c71b2e..c5f483910 100644 --- a/tests/storage/test_base.py +++ b/tests/storage/test_base.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import pytest from datacube.storage import BandInfo diff --git a/tests/storage/test_netcdfwriter.py b/tests/storage/test_netcdfwriter.py index 46788e9c4..bd3b684b2 100644 --- a/tests/storage/test_netcdfwriter.py +++ b/tests/storage/test_netcdfwriter.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import netCDF4 import numpy diff --git a/tests/storage/test_storage.py b/tests/storage/test_storage.py index b784f8764..7085a24e3 100644 --- a/tests/storage/test_storage.py +++ b/tests/storage/test_storage.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from contextlib import contextmanager diff --git a/tests/storage/test_storage_load.py b/tests/storage/test_storage_load.py index 396003dbc..781560d9c 100644 --- a/tests/storage/test_storage_load.py +++ b/tests/storage/test_storage_load.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Test New IO driver loading """ diff --git a/tests/storage/test_storage_read.py b/tests/storage/test_storage_read.py index 8beb60172..8251481ae 100644 --- a/tests/storage/test_storage_read.py +++ b/tests/storage/test_storage_read.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from affine import Affine import numpy as np diff --git a/tests/test_3d.py b/tests/test_3d.py index 06df9763d..072aa8d9d 100644 --- a/tests/test_3d.py +++ b/tests/test_3d.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from collections import OrderedDict diff --git a/tests/test_concurrent_executor.py b/tests/test_concurrent_executor.py index f11212da4..bbab3e50b 100644 --- a/tests/test_concurrent_executor.py +++ b/tests/test_concurrent_executor.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Tests for MultiprocessingExecutor diff --git a/tests/test_config.py b/tests/test_config.py index 0d134e532..5cb83b8a0 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Module diff --git a/tests/test_driver.py b/tests/test_driver.py index 3c9331d68..6e13ddcb7 100644 --- a/tests/test_driver.py +++ b/tests/test_driver.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import pytest import yaml diff --git a/tests/test_dynamic_db_passwd.py b/tests/test_dynamic_db_passwd.py index 17b7b9640..cc2e502c7 100644 --- a/tests/test_dynamic_db_passwd.py +++ b/tests/test_dynamic_db_passwd.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import pytest from sqlalchemy.exc import OperationalError diff --git a/tests/test_eo3.py b/tests/test_eo3.py index 44cb5e0da..e56e7470a 100644 --- a/tests/test_eo3.py +++ b/tests/test_eo3.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from affine import Affine import pytest diff --git a/tests/test_gbox_ops.py b/tests/test_gbox_ops.py index f063be196..4d8c92aa2 100644 --- a/tests/test_gbox_ops.py +++ b/tests/test_gbox_ops.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from affine import Affine import numpy as np diff --git a/tests/test_geometry.py b/tests/test_geometry.py index 5e63ba0f8..5c5721b93 100644 --- a/tests/test_geometry.py +++ b/tests/test_geometry.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import math import numpy as np diff --git a/tests/test_load_data.py b/tests/test_load_data.py index e0f4f2cdd..f9bf98d28 100644 --- a/tests/test_load_data.py +++ b/tests/test_load_data.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from datacube import Datacube from datacube.api.query import query_group_by diff --git a/tests/test_metadata_fields.py b/tests/test_metadata_fields.py index 20b9ad174..03a4d17c6 100644 --- a/tests/test_metadata_fields.py +++ b/tests/test_metadata_fields.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import yaml import datetime diff --git a/tests/test_model.py b/tests/test_model.py index da5ae78c4..1c9603028 100644 --- a/tests/test_model.py +++ b/tests/test_model.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import pytest import numpy diff --git a/tests/test_testutils.py b/tests/test_testutils.py index a45661ee4..f625f3062 100644 --- a/tests/test_testutils.py +++ b/tests/test_testutils.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import pytest from datacube.testutils.threads import FakeThreadPoolExecutor diff --git a/tests/test_utils_aws.py b/tests/test_utils_aws.py index a86cdc296..b7e287aba 100644 --- a/tests/test_utils_aws.py +++ b/tests/test_utils_aws.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import pytest from unittest import mock diff --git a/tests/test_utils_changes.py b/tests/test_utils_changes.py index 9f5108a09..5483b5d99 100644 --- a/tests/test_utils_changes.py +++ b/tests/test_utils_changes.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import pytest from datacube.utils.changes import ( diff --git a/tests/test_utils_cog.py b/tests/test_utils_cog.py index 363ae4212..d73e33fb6 100644 --- a/tests/test_utils_cog.py +++ b/tests/test_utils_cog.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import pytest from pathlib import Path diff --git a/tests/test_utils_dask.py b/tests/test_utils_dask.py index c7b2d2d29..c0faefb42 100644 --- a/tests/test_utils_dask.py +++ b/tests/test_utils_dask.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import pytest import moto diff --git a/tests/test_utils_dates.py b/tests/test_utils_dates.py index b7547f864..c45cd90c6 100644 --- a/tests/test_utils_dates.py +++ b/tests/test_utils_dates.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import numpy as np import pytest diff --git a/tests/test_utils_docs.py b/tests/test_utils_docs.py index 0341abbc9..7ea7eb93d 100644 --- a/tests/test_utils_docs.py +++ b/tests/test_utils_docs.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Test utility functions from :module:`datacube.utils` diff --git a/tests/test_utils_generic.py b/tests/test_utils_generic.py index 15392bd0b..ecddb5706 100644 --- a/tests/test_utils_generic.py +++ b/tests/test_utils_generic.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from queue import Queue from datacube.utils.generic import ( diff --git a/tests/test_utils_other.py b/tests/test_utils_other.py index 5e383b212..60ca28fae 100644 --- a/tests/test_utils_other.py +++ b/tests/test_utils_other.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Test utility functions from :module:`datacube.utils` diff --git a/tests/test_utils_rio.py b/tests/test_utils_rio.py index e834ac2fe..62b9455e6 100644 --- a/tests/test_utils_rio.py +++ b/tests/test_utils_rio.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import pytest from unittest import mock diff --git a/tests/test_warp.py b/tests/test_warp.py index 6903702e3..9bd6b743c 100644 --- a/tests/test_warp.py +++ b/tests/test_warp.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import numpy as np from affine import Affine diff --git a/tests/test_xarray_extension.py b/tests/test_xarray_extension.py index b1aeef6a5..76bd86dc5 100644 --- a/tests/test_xarray_extension.py +++ b/tests/test_xarray_extension.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 import pytest import xarray as xr diff --git a/tests/ui/__init__.py b/tests/ui/__init__.py index 45970a2a5..8318282ae 100644 --- a/tests/ui/__init__.py +++ b/tests/ui/__init__.py @@ -1,4 +1,4 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 diff --git a/tests/ui/test_common.py b/tests/ui/test_common.py index 8c8352002..3abbcac98 100644 --- a/tests/ui/test_common.py +++ b/tests/ui/test_common.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Module diff --git a/tests/ui/test_expression_parsing.py b/tests/ui/test_expression_parsing.py index 3f30748c2..214afcf40 100644 --- a/tests/ui/test_expression_parsing.py +++ b/tests/ui/test_expression_parsing.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 from datetime import datetime from dateutil.tz import tzutc diff --git a/tests/ui/test_task_app.py b/tests/ui/test_task_app.py index 6d5a4a754..4a0f5408a 100644 --- a/tests/ui/test_task_app.py +++ b/tests/ui/test_task_app.py @@ -1,6 +1,6 @@ # This file is part of the Open Data Cube, see https://opendatacube.org for more information # -# Copyright (c) 2015-2023 ODC Contributors +# Copyright (c) 2015-2024 ODC Contributors # SPDX-License-Identifier: Apache-2.0 """ Module From a418c82a22ce9e435cc7018b0a64b335c7d01fc0 Mon Sep 17 00:00:00 2001 From: Ariana Barzinpour Date: Wed, 3 Jan 2024 06:37:58 +0000 Subject: [PATCH 3/5] update whats_new --- docs/about/whats_new.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/about/whats_new.rst b/docs/about/whats_new.rst index e8684c563..6168d88be 100644 --- a/docs/about/whats_new.rst +++ b/docs/about/whats_new.rst @@ -10,6 +10,8 @@ v1.8.next - Add dataset cli tool ``find-duplicates`` to identify duplicate indexed datasets (:pull:`1517`) - Make solar_day() timezone aware (:pull:`1521`) - Warn if non-eo3 dataset has eo3 metadata type (:pull:`1523`) +- Update pandas version in docker image to be consistent with conda environment and default to stdlib + timezone instead of pytz when converting timestamps; automatically update copyright years (:pull:`1527`) v1.8.17 (8th November 2023) =========================== From 01f03c2ed4a543e8c27d9b6843ad4f1ddb27413b Mon Sep 17 00:00:00 2001 From: Ariana Barzinpour Date: Thu, 4 Jan 2024 00:50:33 +0000 Subject: [PATCH 4/5] update wordlist --- wordlist.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wordlist.txt b/wordlist.txt index a4ebca390..10a01d780 100644 --- a/wordlist.txt +++ b/wordlist.txt @@ -375,6 +375,7 @@ pyproj pyspellcheck pytest PythonAPI +pytz QGIS RasterDatasetDataSource RasterIO @@ -432,6 +433,7 @@ STAC stac stacker stacspec +stdlib str subcommands sudo From b48304f49bfb891ecc0739294cfbb3fa03ff366b Mon Sep 17 00:00:00 2001 From: Ariana Barzinpour Date: Thu, 4 Jan 2024 01:32:22 +0000 Subject: [PATCH 5/5] add pandas to constraints.in, fix docstring --- datacube/api/core.py | 2 +- docker/constraints.in | 3 ++- docker/constraints.txt | 8 ++++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/datacube/api/core.py b/datacube/api/core.py index 002ae690b..8622c3fb4 100644 --- a/datacube/api/core.py +++ b/datacube/api/core.py @@ -191,7 +191,7 @@ def _list_measurements(self): def load(self, product=None, measurements=None, output_crs=None, resolution=None, resampling=None, skip_broken_datasets=False, dask_chunks=None, like=None, fuse_func=None, align=None, datasets=None, dataset_predicate=None, progress_cbk=None, patch_url=None, **query): - """ + r""" Load data as an ``xarray.Dataset`` object. Each measurement will be a data variable in the :class:`xarray.Dataset`. diff --git a/docker/constraints.in b/docker/constraints.in index 95758d9d1..b25b22227 100644 --- a/docker/constraints.in +++ b/docker/constraints.in @@ -21,6 +21,7 @@ matplotlib moto netcdf4>=1.5.8 numpy>=1.22.2 +pandas>=2.0 psycopg2 pycodestyle pylint @@ -37,7 +38,7 @@ sphinx_autodoc_typehints sphinx_rtd_theme sqlalchemy<2.0 toolz -xarray>=2023.9.0 +xarray>=0.9 # Previous pins were to very old versions # pytest Py3.10 requires >6.2.5 diff --git a/docker/constraints.txt b/docker/constraints.txt index 1750eab67..39f1261d0 100644 --- a/docker/constraints.txt +++ b/docker/constraints.txt @@ -228,8 +228,10 @@ packaging==23.0 # setuptools-scm # sphinx # xarray -pandas==2.1.1 - # via xarray +pandas==2.1.4 + # via + # -r constraints.in + # xarray partd==1.3.0 # via dask pendulum==2.1.2 @@ -411,6 +413,8 @@ typing-extensions==4.4.0 # via # pygeoif # setuptools-scm +tzdata==2023.4 + # via pandas urllib3==1.26.14 # via # botocore