Skip to content

Instantly share code, notes, and snippets.

View fabricebrito's full-sized avatar

Fabrice Brito fabricebrito

View GitHub Profile
@fabricebrito
fabricebrito / stac-cwl.yaml
Created April 12, 2024 07:55
stac-cwl.yaml
- name: Link
type: record
fields:
rel: string
href: string
type: string
title: string
- name: STACCatalog
type: record
fields:

The /status returns additional links:

  • rel: results with the link to the /results of the OCG API Processes
  • rel: collection with the link to a STAC collection with an asset with the processing result catalog and all the information to consume it via the storage STAC extension
{

    "jobID": "2e2e794c-c85d-11ed-8512-4230b2a19c26",
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
snap_graph: {class: File, path: ./STEP1_Graph_Prep.xml}
safe:
- {'class': 'Directory', 'path': ''}
$graph:
- baseCommand: gpt
#hints:
# DockerRequirement:
# dockerPull: snap:latest
class: CommandLineTool
id: clt
inputs:
inp1:
inputBinding:
<?xml version="1.0" encoding="UTF-8"?>
<graph>
<version>1.0</version>
<node id="read">
<operator>Read</operator>
<sources/>
<parameters class="com.bc.ceres.binding.dom.XppDomElement">
<bandNames/>
<copyMetadata>true</copyMetadata>
<file>/home/fbrito/Downloads/temp0.tif</file>
@fabricebrito
fabricebrito / sentinel1.md
Last active September 24, 2020 06:17
Download ESA Sentinel-1 data from Sentinel-1 Scientific Data Hub (https://scihub.esa.int/dhus/)

Download ESA Sentinel-1 data from Sentinel-1 Scientific Data Hub (https://scihub.esa.int/dhus/)

Create a Sentinel-1 Scientific Data Hub account

Go here: https://scihub.esa.int/dhus/ and look for a "Register" link. Follow the registration steps.

Get aria2

aria2 is a lightweight multi-protocol & multi-source command-line download utility. It supports HTTP/HTTPS, FTP, BitTorrent and Metalink.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.