Skip to content

Parses SWOT observation data and tracks quality indicators and performs consistency checks

Notifications You must be signed in to change notification settings

podaac/confluence_prediagnostics

Repository files navigation

prediagnostics

prediagnostics serves as the diagnostic module for Confluence. It parses SWOT observation data and tracks quality indicators and performs consistency checks. This module overwrites existing data on the reach and node level organized by continent.

publishing disclaimer

Please do not share this repository, algorithm code contained within, or containers with others.

Also note that all Docker containers are currently hosted in AWS. You may build the containers using the Dockerfiles located in each algorithm's directory.

container

Commandline Arguments

Each container takes the name of a reach file as an argument. This file contains a list of reaches or sets of reaches where each reach identifier or set is on one line.

  • EFS Data is mounted to the container at /mnt/data
  • (Note data is overwritten)

AWS Environment variable

AWS_BATCH_JOB_ARRAY_INDEX is used to determine the reach identifier to process for all containers. The index value is used to retrieve a line in a file that lists all reach identifiers to be processed.

deployment

There is a script to deploy the Docker container image and Terraform AWS infrastructure found in the deploy directory.

Script to deploy Terraform and Docker image AWS infrastructure

REQUIRES:

Command line arguments:

[1] registry: Registry URI [2] repository: Name of repository to create [3] prefix: Prefix to use for AWS resources associated with environment deploying to [4] s3_state_bucket: Name of the S3 bucket to store Terraform state in (no need for s3:// prefix) [5] profile: Name of profile used to authenticate AWS CLI commands

Example usage: ``./deploy.sh "account-id.dkr.ecr.region.amazonaws.com" "container-image-name" "prefix-for-environment" "s3-state-bucket-name" "confluence-named-profile"`

Note: Run the script from the deploy directory.

About

Parses SWOT observation data and tracks quality indicators and performs consistency checks

Resources

Stars

Watchers

Forks

Packages

No packages published