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-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.2.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fir-api-cli-0.4.2.tar.gz
  • Upload date:
  • Size: 9.4 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.2.tar.gz
Algorithm Hash digest
SHA256 e42d7d2e68c2ca2958dbc5cdfb4849a419cbc5059a2e306f8d357ae55bd59768
MD5 f0847b89bce4eb888419d909f314ad57
BLAKE2b-256 6eec0271cd18035869192f915769d0ef8effd5171d85afc7286cdb1ab2bda8c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fir_api_cli-0.4.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 106cf27eb8e0df1e993957bc28a1de8eb7067ad3e536cef858701d80029a416a
MD5 d4b69d01909c3e86f63823ee0eae534e
BLAKE2b-256 5056ca7a9087d5f64e777beec37e796dcb5ce650dc018d942ccf440979ad1841

See more details on using hashes here.

Supported by

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