Pytroll/SatPy

Summary

Installation of the v4.1 SPS toolset of Ernst Lobsiger. For the old v3 versions see here.
Don't mix v3 and v4 scripts!

Some alternative scripts are described here.


Installation original SPS toolset

Install Conda Linux

Note: This is a quick overview. For full description on how/why see v3.0: EMCtools.documents/Satpy_for_EUMETCast_HOWTO_V30.txt.
For the relevant part see here.

Goto: miniconda and download:
Latest Miniconda3 Linux 64-bit
Check download with SHA256-hash:
sha256sum Miniconda3-latest-Linux-x86_64.sh

Now run the instatller to do the actual installation:

  • sh Miniconda3-latest-Linux-x86_64.sh Add to .bashrc:
    # >>> conda initialize >>>
    # !! Contents within this block are managed by 'conda init' !!
    __conda_setup="$('~/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
    if [ $? -eq 0 ]; then
        eval "$__conda_setup"
    else
        if [ -f "~/miniconda3/etc/profile.d/conda.sh" ]; then
            . "~/miniconda3/etc/profile.d/conda.sh"
        else
            export PATH="/home/eumetcast/miniconda3/bin:$PATH"
        fi
    fi
    unset __conda_setup
    # <<< conda initialize <<<
    
    Now do:
  • conda update -n base -c defaults conda
  • conda config --add channels conda-forge
  • conda create --name pytroll

    Install Conda Windows

    Note: This is a quick overview. For full description on how/why see v3.0: EMCtools.documents/Satpy_for_EUMETCast_HOWTO_V30.txt.
    For the relevant part see here.

    Goto: miniconda and download/run the installer:
    Latest Miniconda3 Windows 64-bit

    In the Windows menu, you should now have an Anaconda Powershell Prompt entry. Start it, and you get a Powershell Prompt window. In this shell do:

    Install satpy (both Linux and Windows)

  • conda activate pytroll
  • conda install satpy
  • conda install pycoast (MUST be version 1.6.1. or later)
  • conda install pyhdf
  • conda install hdf5plugin

    Installation is now done. To deactivate (go to normal prompt):

  • conda deactivate

    For all actions always go to the Pytroll prompt using command:
  • conda activate pytroll

    Installation of the SPS-environment

    Download SPS: SPSdata-bare.xxx and SPStools-bare.xxx
    Move SPStools-bare.xxx and SPSdata-bare.xxx to the desired location: These locations have to be defined lateron in the Python scripts! Untar/unzip:

    Last preparations: GEO

    Go to SPStools/GEOscripts. Do the same for LEOstuff.py in SPStools/LEOscripts

    Usage

    All satpy runs should be done in the pytroll environment: