Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed Mar 14, 2021
1 parent 55f1882 commit b05cd33
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion climetlab/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

# import logging

__version__ = "0.2.9"
__version__ = "0.3.0"


# if ipython_active:
Expand Down
9 changes: 9 additions & 0 deletions tests/test_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ def test_dataset_2():
dataset.sample_bufr_data()


def test_era5_temperature():
if not os.path.exists(os.path.expanduser("~/.cdsapirc")):
pytest.skip("No ~/.cdsapirc")

ds = cml.load_dataset(
"era5-temperature", period=(1979, 1982), domain="France", time=12
)


def test_datetime():
if not os.path.exists(os.path.expanduser("~/.cdsapirc")):
pytest.skip("No ~/.cdsapirc")
Expand Down

0 comments on commit b05cd33

Please sign in to comment.