An application for publishing HyP3 output products for ingest into ASF's data catalog. It contains a HyP3 plugin and an application for publishing jobs sent to it from the HyP3 plugin.
Support is currently limited to:
- Publishing the outputs of
ARIA_S1_GUNW,INSAR_ISCE, andARIA_RAIDERjobs to theARIA_S1_GUNWCMR collection - Publishing the outputs of
OPERA_RTC_S1_SLCjobs to theOPERA_L2_RTC-S1_V1CMR collection
To allow for a HyP3 job to publish its outputs, use the ingest-adapter container and add it as a step to the job spec file that looks like this:
- name: PUBLISH
image: ghcr.io/asfhyp3/ingest-adapter
command:
- Ref::job_id
timeout: 600
compute_environment: Default
vcpu: 1
memory: 512
secrets:
- TOPIC_ARN
- HYP3_URLAnd add these parameters to the Secrets Manager secret for that particular HyP3 deployment:
TOPIC_ARN: the SNS Topic for the desired ingest-adapter deploymentHYP3_URL: the api URL for that particular HyP3 deployment
To run all commands in sequence use:
mamba env create -f environment.yml
mamba activate ingest-adapter
export PYTHONPATH=${PWD}/app/src:${PWD}/plugin/src
pytest tests