From 1fdaa55ebd6f9560b1936acfbc9db8c195f507cc Mon Sep 17 00:00:00 2001 From: Paul Gierz Date: Tue, 16 Jul 2024 08:45:57 +0200 Subject: [PATCH 1/4] Update README.rst --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 26e0ae3..f1e4bb2 100644 --- a/README.rst +++ b/README.rst @@ -2,8 +2,8 @@ ================================================== ``pymorize`` is a Python package to simplify the standardization of output into the Climate Model Output Rewriter (CMOR) standard. -.. image:: https://github.com/pgierz/pymorize/actions/workflows/CI-test.yaml/badge.svg - :target: https://github.com/pgierz/pymorize/actions/workflows/CI-test.yaml +.. image:: https://github.com/esm-tools/pymorize/actions/workflows/CI-test.yaml/badge.svg + :target: https://github.com/esm-tools/pymorize/actions/workflows/CI-test.yaml .. image:: https://img.shields.io/pypi/v/pymorize.svg :target: https://pypi.python.org/pypi/pymorize :alt: Latest PyPI version From ce229c410da0d1794b1f27b552078da62466d389 Mon Sep 17 00:00:00 2001 From: Paul Gierz Date: Tue, 16 Jul 2024 11:36:16 +0200 Subject: [PATCH 2/4] Update README.rst --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index f1e4bb2..64f214c 100644 --- a/README.rst +++ b/README.rst @@ -38,4 +38,4 @@ Licence Authors ------- -`pymorize` was written by `Paul Gierz `_. +``pymorize`` was written by `Paul Gierz `_, `Pavan Siligam `_. From 627e5375eb3069f8563ec88960e8dcf97a5b2e25 Mon Sep 17 00:00:00 2001 From: Paul Gierz Date: Tue, 16 Jul 2024 11:28:08 +0200 Subject: [PATCH 3/4] wip: removes dummy sample --- tests/test_sample.py | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 tests/test_sample.py diff --git a/tests/test_sample.py b/tests/test_sample.py deleted file mode 100644 index 2df4e80..0000000 --- a/tests/test_sample.py +++ /dev/null @@ -1,16 +0,0 @@ -# Sample Test passing with nose and pytest -import os - -import pytest - -from pymorize.generic import CMORizer - - -@pytest.fixture -def fesom_sample(): - return os.path.join(os.path.dirname(__file__), "fesom_sample.yaml") - - -def test_create_cmorizer_from_yaml(fesom_sample): - with open(fesom_sample, "r") as f: - cmor_engine = CMORizer.from_yaml(f) From e5b9af9965947f7312b53618b5ea3fb85d42af10 Mon Sep 17 00:00:00 2001 From: Paul Gierz Date: Tue, 16 Jul 2024 11:49:57 +0200 Subject: [PATCH 4/4] fix: import error --- src/pymorize/generic/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pymorize/generic/__init__.py b/src/pymorize/generic/__init__.py index 7b54dca..3fa21cc 100644 --- a/src/pymorize/generic/__init__.py +++ b/src/pymorize/generic/__init__.py @@ -1,3 +1,4 @@ +from datetime import datetime from pathlib import Path import xarray as xr