Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ formats: []
build:
os: "ubuntu-22.04"
tools:
python: "3.9"
python: "3.11"
python:
install:
- requirements: docs/requirements.txt
Expand Down
File renamed without changes.
15 changes: 0 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,3 @@ qa:

unit-tests:
cd .. && python -m pytest earthkit -vv --cov=. --cov-report=$(COV_REPORT) && cd -

type-check:
python -m mypy .

conda-env-update:
$(CONDA) env update $(CONDAFLAGS) -f environment.yml

docker-build:
docker build -t $(PROJECT) .

docker-run:
docker run --rm -ti -v $(PWD):/srv $(PROJECT)

docs-build:
cd docs && rm -fr _api && make clean && make html
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
</picture>
</p>



<p align="center">
<!-- <a href="#quick-start">Quick Start</a>
• -->
Expand All @@ -25,9 +23,7 @@
| | | |
|:-------------------------:|:-------------------------:|:-------------------------:|
| <a href="https://github.com/ecmwf/earthkit-data"><picture><source srcset="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-data-dark.svg" media="(prefers-color-scheme: dark)"><img src="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-data-light.svg"></picture></a> | <a href="https://github.com/ecmwf/earthkit-plots"><picture><source srcset="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-plots-dark.svg" media="(prefers-color-scheme: dark)"><img src="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-plots-light.svg"></picture></a> | <a href="https://github.com/ecmwf/earthkit-meteo"><picture><source srcset="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-meteo-dark.svg" media="(prefers-color-scheme: dark)"><img src="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-meteo-light.svg"></picture></a> |
| <a href="https://github.com/ecmwf/earthkit-regrid"><picture><source srcset="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-regrid-dark.svg" media="(prefers-color-scheme: dark)"><img src="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-regrid-light.svg"></picture></a> | <a href="https://github.com/ecmwf/earthkit-climate"><picture><source srcset="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-climate-dark.svg" media="(prefers-color-scheme: dark)"><img src="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-climate-light.svg"></picture></a> | <a href="https://github.com/ecmwf/earthkit-geo"><picture><source srcset="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-geo-dark.svg" media="(prefers-color-scheme: dark)"><img src="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-geo-light.svg"></picture></a> |
| <a href="https://github.com/ecmwf/earthkit-time"><picture><source srcset="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-time-dark.svg" media="(prefers-color-scheme: dark)"><img src="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-time-light.svg"></picture></a> | <a href="https://github.com/ecmwf/earthkit-transforms"><picture><source srcset="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-transforms-dark.svg" media="(prefers-color-scheme: dark)"><img src="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-transforms-light.svg"></picture></a> | <a href="https://github.com/ecmwf/earthkit-hydro"><picture><source srcset="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-hydro-dark.svg" media="(prefers-color-scheme: dark)"><img src="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-hydro-light.svg"></picture></a> |
| | <a href="https://github.com/ecmwf/earthkit-workflows"><picture><source srcset="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-workflows-dark.svg" media="(prefers-color-scheme: dark)"><img src="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-workflows-light.svg"></picture></a> | |
| <a href="https://github.com/ecmwf/earthkit-geo"><picture><source srcset="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-geo-dark.svg" media="(prefers-color-scheme: dark)"><img src="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-geo-light.svg"></picture></a> | <a href="https://github.com/ecmwf/earthkit-transforms"><picture><source srcset="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-transforms-dark.svg" media="(prefers-color-scheme: dark)"><img src="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-transforms-light.svg"></picture></a> | <a href="https://github.com/ecmwf/earthkit-hydro"><picture><source srcset="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-hydro-dark.svg" media="(prefers-color-scheme: dark)"><img src="https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-hydro-light.svg"></picture></a> |

<!-- ## Quick Start -->

Expand Down
12 changes: 0 additions & 12 deletions docs/components_overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,7 @@ This is the summary of the available ``earthkit`` components.
- Visualisation tools and templates.
- .. image:: https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-plots-light.svg
:width: 180px
* - :xref:`earthkit-regrid`
- Regridding of geospatial data.
- .. image:: https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-regrid-light.svg
:width: 180px
* - :xref:`earthkit-time`
- Manipulation of dates and time for weather forecasting.
- .. image:: https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-time-light.svg
:width: 180px
* - :xref:`earthkit-transforms`
- Aggregation and transformation of geospatial data.
- .. image:: https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-transforms-light.svg
:width: 180px
* - :xref:`earthkit-workflows`
- Scheduling and execution of task graphs.
- .. image:: https://github.com/ecmwf/logos/raw/refs/heads/main/logos/earthkit/earthkit-workflows-light.svg
:width: 180px
20 changes: 5 additions & 15 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@
else:
source_branch = "main"

src_path = os.path.normpath(
os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "src")
)
src_path = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "src"))
sys.path.insert(0, src_path)

# Adds path to the folder _ext, where extensions are stored
Expand Down Expand Up @@ -128,19 +126,11 @@
# clean_autodocs.py feature flags
# Set to False/None to disable or soften the corresponding processing step.
autodocs_delete_hidden = True # delete RST files for private/hidden modules
autodocs_replace_automodule = (
True # replace automodule directives with autosummary tables
)
autodocs_short_display_names = (
True # shorten toctree labels to the last module component
)
autodocs_top_level_maxdepth = (
1 # :maxdepth: on top-level page (None = keep sphinx-apidoc value)
)
autodocs_replace_automodule = True # replace automodule directives with autosummary tables
autodocs_short_display_names = True # shorten toctree labels to the last module component
autodocs_top_level_maxdepth = 1 # :maxdepth: on top-level page (None = keep sphinx-apidoc value)
autodocs_rename_titles = False # strip " package"/" module" from RST page headings
autodocs_top_level_title = (
"API Reference" # top-level page heading (used when rename_titles=True)
)
autodocs_top_level_title = "API Reference" # top-level page heading (used when rename_titles=True)
autodocs_titlesonly = False # inject :titlesonly: into toctree directives

# List of patterns, relative to source directory, that match files and
Expand Down
2 changes: 1 addition & 1 deletion docs/development/guidelines.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Development guidelines
------------------------------

Guidelines for developers to contribute to ECMWF software are explained in our
`Codex <https://github.com/ecmwf/codex/blob/main/Guidelines/External-Contributions.md>`_.
`Codex <https://github.com/ecmwf/codex/blob/main/Guidelines/External-Contributions.md>`_.
1 change: 0 additions & 1 deletion docs/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ Install **earthkit** with python3 (>= 3.10) and ``pip`` as follows (specific to
.. conda install earthkit -c conda-forge

.. This will bring in some necessary binary dependencies for you.

4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Earthkit
=========
earthkit
========

**earthkit** is a new open-source Python project led by ECMWF, providing powerful tools for speeding up weather
and climate science workflows by simplifying data access, processing, analysis, visualisation and much more.
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ sphinx_design
furo
nbsphinx
setuptools
pyyaml
pyyaml
17 changes: 0 additions & 17 deletions environment.yml

This file was deleted.

24 changes: 14 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[build-system]
requires = [ "setuptools>=61" ]
requires = [ "setuptools>=77", "setuptools-scm[toml]>=8" ]

[project]
name = "earthkit"
description = "Toolkit for earth science workflows"
readme = "README.md"
license = { text = "Apache License Version 2.0" }
license = "Apache-2.0"
license-files = [ "LICENSE" ]
authors = [
{ name = "European Centre for Medium-Range Weather Forecasts (ECMWF)", email = "software.support@ecmwf.int" },
]
Expand All @@ -15,7 +16,6 @@ classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
Expand All @@ -29,13 +29,13 @@ classifiers = [
]
dynamic = [ "version" ]
dependencies = [
"earthkit-data[all]>=1.0.0rc0",
"earthkit-geo[all]>=1.0.0rc0",
"earthkit-hydro>=1.3.0rc0",
"earthkit-meteo>=1.0.0rc0",
"earthkit-plots>=1.0.0rc0",
"earthkit-transforms>=1.0.0rc0",
"earthkit-utils>=1.0.0rc0",
"earthkit-data[all]>=1rc0",
"earthkit-geo[all]>=1rc0",
"earthkit-hydro>=1.3rc0",
"earthkit-meteo>=1rc0",
"earthkit-plots>=1rc0",
"earthkit-transforms>=1rc0",
"earthkit-utils>=1rc0",
]
optional-dependencies.test = [ "pytest", "pytest-forked" ]
urls.Documentation = "https://earthkit.readthedocs.io/"
Expand All @@ -46,6 +46,10 @@ urls.Repository = "https://github.com/ecmwf/earthkit/"
[tool.setuptools]
packages = [ ]

[tool.setuptools_scm]
version_file = "src/earthkit/_version.py"
local_scheme = "no-local-version"

[tool.isort]
profile = "black"

Expand Down
14 changes: 0 additions & 14 deletions tests/environment-docs-tests.yml

This file was deleted.

21 changes: 0 additions & 21 deletions tests/environment-unit-tests.yml

This file was deleted.

Loading