What’s new#

2026.2.0#

New features#

  • Add the within parameter to xoa.cf search methods.

  • Add the rename_args argument to formatting routing of xoa.meta to retrieve renaming information [PR102].

  • Add the xoa.dyn.get_sea_level() function to get either SSH, ADT, SLA or MDT in a dataset [PR102].

  • Allow passing a list of “meta_name” to xoa.cf.MetaSpecs.get() for enlarging a search [PR102].

  • The xoa.data_samples module now use Pooch to manage sample files [PR111].

  • Add the multi parameter to xoa.misc.Choices to allow multiple choices [PR111].

Deprecations#

  • The xoa.cf module is deprecated. Use xoa.meta instead. All references to “cf” must be converted to “meta” in modules, functions, classes, methods and accessors. A backward compatibility layer has been added [PR111].

  • The xoa.cf_configs module is deprecated in favour of module xoa.meta.configs [PR111].

  • Pure core regridding 1D function of the xoa.core.interp module are moved to xoa.core.regrid module.

Bug fixes#

  • Fix xoa.coords.get_time() that was returning None.

  • Fix xoa.interp.linear1d() extrapolation [PR107]

  • Fix xoa.grid.to_rect() warnings.

  • Fix xoa.meta.MetaSpecs.get_dim_types().

  • Fix test_accessors.py to use meta accessor instead of deprecated xmeta and meta_specs property instead of metaspecs.

  • Fix examples to use xoa.get_meta_config_file() instead of deprecated get_cf_config_file.

Documentation#

  • Rename “Using the modules” section to “In-depth guides”.

  • Added in the in-depth guide to metadata mentions of xoa.coords, xoa.dyn and xoa.thermdyn helper function to access coordinates and physical variables like lon or temp.

  • Added in-depth guides about sigma-like coordinates, grids and regridding, and filtering.

0.8.0 (2025-05-12)#

New features#

  • Add modules xoa.data_samples and xoa.cf_configs.

  • xoa.cf.CFSpecs, xoa.cf.register_cf_specs(), xoa.cf.get_cf_specs() and xoa.cf.set_cf_specs now accepts short names of internal CF config like “croco” or “argo”.

  • Add absolute option for salinity and the ref_dens option to enable using different formulae for density to xoa.plot.plot_ts().

  • Add the exclude_names option to xoa.cf configurations to ignore data array names.

  • Call xoa.cf.infer_cf_specs() from xoa.cf.get_cf_specs() when a data array or dataset is passed [PR96].

  • Add the drop_na and maxgap parameters to the xoa.regrid.regrid1d() function to fill gaps [PR92].

  • Add the xoa.filter.tidal_filter() function to apply a tidal filter to a time series [PR87].

Breaking changes#

  • xoa.cf.CFSpecs() tests the generic pivot name last, not first.

  • The xoa.cf.CFSpecs.decode() method no longer sets the “cf_specs” encoding [PR96].

  • The default name_format option of the :cfsec:`sglocator` CF specifications option is set to False to prevent parsing the grid location in names [PR96].

  • xoa.filter.tidal_filter() raises an XoaError instead of a simple warning when the time step is greater than an hour.

  • xoa.regrid.regrid1d(): extrapolation from input data instead of output data [PR91].

Deprecations#

Bug fixes#

Documentation#

0.7.1 (2023-07-21)#

New features#

Bug fixes#

Documentation#

  • Add a link to the github repository.

0.7.0 (2023-07-17)#

New features#

Breaking changes#

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

Bug fixes#

Documentation#

0.6.1 (2022-02-24)#

New features#

Breaking changes#

  • A single Nan now contaminates the data over the kernel emprise in xoa.filter.convolve() since na_thres is set to zero by default [PR40].

  • xoa now requires the gsw package.

Bug fixes#

Documentation#

0.6.0 (2022-02-24)#

Empty with non existing tag.

0.5.1 (2021-10-13)#

New features#

  • Switch the CI workflow to github [PR36].

Bug fixes#

  • Fix xoa.cf.CFSpecs.to_loc() that was failing with dataset [PR23].

0.5.0 (2021-10-12)#

New features#

Bug fixes#

  • Fix xoa.cf.SGLocator.parse_attr parsing since regular expressions were not matching full strings.

  • Fix xoa.regrid.regrid1d() with “cellave” method [PR34].

  • Fix xoa.cf.CFSpecs.get_location_mapping() for coordinates that have no axis attribute specifications [PR34].

  • Fix xoa.grid.dz2depth() that was not working properly with 4D+ arrays [PR34].

Breaking changes#

  • The default name_format of xoa.cf.SGLocator no longer contains the location pattern {loc} to prevent unwanted location catching.

  • The loc argument of xoa.sigma.get_sigma_terms() is renamed vloc [PR34].

0.4.0 (2021-09-02)#

New features#

  • xoa.cf.CFSpecs.decode() better supports staggered grids.

  • xoa.cf.CFSpecs.search_dim() supports generic names in addition to dimension types as second argument.

  • Add the xoa.cf.CFSpecs.match_dim() method to check if a given dimension name is known.

  • Add the reloc() and to_loc() methods to xoa.cf.CFSpecs for quickly changing the staggered grid indicators in names.

  • Add the xoa.cf.SGLocator.add_loc() method to quickly change the location markers in a data array.

Breaking changes#

  • xoa.coords.get_dims() is renamed to xoa.coords.get_cf_dims().

  • The name argument of xoa.cf.CFSpecs methods is renamed to cf_name, and the dim_type(s) argument is renamed to cf_arg(s).

  • xoa.cf.SGLocator.get_location() is renamed to get_loc_from_da() and the get_loc() is added.

Bug fixes#

Documentation#

v0.3.1 (2021-05-21)#

New features#

Breaking changes#

  • Rename the cf and sigma keyword of xoa.register_accessors() respectively to xcf and decode_sigma to match the default name of accessors.

  • Rename the sigma accessor to decode_sigma.

Bug fixes#

  • Fix the access to the xoa executable on windows.

  • Fix the minimal version for xarray [PR23].

Documentation#

  • Add a “How to start” section.

  • Accessors are now documented separately with sphinx-autosummary-accessors [PR20].

  • The Hycom-GDP example now uses xoa.plot.plot_flow().

v0.3.0 (2021-05-12)#

New features#

Bug fixes#

  • Fix u and v CF config [PR6]

YYYY.M.MICRO#

New features#

Breaking changes#

Deprecations#

Bug fixes#

Documentation#