Skip to main content

intake-coops

License:MIT

Python Package Index

Intake interface to NOAA CO-OPS data

Uses the noaa_coops package to read in NOAA CO-OPS data.

Currently limited to currents only with limited selections. Returns an xarray Dataset, but there are intake Sources for both DataFrame and xarray.

This is intake v1 still.


Project based on the cookiecutter science project template.

Installation

PyPI

>>> pip install intake-coops

Local installation

Clone from github (HTTPS or SSH)

>>> git clone https://github.com/axiom-data-science/intake-coops.git

Install environment file

>>> conda env create -f environment.yml

Activate new environment

>>> conda activate intake-coops

Install package locally in package directory

>>> pip install -e .

Example Usage

If you input to intake.open_coops_cat() the keyword argument process_adcp=True, the ADCP Dataset will contain velocity on u and v components, along- and across-channel components, and along- and across-channel subtidal signal (processed with pl33 tidal filter, also included).

import intake_coops

stations = ["COI0302", "COI0512"]
cat = intake_coops.COOPSCatalogReader(stations).read()

# sources in catalog
print(list(cat))

# look at a source
print(cat["COI0302"])

# read in data to a Dataset
ds = cat["COI0302"].read()
ds
<xarray.Dataset> Size: 3MB
Dimensions:    (t: 8399, depth: 13)
Coordinates:
  * t          (t) datetime64[ns] 67kB 2003-07-16T00:08:00 ... 2003-08-19T23:...
  * depth      (depth) float64 104B 0.03 1.04 2.04 3.02 ... 10.03 11.03 12.04
    longitude  float64 8B -149.9
    latitude   float64 8B 61.27
Data variables:
    b          (t, depth) float64 873kB 13.0 12.0 11.0 10.0 ... 4.0 3.0 2.0 1.0
    d          (t, depth) float64 873kB 22.0 44.0 55.0 ... 211.0 211.0 212.0
    s          (t, depth) float64 873kB 37.1 55.6 45.4 21.3 ... 83.0 79.2 76.0

Development

To also develop this package, install additional packages with:

$ conda install --file requirements-dev.txt

To then check code before committing and pushing it to github, locally run

$ pre-commit run --all-files

Metadata

Release files for intake-coops 0.4.3

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

Source distribution (sdist)

Source distribution for intake-coops 0.4.3
File Size Uploaded Provenance Actions
intake_coops-0.4.3.tar.gz 10.9 kB With provenance Details for intake_coops-0.4.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for intake-coops 0.4.3
File Interpreter ABI Platform Actions
intake_coops-0.4.3-py3-none-any.whl Python 3 none any Details for intake_coops-0.4.3-py3-none-any.whl

Total release size: 19.7 kB

Release files / intake_coops-0.4.3.tar.gz

Download URL intake_coops-0.4.3.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
44adb66c6eac9c5866259d30631997b54441c1ee59e72f83fbb8b802229ce0a5
BLAKE2b-256 checksum
How to use checksums
a6c43065d6ec091b11d7fc8cb4f7076b1c5dfdf837fbfed9c035458ed8ccb8bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 14, 2025.

Transparency log

Release files / intake_coops-0.4.3-py3-none-any.whl

Download URL intake_coops-0.4.3-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0292ad208fb876fe9c06ab261d0e90a5c2fc90266fa4af8ee9792cf6d80c3d2
BLAKE2b-256 checksum
How to use checksums
98bef2d803bd142f024d702541868b31f751c61dcf98468b937e46b6264f2cce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 14, 2025.

Transparency log

Security for intake-coops 0.4.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for intake_coops-0.4.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 14, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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