Skip to main content

DataPoint package

PyPI version

ceda-datapoint is a Python package which provides Python-based search/access tools for using data primarily from the CEDA Archive. For some time we've been generating so-called Cloud Formats which act as representations, references or mappers to data stored in the CEDA Archive. Most of our data is in archival formats like NetCDF/HDF which makes them great for use with the HPC architecture on which the archive resides (see the JASMIN homepage for more details), but not so good for open access outside of JASMIN.

See the documentation at https://cedadev.github.io/datapoint for more information.

New for v0.5 - Single-Search Selections

With the release of v0.5.0 of ceda-datapoint, the new single-search feature is in production! This significantly simplifies the data selection by applying STAC-based search queries to the Xarray datasets as they are accessed. This applies to all datasets returned via the search, so you will only see the data you've actually requested.

Example search

>>> client.search(
   collections=['example_collection'], # Any nested collections will now also be searched.
   intersects={
      "type": "Polygon",
      "coordinates": [[[6, 53], [7, 53], [7, 54], [6, 54], [6, 53]]],
   }, # Intersection also applied to xarray Dataset
   datetime='2025-01-01/2025-12-31',
   query=[
      'cmip6:experiment_id=001',
      'variables=clt',
   ],
   data_selection={
      'variables':['clt'] # Alternative variable search
      'sel':{
         'nv':slice(0,5)
      }
   }
)

In this case, the Intersection (Area of Interest), Datetime range, query options and data selection will all be applied to Xarray datasets as they are delivered, which means upon opening a dataset you will receive an xarray representation that takes into account all your search criteria up to this point!

Read more in the documentation page, under Basic Usage >> New Feature: Simple Configuration with Single-Search Selections

Installation

The DataPoint module is now an installable module with pip!

pip install ceda-datapoint

Basic usage

See the documentation for a more in-depth description of how to run a search query and access data.

from ceda_datapoint import DataPointClient
client = DataPointClient(org='CEDA')
# Continue to perform searches and access data

Metadata

Release files for ceda-datapoint 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ceda-datapoint 0.5.2
File Size Uploaded
ceda_datapoint-0.5.2.tar.gz 19.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ceda-datapoint 0.5.2
File Interpreter ABI Platform
ceda_datapoint-0.5.2-py3-none-any.whl Python 3 none any Details

Total release size: 46.5 kB

Release files / ceda_datapoint-0.5.2.tar.gz

Download URL ceda_datapoint-0.5.2.tar.gz
Size 19.5 kB
Tags Source
SHA-256 checksum
How to use checksums
aaa624d78bdd1c68f545a2b2da00912f1b69982ffe2867eb821b9383c9ad8384
BLAKE2b-256 checksum
How to use checksums
4d58c2a0badb983760c546a26772bb6d6a06a3ff0ec9cd2fd9b66e294619a447
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.9.21 Darwin/24.5.0

Release files / ceda_datapoint-0.5.2-py3-none-any.whl

Download URL ceda_datapoint-0.5.2-py3-none-any.whl
Size 27.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3fddae9d7fed536c31bd2b429be20eb1e64baed7f32e0d0fb6a4f86c0d35b7dc
BLAKE2b-256 checksum
How to use checksums
db47ad669b6326262a7f0c35f60bf324a45231143938f8b499f41199cd8fbf13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.9.21 Darwin/24.5.0

Release history Release notifications | RSS feed

This release

0.5.2 This release

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.12

2 release files

0.4.11

2 release files

0.4.10

2 release files

0.4.9

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page