Skip to main content

A Python utility for downloading Sentinel-1 Orbit files from the Registry of Open Data on AWS

Project description

sentinel1-orbits-py

A Python utility for downloading Sentinel-1 Orbit files from the Registry of Open Data on AWS.

>>> import s1_orbits

>>> orbit_file = s1_orbits.fetch_for_scene('S1A_IW_SLC__1SDV_20230727T075102_20230727T075131_049606_05F70A_AE0A')
>>> orbit_file
PosixPath('S1A_OPER_AUX_POEORB_OPOD_20230816T080815_V20230726T225942_20230728T005942.EOF')

Installation

In order to easily manage dependencies, we recommend using dedicated project environments via Anaconda/Miniconda or Python virtual environments.

s1_orbits can be installed into a conda environment with:

conda install -c conda-forge s1_orbits

or into a virtual environment with:

python -m pip install s1_orbits

Usage

>>> import s1_orbits
>>> orbit_file = s1_orbits.fetch_for_scene(
...     scene='S1A_IW_SLC__1SDV_20230727T075102_20230727T075131_049606_05F70A_AE0A',
...     dir='/data',
... )
>>> orbit_file
PosixPath('/data/S1A_OPER_AUX_POEORB_OPOD_20230816T080815_V20230726T225942_20230728T005942.EOF')

Development

  1. Install git and conda.
  2. Clone the repository.
    git clone git@github.com:ASFHyP3/sentinel1-orbits-py.git
    cd sentinel1-orbits-py
    
  3. Create and activate the conda environment.
    conda env create -f environment.yml
    conda activate s1-orbits
    
  4. Run the tests.
    pytest tests
    

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

s1_orbits-0.1.0.tar.gz (10.1 kB view hashes)

Uploaded Source

Built Distribution

s1_orbits-0.1.0-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

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