File: installing.rst

package info (click to toggle)
xarray-safe-s1 2025.06.02-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 320 kB
  • sloc: python: 2,093; makefile: 13; sh: 12
file content (48 lines) | stat: -rw-r--r-- 1,044 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
************
Installation
************


conda install
#############

Install xarray-safe-s1

.. code-block::

    conda create -n safe_s1
    conda activate safe_s1
    conda install -c conda-forge xarray-safe-s1


pip install
###########

Install xarray-safe-s1

.. code-block::

    conda create -n safe_s1
    conda activate safe_s1
    pip install git+https://github.com/umr-lops/xarray-safe-s1.git


Developement  installation
..........................

.. code-block::

    git clone https://github.com/umr-lops/xarray-safe-s1
    cd xsar
    # this is needed to register git filters
    git config --local include.path ../.gitconfig
    pip install -e .
    pip install -r requirements.txt

Pytest configuration
....................

Pytest uses a default configuration file (`config.yml`) in which we can found products paths to test.
This configuration can be superseded by adding a local config file on the home directory :
(`~/xarray-safe-s1/localconfig.yml`).
In this file, testing files can be listed in the var `product_paths`.