Installation
xsar relies on gdal and other shared libs, that are not provided by pip. So insallation in a conda environement is recommended.
conda install
conda create -n xsar
conda activate xsar
conda install -c conda-forge xsar
recommended packages
Default installation is minimal, and should be used in non-interactive environment.
Xsar can be used in jupyter, with holoviews and geoviews. To install aditional dependancies, run:
pip install -r https://raw.githubusercontent.com/umr-lops/xsar/develop/requirements.txt
pip install git+https://github.com/umr-lops/xsarsea.git
Update xsar to the latest version
xsar conda package can be quite old:
To be up to date with the developpement team, it’s recommended to update the installation using pip:
pip install git+https://github.com/umr-lops/xsar.git
Developement installation
git clone https://github.com/umr-lops/xsar
cd xsar
# this is needed to register git filters
git config --local include.path ../.gitconfig
pip install -e .
pip install -r requirements.txt