Skip to content

RomoloPoliti-INAF/SAR

Repository files navigation

SOIM Auto Runner

Version 1.0.1.devel.1 Language Python 3.12.1

Install

  1. clone the repository:
git clone git@github.com:RomoloPoliti-INAF/soimAuto.git
  1. Install the dependencies
python3 -m pip install -Ur requirements.txt

Now you can run the software

Usage

The basic usage of the code is

python3 -m SAR

Options

  • -k, --kernel: This option allows you to specify the folder where SPICE kernels will be stored. Kernels are often fundamental components in various computational processes. Default: kernels

Example:

python -m SAR -k /path/to/kernels
  • -d, --debug: The debug option is designed to facilitate debugging during script execution. Default: False.
  • Example:
python -m SAR -d
  • -v, --verbose: The verbose option enhances the script's output by increasing the verbosity level. You can use it multiple times to increase verbosity.

Example:

python -m SAR -vv
  • -V, --version: This option provides a convenient way to check the version of your script.

Example:

python -m SAR --version

Complete Example

python -m SAR -k /path/to/kernels -d -vv

This example sets the kernels folder to "/path/to/kernels," enables debugging mode, and sets verbosity level to the maximum. Adjust the options based on your needs.

The help documentation for the program, providing information on available options and their usage can be obtained using the option -h or --help.

How it works

flowchart LR
    A(CRONTAB) --> B[SAR]
    B --> C[Download MK]
    C -->D{New MK}
    D -->|True| E[Start SOIM]
    E --> F[fa:fa-envelope  Send Email]
    F--> G(End)
    D-->|False|G
  

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages