Skip to main content

Download precise orbit files for Sentinel 1 products

Project description

Build Status Coverage Status

Sentinel EOF

Tool to download Sentinel 1 precise orbit files (.EOF files) for processing SLCs

Setup and installation

pip install sentineleof

This will put the executable eof on your path

virtualenv is optional but recommended.

Command Line Interface Reference

The command line tool in cli.py was made using the click library.

$ eof --help
Usage: eof [OPTIONS]

  Download Sentinel precise orbit files.

  Saves files to current directory, regardless of what --path is given to
  search.

  Download EOFs for specific date, or searches for Sentinel files in --path.
  With no arguments, searches current directory for Sentinel 1 products

Options:
  -r, --date TEXT          Validity date for EOF to download
  -m, --mission [S1A|S1B]  Sentinel satellite to download (None gets both S1A
                           and S1B)
  --help                   Show this message and exit.

To use the function from python, you can pass a list of dates:

from eof.download import download_eofs

download_eofs([datetime.datetime(2018, 5, 3, 0, 0, 0)])
download_eofs(['20180503', '20180507'], ['S1A', 'S1B'])

parsers.py

Class to deal with extracting relevant data from SAR filenames. Example:

from parsers import Sentinel

parser = Sentinel('S1A_IW_SLC__1SDV_20180408T043025_20180408T043053_021371_024C9B_1B70.zip')
parser.start_time
    datetime.datetime(2018, 4, 8, 4, 30, 25)

parser.mission
    'S1A'

parser.polarization
    'DV'
parser.full_parse
('S1A',
 'IW',
 'SLC',
 '_',
 '1',
 'S',
 'DV',
 '20180408T043025',
 '20180408T043053',
 '021371',
 '024C9B',
 '1B70')


parser.field_meanings
('Mission',
 'Beam',
 'Product type',
 'Resolution class',
 'Product level',
 'Product class',
 'Polarization',
 'Start datetime',
 'Stop datetime',
 'Orbit number',
 'data-take identified',
 'product unique id')

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

sentineleof-0.3.0.tar.gz (6.9 kB view details)

Uploaded Source

File details

Details for the file sentineleof-0.3.0.tar.gz.

File metadata

  • Download URL: sentineleof-0.3.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200311 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.7

File hashes

Hashes for sentineleof-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2731a9e3fcc89a9eb4b81b4a03b54e4a4280bdbed8579bc7aaf7b6bd6afa2f25
MD5 6590ba46a767ea1edd2b16e597ac0518
BLAKE2b-256 f14b9c0bd523e730f939e8b9fbe6f127ea7b0409dcaaff165bcac0c79db7beb6

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