https://github.com/bcdev/doors-recipes
https://github.com/bcdev/doors-recipes
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bcdev/doors-recipes
- Owner: bcdev
- License: mit
- Created: 2023-02-07T10:52:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-07-07T16:06:20.000Z (12 months ago)
- Last Synced: 2026-05-27T11:38:59.354Z (29 days ago)
- Language: Python
- Size: 9.25 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
README
# Doors Recipes
This repository is dedicated to hosting the scripts/notebooks/files that are
required in the scope of the DOORS project to create AR Data Cubes from data
provided by project partners.
There are two folders in this repository: `cubegen` and `docgen`.
`cubegen` contains the functionality to create data cubes from the data
provided by DOORS modelers.
As this package is subject to change, it is versioned (see the changelog for
differences between versions).
For each model provisioner, there is a dedicated folder which contains a
script named `create-cube.py`. Each script expects one mandatory and
one optional parameter.
The mandatory parameter is `input-path`: The path to where on your local
computer the input data is stored (as xcube currently does not support
accessing ftp data, this is so far the best solution to access the input data).
The second parameter, `output-path`, allows you to specify an output folder on
your local computer.
If omitted, the resulting cube is written directly to the s3 bucket (this
will only work though if you have valid AWS credentials stored on your
computer).
As many steps of the cube preparation are the same or similar for the various
models, there is an utils-package `doorsutils` which contains functions that are
used more than once.
`docgen` contains a single script that can create human-readable descriptions
of the datasets stored in the s3 bucket.
These descriptions may be used for documentation or in documents.
This code has been tweaked from https://github.com/deepesdl/deepesdl-doc to
also run on xarray datasets.
The single parameter is an optional output path you might indicate to where the
documents shall be written.
If omitted, they are written to the docgen folder.
`dockerimage` contains a shell script and a dockerfile from which an image for a
doors server can be built. It contains versions of xcube, xcube-cmems, geodb,
geodb-places, and vdc-places.
Always check the latest tag pushed to the quay.io and then increment the version tag for the new image by providing it
as a script argument.
set `ARG CACHE_ID=1` or any random number if you want to break the cache because you want fresh code from GitHub repo.