Skip to content

Commit b216637

Browse files
committed
release 0.4.0
1 parent 339e1a5 commit b216637

File tree

4 files changed

+33
-10
lines changed

4 files changed

+33
-10
lines changed

README.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ xarray_ extension for setting and running simulations using the
99
xarray's ``Dataset`` structure. It is designed for fast, interactive
1010
and exploratory modeling.
1111

12+
xarray-simlab is well integrated with other libraries of the PyData
13+
ecosystem such as `dask <https://docs.dask.org>`_ and `zarr
14+
<https://zarr.readthedocs.io>`_.
15+
1216
.. _xarray: http://xarray.pydata.org
1317
.. |Build Status| image:: https://github.com/benbovy/xarray-simlab/workflows/test/badge.svg?branch=master
1418
:target: https://github.com/benbovy/xarray-simlab/actions?workflow=test
@@ -143,7 +147,6 @@ dask_ libraries. Their licenses are reproduced in the "licenses"
143147
directory.
144148

145149
.. _pandas: http://pandas.pydata.org/
146-
.. _dask: http://dask.pydata.org
147150

148151
Acknowledgment
149152
--------------

doc/about.rst

+7-5
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,13 @@ xarray-simlab provides a framework to easily build custom
77
computational models from a collection of modular components, called
88
processes.
99

10-
It also provides an extension to `xarray <https://xarray.pydata.org>`_
11-
(i.e., labeled arrays and datasets), that connects it to a wide range
12-
of libraries of the SciPy / PyData stack for processing, analysis,
13-
visualization, etc.
10+
It also provides an extension to `xarray <https://xarray.pydata.org>`_ (i.e.,
11+
labeled arrays and datasets), that connects it to a wide range of Python
12+
libraries for processing, analysis, visualization, etc.
13+
14+
xarray-simlab is well integrated with other libraries of the PyData
15+
ecosystem such as `dask <https://docs.dask.org>`_ and `zarr
16+
<https://zarr.readthedocs.io>`_.
1417

1518
In a nutshell
1619
-------------
@@ -161,7 +164,6 @@ great sources of inspiration for this project.
161164
processes. In this project we actually borrow some code from dask
162165
for resolving process dependencies and for model visualization.
163166

164-
.. _dask: https://github.com/dask/dask
165167
.. _luigi: https://github.com/spotify/luigi
166168
.. _django: https://github.com/django/django
167169
.. _param: https://github.com/ioam/param

doc/conf.py

+12
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,18 @@
3939
print(f"xarray: {xarray.__version__}, {xarray.__file__}")
4040
except ImportError:
4141
print("no xarray")
42+
try:
43+
import dask
44+
45+
print(f"dask: {dask.__version__}, {dask.__file__}")
46+
except ImportError:
47+
print("no dask")
48+
try:
49+
import zarr
50+
51+
print(f"zarr: {zarr.__version__}, {zarr.__file__}")
52+
except ImportError:
53+
print("no zarr")
4254

4355
import xsimlab
4456

doc/whats_new.rst

+10-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,16 @@
33
Release Notes
44
=============
55

6-
v0.4.0 (Unreleased)
7-
-------------------
6+
v0.4.0 (7 April 2020)
7+
---------------------
8+
9+
This is a big release which includes many exciting new features built on top of
10+
great Python libraries. It is now possible to set default, validate or convert
11+
model input values just like regular attributes in `attrs
12+
<https://www.attrs.org>`_, save model input/outputs with `zarr
13+
<https://zarr.readthedocs.io>`_, run model(s) in parallel using `dask
14+
<https://docs.dask.org>`_, monitor model runs with a `tqdm
15+
<https://tqdm.github.io/>`_ progress bar, and much more!
816

917
Breaking changes
1018
~~~~~~~~~~~~~~~~
@@ -161,8 +169,6 @@ Also, Python 3.4 support has been dropped. It may still work with that
161169
version but it is not actively tested anymore and it is not packaged
162170
with conda.
163171

164-
.. _attrs: http://www.attrs.org
165-
166172
Breaking changes
167173
~~~~~~~~~~~~~~~~
168174

0 commit comments

Comments
 (0)