This repo contains scripts to create fresh collections in mongodb, including schema enforcement for the documents that are meant to reside there. These schema are the sole and determining source of truth for the correct format for documents in these collections. Any conflicts with other schema docs or specifications are to be settled in favor of what's recorded here.
In the event that you're populating a new MongoDB instance, start by building the image defined by the local Dockerfile
, and running it on Kube per pod.yaml
, or as an interactive container. From a command line inside the container:
python argo.py
python cchdo.py
python drifters.py
python grids.py rg09_temperature
python grids-meta.py rg09_temperature
python grids.py rg09_salinity
python grids-meta.py rg09_salinity
python grids.py kg21_ohc15to300
python grids-meta.py kg21_ohc15to300
python covar.py
python tc.py
python sst-noaa-oi.py
python copernicus-sla.py
If all is well, you should have empty collections for all datasets and their metadata, with schema and indexes defined.