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/api/__init__.py b/datacube/api/__init__.py index 87a607d03..4cdb2c0db 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 a128da517..0a12ceedc 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 logging import uuid @@ -221,7 +221,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/datacube/api/query.py b/datacube/api/query.py index a3e8cf812..8df690c96 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 @@ -77,7 +77,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/datacube/cfg/__init__.py b/datacube/cfg/__init__.py index 411130c6f..e514c0a1e 100644 --- a/datacube/cfg/__init__.py +++ b/datacube/cfg/__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 diff --git a/datacube/cfg/api.py b/datacube/cfg/api.py index 6dddf9bed..cd3790dd2 100644 --- a/datacube/cfg/api.py +++ b/datacube/cfg/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 """ diff --git a/datacube/cfg/cfg.py b/datacube/cfg/cfg.py index f71af2869..612c1fbcd 100644 --- a/datacube/cfg/cfg.py +++ b/datacube/cfg/cfg.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 """ Low level config path resolution, loading and multi-format parsing functions. diff --git a/datacube/cfg/exceptions.py b/datacube/cfg/exceptions.py index 9ad9d8d13..37392c8ce 100644 --- a/datacube/cfg/exceptions.py +++ b/datacube/cfg/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 """ Config reading/loading exceptions diff --git a/datacube/cfg/opt.py b/datacube/cfg/opt.py index 913610658..191934f94 100644 --- a/datacube/cfg/opt.py +++ b/datacube/cfg/opt.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/cfg/utils.py b/datacube/cfg/utils.py index 8aa7fcc18..73f467e4f 100644 --- a/datacube/cfg/utils.py +++ b/datacube/cfg/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 re diff --git a/datacube/config.py b/datacube/config.py index 733ffa4bd..9662ca187 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 15b8f7d54..83d38b241 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 6324170f4..709a055c8 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 467f61fdb..385bebf96 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/_write.py b/datacube/drivers/netcdf/_write.py index 8cc15f208..8d66feb58 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 4df2a4763..50c4b5137 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 eb82bdf6e..f0d59ecdd 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 a910f3fc2..f29f76f6a 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 88ba42180..f93958f12 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 81c9f2e65..1a655c17c 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 35ec5bdcb..a7161ec04 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 1e2f96360..de27868ff 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 fb997ffc1..c32937a5c 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/alembic/env.py b/datacube/drivers/postgis/alembic/env.py index 202208c0c..ae5b90cea 100644 --- a/datacube/drivers/postgis/alembic/env.py +++ b/datacube/drivers/postgis/alembic/env.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 alembic import context diff --git a/datacube/drivers/postgis/alembic/versions/48fb71ece268_initial_revision.py b/datacube/drivers/postgis/alembic/versions/48fb71ece268_initial_revision.py index 040baee5e..7f235ef28 100644 --- a/datacube/drivers/postgis/alembic/versions/48fb71ece268_initial_revision.py +++ b/datacube/drivers/postgis/alembic/versions/48fb71ece268_initial_revision.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 """Initial revision diff --git a/datacube/drivers/postgis/sql.py b/datacube/drivers/postgis/sql.py index 02f9c741f..396393a9f 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 9267dbc72..c1236637b 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 b62c60542..788cf5376 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 68ffc799c..5708119e4 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 c6a98470f..676e8efca 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 8e949ff9f..6de729133 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 ae53bbdc0..281ade0a0 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/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 333add3ef..7492b8a73 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 0f433bbd2..c62ffaec3 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 697315699..a67c2fbb1 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 8403dc7ae..ab8fbe6aa 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 67a2a969f..8ab99c355 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 c5707687d..40112011b 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 1308d6564..cc31811dd 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 24efe7f9b..9fdb9c0f6 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 7bef0ec24..11e80f68d 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 f0d7e010d..b37e9673e 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 d3c54ed6a..cbcb619e6 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/_lineage.py b/datacube/index/postgis/_lineage.py index da1906ca1..a11c123e5 100644 --- a/datacube/index/postgis/_lineage.py +++ b/datacube/index/postgis/_lineage.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 time import monotonic from typing import Mapping, Optional, Iterable 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 025e9ec05..d6e1745e0 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 eff5214e7..8122318da 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 006965cc9..4e3b918df 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/_lineage.py b/datacube/index/postgres/_lineage.py index f27127b41..ff52cdee6 100644 --- a/datacube/index/postgres/_lineage.py +++ b/datacube/index/postgres/_lineage.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 time import monotonic from typing import Iterable 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 110d72e6b..9f7237cd8 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 50793ab5f..abf3f1531 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/lineage.py b/datacube/model/lineage.py index d5763517f..606fe107a 100644 --- a/datacube/model/lineage.py +++ b/datacube/model/lineage.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 dataclasses import dataclass from enum import Enum 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 6408057f9..8f75dcdc6 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 e001570ce..21f6f5b85 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 d3ffc1170..a89fffb46 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 184f575bc..142f2ab91 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/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/spindex.py b/datacube/scripts/spindex.py index f705c20cb..013da4b4c 100644 --- a/datacube/scripts/spindex.py +++ b/datacube/scripts/spindex.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 sys diff --git a/datacube/scripts/system.py b/datacube/scripts/system.py index a3bdd9c52..62b2336b8 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 d914fcd77..cbd6cdb60 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 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 15edb6ac8..ed0b8f5f0 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 270622323..26e33790e 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 087a6fc21..06072bebf 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 3db4915de..d8f94fb3c 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 b311b26e0..308dac937 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 063b9b9d0..59fb3ddb4 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 22306a74d..9f9dacde9 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 142ea417d..6fe7c5743 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 09a17d156..78869f256 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 25925fd01..ca1b9d635 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 4f2f39ea1..ff11ac551 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 26e098d4f..6e328da2c 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 1d5a6b205..6af2204c6 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 bd32f79f1..6b35cad04 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 d698d20a3..ca63032af 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 202648944..0c2fb4b7d 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 from math import ceil 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 fa0aa5227..9185fb478 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 9f3021169..96bf224fe 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/docker/constraints.in b/docker/constraints.in index f27c7ba0b..b068d38a5 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 @@ -38,7 +39,7 @@ sphinx_rtd_theme alembic sqlalchemy>=2.0 toolz -xarray>=0.9 +xarray>=2023.9.0 odc-geo # Previous pins were to very old versions diff --git a/docker/constraints.txt b/docker/constraints.txt index 6a7c0b3e0..1404b0259 100644 --- a/docker/constraints.txt +++ b/docker/constraints.txt @@ -239,8 +239,10 @@ packaging==23.0 # setuptools-scm # sphinx # xarray -pandas==1.5.3 - # via xarray +pandas==2.1.4 + # via + # -r constraints.in + # xarray partd==1.3.0 # via dask pendulum==2.1.2 @@ -428,6 +430,8 @@ typing-extensions==4.4.0 # pygeoif # setuptools-scm # sqlalchemy +tzdata==2023.4 + # via pandas urllib3==1.26.14 # via # botocore @@ -449,7 +453,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 diff --git a/docs/about/whats_new.rst b/docs/about/whats_new.rst index 3b8718bc1..dcfc92274 100644 --- a/docs/about/whats_new.rst +++ b/docs/about/whats_new.rst @@ -33,6 +33,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) =========================== diff --git a/docs/click_utils.py b/docs/click_utils.py index 4be169448..8fd440e3b 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 7998aee0b..eac2e2bee 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 3a0e11dc7..8673dd61b 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 8d37d45fe..5c68f8ae4 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 cb9323ae7..249bc3e43 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 6653d8fad..9cffffe03 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 5c21eb428..05663955a 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 4e3f6183d..ef63c8c62 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 f35e8efc2..23946b474 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 964413135..54b45eec0 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 c0b02a1ea..0a9929bc4 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 aa100ba90..ec703c2b5 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 from uuid import uuid4 as random_uuid diff --git a/integration_tests/index/test_search_eo3.py b/integration_tests/index/test_search_eo3.py index fe0a758ee..8f61e89bf 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 4811e436f..5efbfffba 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 fa408adde..dde8db75c 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 ce4b28d97..ff23da7a4 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 7c53fa899..4a8a4b395 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_cli_spatial_indexes.py b/integration_tests/test_cli_spatial_indexes.py index afae48dd9..d28a6735b 100644 --- a/integration_tests/test_cli_spatial_indexes.py +++ b/integration_tests/test_cli_spatial_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/test_config_tool.py b/integration_tests/test_config_tool.py index 27968029c..384fccbb0 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 1a0e3de0f..d9b24f5f2 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_environments.py b/integration_tests/test_environments.py index 93800a47e..8ff76b8a5 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 from datacube import Datacube diff --git a/integration_tests/test_index_datasets_search.py b/integration_tests/test_index_datasets_search.py index 0e389eb35..aff9f653f 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_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/utils.py b/integration_tests/utils.py index 344d9feb7..bb59f17cb 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 9e924a72a..a9fb5dd0d 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 from unittest.mock import MagicMock 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 c136cda9a..c5596adfd 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 9d48dc5aa..7e6f3e544 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 7a2f9ad5b..057705dd7 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_postgis_utils.py b/tests/drivers/test_postgis_utils.py index e41bc717c..ba8b4ce0a 100644 --- a/tests/drivers/test_postgis_utils.py +++ b/tests/drivers/test_postgis_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 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 df36ebf77..02c884c7e 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 5fa785c4d..f1b609795 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 393b3a422..2fa5fa8fa 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 5c90ca2ee..3802d0f73 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 775491872..8977c4cb3 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 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_cfg.py b/tests/test_cfg.py index 45c63eae1..7e3cba107 100644 --- a/tests/test_cfg.py +++ b/tests/test_cfg.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 unittest.mock import MagicMock diff --git a/tests/test_driver.py b/tests/test_driver.py index 91f3f5d2a..4ed8c2261 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_ext_lineage.py b/tests/test_ext_lineage.py index b695dbf1b..96fe6a4df 100644 --- a/tests/test_ext_lineage.py +++ b/tests/test_ext_lineage.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 pytest diff --git a/tests/test_load_data.py b/tests/test_load_data.py index 66a3857d5..5f8c73bc7 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 967135e7b..44591fd5c 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 2db2a1c6e..59bed2f21 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 94960b607..15c84e8db 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 e9e6447a4..c629ebe5b 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 53a962003..7f9da7059 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_xarray_extension.py b/tests/test_xarray_extension.py index 3b3f35215..ab991835c 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 6b72b42d2..93057c8ac 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 diff --git a/wordlist.txt b/wordlist.txt index 267326c2f..1004fcbbe 100644 --- a/wordlist.txt +++ b/wordlist.txt @@ -373,6 +373,7 @@ pyproj pyspellcheck pytest PythonAPI +pytz QGIS RasterDatasetDataSource RasterIO @@ -430,6 +431,7 @@ STAC stac stacker stacspec +stdlib str subcommands sudo