Skip to content

Commit

Permalink
Stage plotmapdemo and Getting_started_with_plotmap (html and ipynb)
Browse files Browse the repository at this point in the history
  • Loading branch information
senesis committed Mar 18, 2024
1 parent f6f83d3 commit 2a67702
Show file tree
Hide file tree
Showing 6 changed files with 20,707 additions and 3 deletions.
14 changes: 12 additions & 2 deletions doc/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,23 @@ Changes, newest first:
- V3.x:

- Add operator plotmap, a replacement for operator plot`, albeit only for maps. It is based on Matplotlib, Cartopy and GeoCat Viz; see :doc:`scripts/plotmap`

- Function cshow now calls diplay(Image()) if called from a notebook. This applies to default function cshow (the one in climaf.api)
- Function ds() has a new argument 'check' for light to full check of datafiles associated with the dataset. See :py:func:`~climaf.classes.fds`
- Various fixes for running at IDRIS

- Fixes errors in : cdu(), iplot_members()

- Internals :

- When calling an external script, operator arguments values are dumped in json format; so, called scripts must decode json format when they accept complex arguments; and must also interpret strings 'true' and 'false' as logical values
- Add value 'show' to operator's output format possibe values; in that case, CliMAF doesn't handle any output; the value is forxarded to the script
- a number of data samples have been added in examples/data : Nemo, Aladin, (uas, vas)

- test suite on GitHub was updated for dependencies (ipython, pyproj, geocat-viz) and for cache and miniconda versions (v4)
- add function period.build_date_rexep()
- dataset's method glob() has new argument ensure_period (default is True)
- fix concurrency issue in makedirs(tmpdir)
- create tests/reference_data/test_data_plot/idris_20230611_V3.0_IPSL2

- V3.0:

- Compatibility break:
Expand Down
2 changes: 1 addition & 1 deletion doc/scripts/plotmap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Plot a map showing any combination of various fields : one color-shaded, one by

``Plotmap`` intends to replace operator ``plot``, albeit only for maps. Hence, its interface is quite compatible. Il also includes a novel interface.

It is implemented using module ``scripts/plotmap.py``, based on https://matplotlib.org/, https://scitools.org.uk/cartopy/ , and https://geocat-viz.readthedocs.io
It is implemented using module ``scripts/plotmap.py``, based on `Matplotlib <https://matplotlib.org/>`_ , `Cartopy <https://scitools.org.uk/cartopy/>`_ , and `GeoCat Viz >https://geocat-viz.readthedocs.io>`_

A :download:`dedicated notebook (Getting started with plotmap) <../../examples/Getting-started-with-plotmap.html>` allows to get started with its use. :download:`Another notebook (plotmapdemo) <../../examples/plotmapdemo.html>` includes more examples for each functionnality.

Expand Down
Loading

0 comments on commit 2a67702

Please sign in to comment.