Skip to content

Utilities for making SpatioTemporal Asset Catalogs of HEC-RAS models

License

Notifications You must be signed in to change notification settings

fema-ffrd/ras-stac

Repository files navigation

ras-stac

CI Release PyPI version

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.

Getting Started

  1. For local development, create a .env file using the example.env file.

  2. Start a minio service and load data using the cloud-mock repository.

  3. 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.

Core tests (can run locally in Docker)

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.

About

Utilities for making SpatioTemporal Asset Catalogs of HEC-RAS models

Resources

License

Stars

Watchers

Forks

Packages

No packages published