Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/owenodriscoll/orcestra

Repository containing sub projects directly related to ORCESTRA campaign. Currently contains script to automatically download Sentinel-1 acquisition plans regularly updated by ESA
https://github.com/owenodriscoll/orcestra

Last synced: 10 days ago
JSON representation

Repository containing sub projects directly related to ORCESTRA campaign. Currently contains script to automatically download Sentinel-1 acquisition plans regularly updated by ESA

Awesome Lists containing this project

README

        

Repository containing sub projects directly related to ORCESTRA campaign

- `S1_acquistion`: downloads and visualizes the latest Sentinel-1 acquistion plan

## Prepare evironment

Create the correct environment

```bash
$ conda create -n ENVNAME python=3.12
$ conda activate ENVNAME
```
Clone repository and navigate to the correct directory

```bash
$ git clone [email protected]:owenodriscoll/ORCESTRA.git
$ cd ORCESTRA
```
Install packages within `pyproject.toml`

```bash
$ pip install -e .
```

## Option 1. Set up automated cron job
Run the Bash script `ORCESTRA/S1_acquisition/cron_task/task.sh` (and optionally set the cron update frequency in this file)

```bash
$ bash path/to/ORCESTRA/S1_acquisition/cron_task/task.sh
```

This will start a recurring cron job scheduled for 10 am every day that looks for and downloads/visualizes updated acquistion plans

## Option 2. Run manually

To run the script manually use

```bash
$ python path/to/ORCESTRA/S1_acquisition/src/file_download.py
```

To change the domain size or plotting settings you can modify parameters in either `visualisation.py` or `file_download.py` (ugly, I know).

Which will create a figure in the `figures` folder with, for example:

![alt text](S1_acquisition/figures/S1_acquisition_plan_example.png)