Skip to main content

Package for exploring and downloading data from the FIR API service.

Project description

FIR API CLI

FIR API CLI is a command line interface tool for exploring and downloading Sentinel satellite images from the FIR API service.

The tool can be used to explore and download dataset based on product id or metadata filtering.

In order to use the package, users must have a valid FIR eFöld registration.

More information at: https://efold.gov.hu/

Installation

pip install fir-api-cli

Usage

Get some help:

fir-cli --help

Save username and password to config file (if executed, no need to support username and password to commands):

fir-cli config <username> <password>

Get information about individual product based on product id:

fir-cli -u <username> -pw <password> query-id -i <product_id>

Download individual product based on product id:

fir-cli -u <username> -pw <password> query-id -i <product_id> -d <path/to/folder>

Get information about products based on query:

fir-cli -u <username> -pw <password> query -p Sentinel-2 -dt 2021-01-01 2021-01-05 -c 1

Download products based on query and save product list to csv:

fir-cli -u <username> -pw <password> query -p Sentinel-2 -dt 2021-01-01 2021-01-05 -c 1 -d <path/to/folder> -o <path/to/csv_file.csv>

Note: username and password can be automatically supplied by setting the FIR_API_USERNAME and FIR_API_PASSWORD environment variables or by running the config command.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fir-api-cli-0.4.4.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

fir_api_cli-0.4.4-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file fir-api-cli-0.4.4.tar.gz.

File metadata

  • Download URL: fir-api-cli-0.4.4.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for fir-api-cli-0.4.4.tar.gz
Algorithm Hash digest
SHA256 91c7c7cf36c45be5ee550035ccd449b412bb73e4fbf8a4942dad0ccf0e369e6c
MD5 9a4a429b882c888fdbb39c040ea3fb5f
BLAKE2b-256 5622e69db0c83dfac0409efa2bae05bdc4e5e052b43171659fef722013308536

See more details on using hashes here.

File details

Details for the file fir_api_cli-0.4.4-py3-none-any.whl.

File metadata

  • Download URL: fir_api_cli-0.4.4-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for fir_api_cli-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ead49c908df74807b175c822aee101b8fb9c08ea18f2f16e900b8257f56ead97
MD5 3077c9b21594630487eeb82b9c40df88
BLAKE2b-256 c04e298bad1ae65c838e88b3b1f8003c30c8c84650d1ca18b07a886ff2e4d98b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page