Intake interface to NOAA CO-OPS data
Project description
intake-coops
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
.
Project based on the cookiecutter science project template.
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
stations = ["COI0302", "COI0512"]
cat = intake.open_coops_cat(stations)
# sources in catalog
print(list(cat))
# look at a source
print(cat["COI0302"])
# read in data to a Dataset
ds = cat["COI0302"].read()
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
Project details
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
Hashes for intake_coops-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c029d28294823664bfb3b4ee69d8d4f6f73a3e6d467297f7052f8bd838247cea |
|
MD5 | b771318dbc5b3e123903b04a52e38d89 |
|
BLAKE2b-256 | 24cc44c17a6e9c5f7725c3c809a46153754e3e9b8da5f24d7389a28e4d972717 |