This repo contains a CWL document to harvest and publish to S3 RADARSAT Constellation Mission (RCM) acquisitions.
The CWL Workflow:
- harvests the RCM metadata and creates a STAC item (and a STAC catalog)
- optionaly publishes the STAC item and catalog to an S3 bucket
NRCAN provides access to ten RCM acquisitions in the context of the OGC Disasters Pilot 21 initiative.
Once downloaded from the FTP site, put each of the RCM zip archives in a dedicated folder as shown in the example below:
$ tree RCM1_OK1721243_PK1721268_4_5M9_20200425_001248_HH_HV_GRD/
RCM1_OK1721243_PK1721268_4_5M9_20200425_001248_HH_HV_GRD/
└── RCM1_OK1721243_PK1721268_4_5M9_20200425_001248_HH_HV_GRD.zip
-
Get the latest CWL Workflow document release from https://github.com/terradue-ogc-dp21/rcm-metadata/releases
-
Install
docker
andcwltool
-
Prepare a YAML parameters file with:
rcm:
- class: Directory
path: RCM1_OK1721243_PK1721268_4_5M9_20200425_001248_HH_HV_GRD
sink-access-key-id: <replace with S3 access key id>
sink-secret-access-key: <replace with S3 access key>
sink-service-url: <replace with S3 service URL>
sink-region: <replace with S3 region>
sink-path: <replace with S3 path>
- Run the CWL Workflow with:
cwltool raw-harvest-stage.0.1.1.cwl params.yml
Done!