pip install xover
conda install conda-forge::xover
On Windows, you need to use pip, not conda!
The current version of xover does not contain code for running an initial crossover analysis, but rather for doing the inversion to find a set of suggested adjustments for a given network of crossovers, using the furthest-first approach (new for GLODAP v3; earlier versions used a different method).
The main function needed is xover.inversion.furthest_first; suggested import as follows:
import xover.inversion as xinv
ff = xinv.furthest_first(xovers, **kwargs)Consult the function docstring for more information about the format of xovers and other possible kwargs, plus the contents of the output ff.
Version 1 of xover contained some tools for performing the initial crossover analysis in MATLAB. The code can be found in the matlab branch, on the v1.0 release and/or on Zenodo with the DOI 10.5281/zenodo.2600229.