cioos-siooc / cioos-pacific-erddap

CIOOS Pacific ERDDAP main repository used to maintain, develop and integrate ERDDAP datasets.
https://data.cioospacific.ca/erddap
2 stars 0 forks source link
cioos erddap

CIOOS Pacific ERDDAP Config

This repo stores CIOOS Pacific ERDDAP datasets datasets.d/*.xml which is used by CIOOS Pacific's ERDDAP at https://data.cioospacific.ca/erddap/ and the dev site at https://pac-dev2.cioos.org/erddap/. It also provides a docker-compose.local.yaml file so you can test out your changes on your local machine.

Server Linter Server Update
https://data.cioospacific.ca/erddap Lint Code Base Update Main ERDDAP server
https://pac-dev2.cioos.org/erddap Lint Code Base Update Development ERDDAP server

Creating .xml snippet files for your dataset

This repository relies on the docker-erddap docker container and uses the experimental datasets.d feature available within this container (see more documentation here). To include a new dataset, apply the following steps:

Compliance checker

A compliance check is completed nightly on a subset of every datasets by the CIOOS erddap-compliance-runner using the IOOS Compliance Checker tool. A link to the results is added to each erddap datasets in the upper right corner.

We are testing compliance for the CF1.6, ACDD 1.3 standards.

Configuration

The different components of the ERDDAP system and datasets configuration are defined through the environment variables present within the docker container. To start a new configuration create a copy of the sample.env file as .env and fill up the different items available. The environment variables are following three main categories:

Setup

Testing environment

Production and Development environments

For both servers, configuration is handled within the .env file which overwrites fields present within the setup.xml through the ERDDAP_* variables, expressions to hidden within the datasets.xml are defined by the variables ERDDAP_SECRET_*. Pushes to main and development branches triggers an update of each associated servers via the update workflow

Use ERDDAP docker container

The following commands are usefull for handling an erdddap docker container:

Troubleshooting