-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from ecmwf/develop
Merge develop into main for release 0.2.0
- Loading branch information
Showing
27 changed files
with
452 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,18 +24,6 @@ defaults: | |
shell: bash -l {0} | ||
|
||
jobs: | ||
pre-commit: | ||
if: ${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha || github.ref }} | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.x | ||
- uses: pre-commit/[email protected] | ||
|
||
documentation: | ||
if: ${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }} | ||
runs-on: ubuntu-latest | ||
|
@@ -48,7 +36,7 @@ jobs: | |
with: | ||
ref: ${{ github.event.pull_request.head.sha || github.ref }} | ||
- name: Install Conda environment with Micromamba | ||
uses: mamba-org/provision-with-micromamba@v12 | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
environment-file: tests/environment-unit-tests.yml | ||
environment-name: DEVELOP | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Code Quality checks for PRs | ||
|
||
on: | ||
push: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
|
||
jobs: | ||
quality: | ||
uses: ecmwf-actions/reusable-workflows/.github/workflows/qa-precommit-run.yml@v2 | ||
with: | ||
skip-hooks: "no-commit-to-branch" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ Release notes | |
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
version_0.2_updates | ||
version_0.1_updates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Version 0.2 Updates | ||
///////////////////////// | ||
|
||
|
||
Version 0.2.0 | ||
=============== | ||
|
||
New features | ||
+++++++++++++++ | ||
|
||
- Added the ``eps`` and ``out`` keywords arguments to control zero humidity in the following methods (:pr:`23`): | ||
|
||
- :py:meth:`dewpoint_from_specific_humidity <meteo.thermo.array.dewpoint_from_specific_humidity>` | ||
- :py:meth:`dewpoint_from_relative_humidity <meteo.thermo.array.dewpoint_from_relative_humidity>` | ||
- :py:meth:`temperature_from_saturation_vapour_pressure <meteo.thermo.array.temperature_from_saturation_vapour_pressure>` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ sphinx-rtd-theme | |
nbsphinx | ||
setuptools | ||
sphinx-autoapi | ||
sphinx-issues |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,56 @@ | ||
[build-system] | ||
requires = ["setuptools>=61", "setuptools-scm>=8.0"] | ||
requires = [ "setuptools>=61", "setuptools-scm>=8" ] | ||
|
||
[project] | ||
name = "earthkit-meteo" | ||
description = "Meteorological computations" | ||
readme = "README.md" | ||
license = { text = "Apache License Version 2.0" } | ||
authors = [ | ||
{name = "European Centre for Medium-Range Weather Forecasts (ECMWF)", email = "[email protected]"} | ||
{ name = "European Centre for Medium-Range Weather Forecasts (ECMWF)", email = "[email protected]" }, | ||
] | ||
requires-python = ">=3.8" | ||
|
||
classifiers = [ | ||
"Development Status :: 2 - Pre-Alpha", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python :: 3", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Operating System :: OS Independent" | ||
] | ||
dynamic = [ "version" ] | ||
dependencies = [ | ||
"numpy" | ||
"numpy", | ||
] | ||
description = "Meteorological computations" | ||
dynamic = ["version"] | ||
license = {text = "Apache License Version 2.0"} | ||
name = "earthkit-meteo" | ||
readme = "README.md" | ||
requires-python = ">= 3.8" | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
optional-dependencies.test = [ | ||
"pytest", | ||
"pytest-cov" | ||
"pytest-cov", | ||
] | ||
urls.Documentation = "https://earthkit-meteo.readthedocs.io/" | ||
urls.Homepage = "https://github.com/ecmwf/earthkit-meteo/" | ||
urls.Issues = "https://github.com/ecmwf/earthkit-meteo.issues" | ||
urls.Repository = "https://github.com/ecmwf/earthkit-meteo/" | ||
|
||
[project.urls] | ||
Documentation = "https://earthkit-meteo.readthedocs.io/" | ||
Homepage = "https://github.com/ecmwf/earthkit-meteo/" | ||
Issues = "https://github.com/ecmwf/earthkit-meteo.issues" | ||
Repository = "https://github.com/ecmwf/earthkit-meteo/" | ||
[tool.setuptools.packages.find] | ||
include = [ "earthkit.meteo" ] | ||
where = [ "src/" ] | ||
|
||
[tool.coverage.run] | ||
branch = "true" | ||
[tool.setuptools_scm] | ||
version_file = "src/earthkit/meteo/_version.py" | ||
|
||
[tool.isort] | ||
profile = "black" | ||
|
||
[tool.coverage.run] | ||
branch = "true" | ||
|
||
[tool.pydocstyle] | ||
add_ignore = ["D1", "D200", "D205", "D400", "D401"] | ||
add_ignore = [ "D1", "D200", "D205", "D400", "D401" ] | ||
convention = "numpy" | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["earthkit.meteo"] | ||
where = ["src/"] | ||
|
||
[tool.setuptools_scm] | ||
version_file = "src/earthkit/meteo/_version.py" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.