Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
# sectionate
A package to sample grid-consistent sections from ocean model outputs

[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/raphaeldussin/sectionate/master)
[![PyPI](https://badge.fury.io/py/sectionate.svg)](https://badge.fury.io/py/sectionate)
[![Conda Version](https://img.shields.io/conda/vn/conda-forge/sectionate)](https://anaconda.org/conda-forge/sectionate)
[![Docs](https://readthedocs.org/projects/sectionate/badge/?version=latest)](https://sectionate.readthedocs.io/en/latest/)
[![License](https://img.shields.io/github/license/MOM6-Community/sectionate)](https://github.com/MOM6-Community/sectionate)

Quick Start Guide
-----------------

**For users: minimal installation within an existing environment**
```bash
pip install sectionate
conda install sectionate
```

**For developers: installing dependencies from scratch using `conda`**
Expand Down
1 change: 1 addition & 0 deletions ci/environment.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: test_env_sectionate
channels:
- conda-forge
- nodefaults
dependencies:
- python>=3.12
- pytest
49 changes: 49 additions & 0 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{% set name = "sectionate" %}
{% set version = "0.3.3" %}
{% set python_min = "3.11" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.org/packages/source/s/sectionate/sectionate-{{ version }}.tar.gz
sha256: b855b091e0c5ac56ab09ec96822ad46ee2ec89bf3b6b3aecb53cbe16dbc36ecb

build:
noarch: python
number: 0
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation

requirements:
host:
- python {{ python_min }}
- pip
- hatchling
run:
- python >={{ python_min }}
- dask
- numba
- numpy
- scipy
- xarray
- xgcm >=0.9.0

test:
requires:
- python {{ python_min }}
- pip
imports:
- sectionate
commands:
- pip check

about:
home: https://github.com/MOM6-community/sectionate
summary: A package to sample grid-consistent sections from ocean model outputs
license: GPL-3.0-only
license_file: LICENSE

extra:
recipe-maintainers:
- hdrake
4 changes: 4 additions & 0 deletions docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ dependencies:
- netcdf4
- pydap
- pytest
- sphinx
- nbsphinx
- ipykernel
- pip
Loading