Metview

Latest version: v1.16.0

Safety actively analyzes 629564 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

1.11.0

------------------
- make fieldset parameter selector operator work in pure Python Fieldset
- make vector data extraction operator work for 100m and 200m wind
- select(): do not try to interpret shortName values as vector field names
- select(): do not apply sorting on results
- Fieldsets: add sort method based on indexed metadata
- select(): fix issue where cannot filter by date when data date has no year component (e.g. monthly climatologies)
- Requests: allow True/False as argument values when creating Requests

1.10.5

------------------
- fix for automatic indexing of dataset

1.10.0

------------------
- experimental pure Python implementation of Fieldset - for internal testing at the moment

1.9.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

1.8.1

------------------
- 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

1.8.0

------------------
- new functions/methods on Fieldset to give an overview of contents:
- fs.describe()
- fs.describe("tp")
- fs.ls()
- see Jupyter notebook example at https://metview.readthedocs.io/en/latest/notebook_gallery.html
- new GRIB filtering function, select(), offers different filtering options from read() and is faster
- see Jupyter notebook example at https://metview.readthedocs.io/en/latest/notebook_gallery.html
- new shorthand way to select parameters from Fieldsets, e.g.
- g = fs["t"]
- g = fs["t500"]
- g = fs["t500hPa"]
- 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"])
- e.g. 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)"

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.