Version 1.9.0
Released on github and pypi (pip install metview
). Installed at ECMWF as part of metview/5.14.0
- the plot functions now automatically plot inline if running inside a Jupyter notebook
- it is no longer necessary to call setoutput('jupyter')
- call setoutput('screen') to force the interactive plot window to appear
- inline plots in Jupyter notebooks will be automatically trimmed of surrounding whitespace if pillow is installed
- new functions to build popup dialogs and read in user input. Available via the newly added ui module.
- ui.dialog()
- ui.any()
- ui.colour()
- ui.icon()
- ui.option_menu()
- ui.slider()
- ui.toggle()
- added high-level plotting functions to be used with Datasets or in Jupyter notebooks
- plot_maps()
- plot_diff_maps()
- plot_xs()
- plot_rmse()
- new object Track to represent a storm track
- new function make_geoview() to generate a geoview object with predefined settings
- new interface for Datasets
- a Dataset represents a collection of data files (GRIB and CSV) and a set of predefined styles to visualise the data. Ideal for training courses or case studies.
- see Jupyter notebook example at https://metview.readthedocs.io/en/latest/notebook_gallery.html
- added new keyword argument called check_local to gallery.load_dataset(). If it is True and the data file exists locally it will not be downloaded.
- fixed issue when describe() crashed when called with a paramId
Version 1.8.1
Released on github and pypi (pip install metview
). Installed at ECMWF as part of metview/5.13.2
- fixed case where map_area_gallery() crashed
- fixed case where map_style_gallery() crashed
- fixed issue where plot_maps() could not plot wind data
- fixed issue where a style could not be updated when verb argument is specified
Version 1.8.0
Released on github and pypi (pip install metview
). Installed at ECMWF as part of metview/5.13.0
- new functions/methods on Fieldset to give an overview of contents:
- new GRIB filtering function,
select()
, offers different filtering options fromread()
and is faster - the Fieldset constructor can now take a list of paths to GRIB files or a wildcard, e.g.
a = mv.Fieldset(path=["/path1/to/data1.grib", "relpath/data2.grib"])
a = mv.Fieldset(path="data/*.grib")
- the result of a call to mcont() etc can now be modified, e.g.
c = mv.mcont() ; c["contour_line_colour"] = "green" ; mv.plot(data, c)
gv.update({"MAP_COASTLINE_land_SHADE_COLOUR": "green"}, sub="COASTlines")
- improved the output of
print(Fieldset)
:"Fieldset (6 fields)"
Version 1.7.2
Released on github and pypi (pip install metview
). Installed at ECMWF as part of metview/5.12.0
- documentation now available on readthedocs!
- improvements in plotting into Jupyter notebooks so that the plot() command works in a loop or an 'if' statement
- new parameter when calling setoutput to force the plot() command to return an Image rather than a widget - this allows plots to be embedded in the notebook when you save it, e.g.
Code Block mv.setoutput('jupyter', plot_widget=False)
- when built with Metview 5.12, you can add a new parameter to setoutput() to scale the fonts, e.g.
Code Block mv.setoutput('jupyter', output_width=800, output_font_scale=1.5)
Version 1.7.1
Released on github and pypi (pip install metview
). Installed at ECMWF as part of metview/5.11.1
- added 'play' button to the animation widget in Jupyter using
mv.plot(...., animate=True)
Version 1.7.0
Released on github and pypi (pip install metview
). Installed at ECMWF as part of metview/5.11.0
- added
animate=True
argument toplot()
command for animated plots in Jupyter notebooks - allowed cfgrib backend keyword arguments to be passed to Fieldset.to_dataset(), e.g.
my_fieldset.to_dataset(squeeze=False, read_keys=["experimentVersionNumber"])
- Fieldset out-of-range indexing now raises an
IndexError
- Fieldset
merge()
function now allows a single Fieldset as argument
The animation control provides a simple slider to control which step of an animation is displayed:
Version 1.6.0
Released on github and pypi (pip install metview
). Installed at ECMWF as part of metview/5.10.2
- added new function download_gallery_data() to download Gallery example data files
- added write(filename) method for classes Fieldset, Geopoints, GeopointSet, Bufr and NetCDF
- added ability to construct a Fieldset from a list of Fieldsets, e.g. Fieldset([f1, f2, f3])
- added metzoom() function (for a future development)
- added png driver keyword arguments to setoutput('jupyter') to control output size in notebooks, e.g.
mv.setoutput('jupyter', output_width=1200)
- added metview_python member to result of version_info() function
Version 1.5.1
- just a version bump to help install to PyPi
...
Released on ECMWF desktops and ecgate on 2018-06-08.
Task
- [MPY-144] - Support passing of geopointset between Macro and Python
- [MPY-150] - Add ability to export ODB table as a Pandas Dataframe
- [MPY-151] - Simplify data classes through multiple inheritance
- [MPY-152] - Allow access to individual geopoints
- [MPY-154] - Implement aliases for 'class' as MARS parameter
- [MPY-155] - Improve error message if correct version of Metview not found
...