Command Line Interface

Command Line Interface#

The satrain.cli module provides the command-line interface for the SatRain package, enabling data management and configuration from the terminal.

satrain.cli#

Provides a command-line interface (CLI) for managing the satrain configuration and downloading data.

flatten(dict_or_list: List[Path] | Dict[str, Any]) Dict[str, Any][source]#
print_version() str[source]#

Print software and data versions of SatRain.

Usage Examples#

Configure data path:

satrain config set_data_path /path/to/data

Show current configuration:

satrain config show

Download dataset components:

satrain download --sensors gmi --subset s --splits training,validation,testing --geometries gridded

List locally available files:

satrain list_files