Datapoint provides python-based search/access tools for using data primarily from the CEDA Archive.
Project description
DataPoint package
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ceda_datapoint-0.5.2.tar.gz.
File metadata
- Download URL: ceda_datapoint-0.5.2.tar.gz
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.9.21 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aaa624d78bdd1c68f545a2b2da00912f1b69982ffe2867eb821b9383c9ad8384
|
|
| MD5 |
0df626fdbce2ec0463e9e2f57ff3fea3
|
|
| BLAKE2b-256 |
4d58c2a0badb983760c546a26772bb6d6a06a3ff0ec9cd2fd9b66e294619a447
|
File details
Details for the file ceda_datapoint-0.5.2-py3-none-any.whl.
File metadata
- Download URL: ceda_datapoint-0.5.2-py3-none-any.whl
- Upload date:
- Size: 27.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.9.21 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fddae9d7fed536c31bd2b429be20eb1e64baed7f32e0d0fb6a4f86c0d35b7dc
|
|
| MD5 |
77a97551255e9f44adcdbf302646fb59
|
|
| BLAKE2b-256 |
db47ad669b6326262a7f0c35f60bf324a45231143938f8b499f41199cd8fbf13
|