Skip to content

v0.7.0

Compare
Choose a tag to compare
@stefraynaud stefraynaud released this 17 Jul 11:30
· 4 commits to master since this release

New features

  • Add issue and pull request templates.
  • Add the xoa.filter.smooth function [#76].
  • Improved the default sig and std parameter values for filter windows that accept them [#76].
  • Add the xoa.plot.plot_minimap and xoa.plot.plot_double_minimap functions to display the geographic situation of a set of coordinates [#73].
  • Add support for the min_extent keyword to xoa.geo.get_extent [#73`]
  • Add dask support to xoa.sigma sigma to depth converters [#72].
  • Add the xoa.num module that contains low level numeric utilities.
  • Add the xoa.thermdyn.mixed_layer_depth function to compute
    the mixed layer depth with three different methods [#67, #75].
  • Add the xoa.thermdyn.is_temp, xoa.thermdyn.is_sal and xoa.thermdyn.is_dens functions to infer if an array of temperature, salinity or density type, and added the related xoa.thermdyn.get_temp, xoa.thermdyn.get_sal and xoa.thermdyn.get_dens function to search in datasets[#67, #79].
  • Add kernel_kwargs keyword to xoa.filter.convolve to better control the kernel generation by xoa.filter.generate_kernel [#64].
  • Add inference of parameters for some window functions, like the gaussian shape, in xoa.filter.get_window_func [#64].
  • Add xoa.regrid.isoslice based on xoa.interp.isoslice core function [#63].

Breaking changes

  • xoa.filter.get_window_func accepts now only one positional argument and all other arguments must be named.

Bug fixes

  • Fix xoa.cfgm.is_boolstr which now supports the new configobj.
  • Fix broadcasting xoa.interp 1d interpolation routines [#69].
  • Fix xoa.sigma.get_sigma_terms so that it works in case of multiple levels coordinates [#60].
  • Fix xoa.grid.to_rect that now infers coordinates and can emit a warning or raise an error.

Documentation

  • Add an example of xoa.plot.plot_double_minimap to sphx_glr_examples_plot_mercator_argo.py and sphx_glr_examples_plot_hycom_gdp.py examples [#73].
  • Add an example of xoa.thermdyn.mixed_layer_depth to sphx_glr_examples_plot_croco_section.py example [#67].