Utilities for making SpatioTemporal Asset Catalogs of HEC-RAS models
This repository contains code for developing STAC items from HEC-RAS models. Current activities focus on creating items for geometry files g**.hdf
and plan files `p**.hdf stored in AWS S3. More to come.
Source code largely ported from ffrd-stac.
-
For local development, create a
.env
file using theexample.env
file. -
Start a minio service and load data using the cloud-mock repository.
-
Run the
populate-sample-data.sh
script to test set-up, connetivity, and view a sample stac catalog created using this library.
NOTE It is recommended that ras-stac not be run in a container for testing and development of its full codebase due to networking issues that complicate use of these tools, when using minio.
When docker-test.sh
is executed, the Docker image is built and pytest
is invoked to run the Python test scripts. This leverages test data that is included in this repository. This does not use cloud storage, s3, minio, nor other forms of network data.