Giter Club home page Giter Club logo

s1eof's Introduction

Sentinel-1 Orbit File Downloader

License

General information

Downloads Sentinel-1 orbit files from the Copernicus Sentinels POD Data Hub. The software can automatically detect Sentinel-1 files (zipped or unzipped) that conform to the Sentinel-1 naming convention. Alternatively the user can choose to download all orbit files for a given date range or download the full archive.

Contents

  • s1eof.py - main script to be run with Python
  • utils/ - download functions
  • tests/ - basic test routines

Installation and required Python dependencies

The first step is to clone the s1eof repository and check out the s1eof directory.

$ git clone https://github.com/njwag/s1eof.git
$ cd s1eof

Run the following command to install dependencies from requirements.txt:

$ pip install -r path\to\requirements.txt

Using conda:

$ conda create --name s1eof
$ conda activate s1eof
$ pip install -r path\to\requirements.txt

Alternatively, using conda you can install all required dependencies in a new environment called s1eof using the environment.yml file:

$ conda env create -f path\to\environment.yml

Using the Sentinel-1 Orbit File Downloader

Run s1eof.py in the command line. You can either pass a start and end date using the -s and -e flags respectively. Alternatively, you can pass a Sentinel-1 directory using the -d flag containing Sentinel-1 files (zipped or unzipped) that follow the Sentinel-1 naming convention. Fitting orbit files will be identified and downloaded automatically.

The orbit directory (-o flag) is mandatory. This is where the downloaded orbit files will be stored.

$ s1eof.py [-h] [-d SENTINEL1 DIRECTORY] [-s START DATE] [-e END DATE] [-o] Orbit Directory
$ python s1eof.py -h

	usage: s1eof.py [-h] [-d SENTINEL1 DIRECTORY] [-s START DATE] [-e END DATE] [-o] Orbit Directory

	Download Sentinel-1 orbit files

	positional arguments:
	  Orbit Directory       Location where orbit files will be stored

	optional arguments:
	  -h, --help            show this help message and exit
	  -d SENTINEL1 DIRECTORY, --Sentinel1 Directory SENTINEL1 DIRECTORY
							Directory where S1 files are stored
	  -s START DATE, --Start date START DATE
							Start date for orbit file search "YYYY-MM-DD"
	  -e END DATE, --End date END DATE
							End date for orbit file search "YYYY-MM-DD"
	  -o, --overwrite       Overwrite output file (if present). Default is False.

Note: I do not control, guarantee, approve, or endorse the information or products available on the sites linked.

s1eof's People

Contributors

njwag avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.