Version 5.17 Updates

Version 5.17.4

  • Installed as part of ecmwf-toolbox/2022.08.3.0 (Atos HPC, tag ‘new’)

  • At ECMWF:

    • Installed 2022-12-06

    • Built with Magics 4.12.1

    • Built with ecCodes 2.27.1

    • Built with ODC version 1.4.6

Fixes:

  • Cross Section View: fixed issue where dropping a MARS Retrieval icon into the view produced an incorrect plot

  • Desktop: fixed issue where the icon search could crash

Version 5.17.3

  • Installed as part of ecmwf-toolbox/2022.08.2.0 (Atos HPC, tag ‘new’)

  • At ECMWF:

    • Installed 2022-11-04

    • Built with Magics 4.12.1

    • Built with ecCodes 2.27.0

    • Built with ODC version 1.4.6

Fixes:

  • MARS client: updated client to allow retrieval of observations from the RDB

  • GRIB Filter: fixed issue where parameter order=’sorted’ incorrectly sorted by step

  • Bufr Picker: fixed issue where polar_vector output was not working

  • FLEXPART: fixed issue where shortName was wrongly changed from mdc to mdens in the GRIB results

  • Desktop: fixed issue where folder with broken link could be attempted to be opened

Version 5.17.2

  • Installed as part of ecmwf-toolbox/2022.08.1.0 (Atos HPC, tag ‘new’)

  • At ECMWF:

    • Installed 2022-10-19

    • Built with Magics 4.12.1

    • Built with ecCodes 2.27.0

    • Built with ODC version 1.4.6

Fixes:

  • Meteogram module (meteogram()) uses URL to retrieve charts from Bologna by default

  • Meteogram module: fixed issue where the specified time was ignored and the meteogram for time 00UTC was always retrieved

  • FLEXPART: fixed paths to FLEXPART executable and resources at ECMWF

  • Macro: fixed issue in the mask() function that caused an infinite loop if an area that straddled the date line was given

Version 5.17.0

  • Externally released on 2022-08-24

  • Became metview/new at ECMWF on 2022-08-24 (Linux desktops, ecgate, lxc, lxop, Cray HPC)

  • Installed as part of ecmwf-toolbox/2022.08.0.0 (Atos HPC)

  • At ECMWF:

    • Installed 2022-08-24

    • Built with Magics 4.12.1

    • Built with ecCodes 2.27.0

    • Built with ODC version 1.4.6

    • Includes version 1.13.0 of the Python interface

Plotting

mcont() can automatically adjust predefined palettes and user defined colour lists to the actual contour level values with the new contour_shade_colour_list_policy = “dynamic” option. It is also possible to reverse palettes and colour lists for plotting by setting contour_shade_colour_reverse_list to “on”. See the gallery example:

../_images/dynamic_palette.png

Thermo parcel path

The parcel computations have been revised and several new option were added:

  • lifted_condensation_level(): improved speed by using [Bolton1980] instead of an iterative process to compute the \(t_{LCL}\). Works now with ndarrays and Fieldset as input (previously only numbers were accepted).

  • thermo_parcel_path():

    Algorithmic changes:

    • the equivalent potential temperature defining the pseudo-adiabatic path is now computed with formula (39) from [Bolton1980]

    • the LFC (Level of Free Convection) is now determined as the bottom pressure of the positive buoyancy area highest in the atmosphere. This results in improved CIN computation when there are multiple positive buoyancy areas above the LCL. In these situations the CIN was formerly underestimated.

    • the Lifted Index (LI) is now computed and added to the output

    Interface changes:

    • the options became keyword arguments. Previously they were specified as a dict as the last positional argument. The old interface still works for backwards compatibility. E.g.:

      # the new interface
      mv.thermo_parcel_path(prof, mode="surface", stop_at_el=False)
      
      # the old interface
      mv.thermo_parcel_path(prof, {"mode": "surface", "stop_at_el": False})
      
    • The computations can now use the virtual temperature correction, which is enabled by default. See the virtual key in the options argument.

    • The “most_unstable” mode was renamed “mucape”. The old name is still supported but deprecated.

    • The “mean_layer” mode was renamed “ml”. The old name is still supported but deprecated.

    • The “ml” start conditions are determined in a new way. Previously simply the mean values of temperature, dewpoint and pressure in the given layer were used. Now, the temperature is determined from the mean potential temperature, the dewpoint is the mean value in the layer and pressure is the surface pressure.

    • New start modes were added: “m50” and “ml100”. They are the variants of the “ml” mode with a fixed 50 hPa and 100 hPa bottom layer, respectively.

    • The size of the layer in “ml” and “mucape” mode can now be specified via the layer_depth parameter.

    • The default start conditions were changed to mode = “mucape” with layer_depth = 300. E.g.:

      # these calls are now equivalent
      mv.thermo_parcel_path(prof)
      mv.thermo_parcel_path(prof, mode="mucape", layer_depth=300)
      
    • Added new parameters compute_top to control the computations and data extraction above the Equilibrium Level (EL)

    • See the gallery example showcasing some of the new features:

    ../_images/parcel_path_multiple_start_conditions.png

Thermo profile

  • Thermo Bufr: added new parameters to specify location by WMO name, WMO ident and WIGOS Station Identifier. See: thermo_bufr() and thermoview().

  • Improved error message when no BUFR message matching the required location and BUFR data subtype was found in input.

Hovmoller

  • Vertical Hovmoeller: added new parameters use_fixed_surface_pressure and fixed_surface_pressure to use a fixed surface pressure value in the computations. These can be used when the input data is model level and the vertical axis is pressure ( vertical_level_type = “pressure”). See: mhovmoellerview() and mhovmoeller_vertical().

  • Line Hovmoeller: fixed issue when North and South coordinates of lines going from SW to NE were automatically swapped

User interface

  • Colour editor: redesigned interface and added RGB, HSL and greyscale colour sliders

    ../_images/colour_slider.png
  • Desktop: added “Copy filesystem path” action to the context menu of the Breadcrumbs items

  • Contour icon editor: added option to show/hide filter options for palette chooser interface

  • Family icons: fixed issue when could not edit newly created family icons

  • Advanced search: fixed issue when search did not work with time period in Metview versions built with Qt >= 5.8.0

  • Advanced search: fixed issue when results from the last day of time period were excluded

  • Grib Examiner: fixed issue when the value of the mars.expver key was not shown in the Namespace dump

FLEXTRA/FLEXPART

  • flextra_prepare(): added parameter flextra_an_mars_class to control the MARS class of the analysis data retrieved when flextra_prepare_mode is “period”. The possible values are “od” (operational analysis) and “ea” (ERA5).

  • flextra_prepare(): fixed issue when setting flextra_prepare_mode to “period” caused an error

  • flexpart_prepare(): fixed issue when setting flexpart_prepare_mode to “period” caused an error

Macro/Python

  • mean() and sum(): added new parameter dim to restrict computations to a specific dimension of Fieldset data in python, e.g. compute an ensemble mean when multiple steps exist in the data

  • added new function pl_to_pl() to perform interpolation from pressure level GRIB fields onto a set of target pressure levels

  • improved speed and reduced memory usage in many GRIB-related functions

  • added new function static_stability() to compute the static stability. See the gallery example:

    ../_images/static_stability.png
  • added new function q_vector() to compute the Q-vector used in the quasi-geostrophic (QG) theory. See the gallery example:

    ../_images/q_vector.png
  • added new functions smooth_n_point() and smooth_gaussian() to perform spatial smoothing on fieldsets with lat-lon grids. See the gallery example:

    ../_images/gaussian_smoothing.png
  • added new function convolve() to perform spatial 2D convolution on fieldsets with lat-lon grids

  • added new function rms_a() to compute area-weighted root mean square for each field in a fieldset

  • added new function grib_indexes() to return GRIB message information for a Fieldset

  • grib_set(): added new option repack to repack GRIB data. It is required to use when setting some ecCodes keys (e.g. packingType) involving properties of the packing algorithm.

  • geostrophic_wind(): added new option coriolis to use a constant Coriolis parameter value

  • mvl_ml2hPa(): allowed to specify the target pressure levels as an ndarray

  • direction(): fixed issue when the ecCodes paramId in the resulting field was not set to 131 (=wind direction)

  • fixed issue when using fields with mixed expver caused Metview to hang in cross section, average cross section, vertical profile and Hovmoeller computations and plotting

New Gallery Examples

../_images/absolute_vorticity.png ../_images/thickness.png ../_images/eddy_kinetic_energy.png ../_images/categorical_wind_direction.png ../_images/high_vegetation_type.png ../_images/low_vegetation_type.png ../_images/fc_steps.png ../_images/fc_steps_shared_title.png ../_images/fc_steps_shared_legend_title.png ../_images/cross_section_pl_tadv.png ../_images/line_hovm_era5_t850.png ../_images/line_hovm_with_map_era5.png ../_images/line_hovm_with_orog_era5.png ../_images/tephigram_fc_and_obs.png ../_images/parcel_path_from_bufr.png ../_images/skewt_parcel_path_with_hodograph.png