Skip to content

Commit

Permalink
Add earthkit-geo
Browse files Browse the repository at this point in the history
  • Loading branch information
sandorkertesz committed Apr 26, 2024
1 parent 623c580 commit 0c79441
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 3 deletions.
3 changes: 3 additions & 0 deletions docs/components_overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ This is the summary of the available ``earthkit`` components.
- Format-agnostic Python interface for geospatial data with a focus on meteorology and climate science.
- .. image:: https://raw.githubusercontent.com/ecmwf/earthkit-data/main/docs/_static/earthkit-data.png
:width: 120px
* - :xref:`earthkit-geo`
- Geospatial computations
-
* - :xref:`earthkit-maps`
- Geospatial visualisation tools and templates.
- .. image:: https://raw.githubusercontent.com/ecmwf/earthkit-maps/develop/docs/_static/earthkit-maps.png
Expand Down
4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@
"earthkit-data",
"https://earthkit-data.readthedocs.io",
),
"earthkit-geo": (
"earthkit-geo",
"https://earthkit-geo.readthedocs.io",
),
"earthkit-maps": (
"earthkit-maps",
"https://earthkit-maps.readthedocs.io",
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ The interface of :ref:`earthkit components <components>` is designed to be high-

components_overview
earthkit-data <https://earthkit-data.readthedocs.io>
earthkit-geo <https://earthkit-geo.readthedocs.io>
earthkit-maps <https://earthkit-maps.readthedocs.io>
earthkit-meteo <https://earthkit-meteo.readthedocs.io>
earthkit-plots <https://pypi.org/project/earthkit-plots>
Expand Down
3 changes: 2 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ dependencies:
- geos
- pip:
- earthkit-maps>=0.0.18
- earthkit-meteo>=0.0.1
- earthkit-geo>=0.1.0
- earthkit-meteo>=0.1.0
- earthkit-plots>=0.0.6
- earthkit-regrid>=0.3.0
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ python-requires = >=3.8
packages = find_namespace:
install_requires =
earthkit-data[all]>=0.7.0
earthkit-geo>=0.1.0
earthkit-maps>=0.0.18
earthkit-meteo>=0.0.1
earthkit-meteo>=0.1.0
earthkit-plots>=0.0.6
earthkit-regrid>=0.3.0

Expand Down
3 changes: 2 additions & 1 deletion tests/environment-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ dependencies:
- geos
- pip:
- earthkit-data[all]>=0.7.0
- earthkit-geo>=0.1.0
- earthkit-maps>=0.0.18
- earthkit-meteo>=0.0.1
- earthkit-meteo>=0.1.0
- earthkit-plots>=0.0.6
- earthkit-regrid>=0.3.0
12 changes: 12 additions & 0 deletions tests/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@ def test_earthkit_data_version_2():
assert VERSION_RX.match(data.__version__) is not None


def test_earthkit_geo_version_1():
import earthkit.geo # noqa

assert VERSION_RX.match(earthkit.geo.__version__) is not None


def test_earthkit_geo_version_2():
from earthkit import geo # noqa

assert VERSION_RX.match(geo.__version__) is not None


def test_earthkit_maps_version_1():
import earthkit.maps # noqa

Expand Down

0 comments on commit 0c79441

Please sign in to comment.