Skip to content

Commit

Permalink
Merge pull request #1527 from opendatacube/update_docker_pandas
Browse files Browse the repository at this point in the history
Update pandas version in docker image
  • Loading branch information
Ariana-B committed Jan 4, 2024
2 parents 6aaea5f + b48304f commit b9ba239
Show file tree
Hide file tree
Showing 229 changed files with 240 additions and 242 deletions.
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion datacube/__main__.py
@@ -1,6 +1,6 @@
# This file is part of the Open Data Cube, see https://opendatacube.org for more information
#
# Copyright (c) 2015-2023 ODC Contributors
# Copyright (c) 2015-2024 ODC Contributors
# SPDX-License-Identifier: Apache-2.0
if __name__ == "__main__":
from .config import auto_config
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
4 changes: 2 additions & 2 deletions datacube/api/core.py
@@ -1,6 +1,6 @@
# This file is part of the Open Data Cube, see https://opendatacube.org for more information
#
# Copyright (c) 2015-2023 ODC Contributors
# Copyright (c) 2015-2024 ODC Contributors
# SPDX-License-Identifier: Apache-2.0
import uuid
import collections.abc
Expand Down Expand Up @@ -191,7 +191,7 @@ def _list_measurements(self):
def load(self, product=None, measurements=None, output_crs=None, resolution=None, resampling=None,
skip_broken_datasets=False, dask_chunks=None, like=None, fuse_func=None, align=None,
datasets=None, dataset_predicate=None, progress_cbk=None, patch_url=None, **query):
"""
r"""
Load data as an ``xarray.Dataset`` object.
Each measurement will be a data variable in the :class:`xarray.Dataset`.
Expand Down
2 changes: 1 addition & 1 deletion datacube/api/grid_workflow.py
@@ -1,6 +1,6 @@
# This file is part of the Open Data Cube, see https://opendatacube.org for more information
#
# Copyright (c) 2015-2023 ODC Contributors
# Copyright (c) 2015-2024 ODC Contributors
# SPDX-License-Identifier: Apache-2.0
import logging
import xarray
Expand Down
4 changes: 2 additions & 2 deletions 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
Expand Down Expand Up @@ -69,7 +69,7 @@ def __init__(self, index=None, product=None, geopolygon=None, like=None, **searc
Use by accessing :attr:`search_terms`:
>>> query.search_terms['time'] # doctest: +NORMALIZE_WHITESPACE
Range(begin=datetime.datetime(2001, 1, 1, 0, 0, tzinfo=<UTC>), \
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``.
Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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.
"""
Expand Down
2 changes: 1 addition & 1 deletion 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.
"""
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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

Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion datacube/drivers/netcdf/_safestrings.py
@@ -1,6 +1,6 @@
# This file is part of the Open Data Cube, see https://opendatacube.org for more information
#
# Copyright (c) 2015-2023 ODC Contributors
# Copyright (c) 2015-2024 ODC Contributors
# SPDX-License-Identifier: Apache-2.0
"""
Provides `SafeStringsDataset`, a replacement netCDF4.Dataset class which works
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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

Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
"""
2 changes: 1 addition & 1 deletion 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
"""
Expand Down
2 changes: 1 addition & 1 deletion 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

Expand Down
2 changes: 1 addition & 1 deletion datacube/execution/__init__.py
@@ -1,4 +1,4 @@
# This file is part of the Open Data Cube, see https://opendatacube.org for more information
#
# Copyright (c) 2015-2023 ODC Contributors
# Copyright (c) 2015-2024 ODC Contributors
# SPDX-License-Identifier: Apache-2.0
2 changes: 1 addition & 1 deletion datacube/execution/worker.py
@@ -1,6 +1,6 @@
# This file is part of the Open Data Cube, see https://opendatacube.org for more information
#
# Copyright (c) 2015-2023 ODC Contributors
# Copyright (c) 2015-2024 ODC Contributors
# SPDX-License-Identifier: Apache-2.0
"""
This app launches workers for distributed work loads
Expand Down
2 changes: 1 addition & 1 deletion datacube/executor.py
@@ -1,6 +1,6 @@
# This file is part of the Open Data Cube, see https://opendatacube.org for more information
#
# Copyright (c) 2015-2023 ODC Contributors
# Copyright (c) 2015-2024 ODC Contributors
# SPDX-License-Identifier: Apache-2.0
#
# type: ignore
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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


Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down

0 comments on commit b9ba239

Please sign in to comment.