A utility package for coastal resilience analysis.
Project description
Coastal Resilience Utilities
This repository contains utilities for coastal resilience analysis and design.
Contents
damage_assessment: damage assessments based on earth observation data and National Structure Inventory.damage_assessment_usvi: damage assessments based on low-res NSI grids + OpenBuildingsmosaic: Mosaicking datasets.summary_stats: Summarize raster datasets using vector points and polygons.utils: A variety of functionality for doing geospatial analysis. Rasterize, vectorize, fetch features from OSM/OpenBuildings/ArcOnline, extract values from rasters.
Installation
The recommended way to install this repo is to use the provided Makefile to build a Docker image.
For example:
EXTRA_DOCKER_ARGS="-v <YOUR DATA DIRECTORY>:/data -v /cccr-lab:/cccr-lab" make bash-terminal
There are two env files:
.env, which at this moment just contains GCP credentials.data.env, which maps files necessary for damage assessment
Note that it's a little tricky to guarantee out-of-the-box until we get more developers actively using this repo, but I do attempt to deploy this on multiple computers and make sure things work. If you have trouble let's work it out!
Examples
Check out the testing directory for examples on running analysis.
There are two other relevant repos in Gitlab:
- Datacube, which basically scales raster analyses
- GeospatialServices, which runs a variety of servers such as:
- Jupyter for an analysis env
- Prefect for reproducibility
- Tile servers for app development
You don't need either to run, but the examples in GeospatialServices/Jupyter/notebooks are useful to understand using damage assessment.
Schematic
The Figjam schematic can be found here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file coastal_resilience_utilities-0.1.25.tar.gz.
File metadata
- Download URL: coastal_resilience_utilities-0.1.25.tar.gz
- Upload date:
- Size: 327.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5315a7e6c363f006800f613dcdf58fe202e3fffa74c6c75a9b27a19b31fb9ffa
|
|
| MD5 |
a5b37152e23859377775c15d4f29cc11
|
|
| BLAKE2b-256 |
be4d12152405188fc9f5f58634a563a11f68de7a08094dfb1a61e51d348bb7cb
|
File details
Details for the file coastal_resilience_utilities-0.1.25-py3-none-any.whl.
File metadata
- Download URL: coastal_resilience_utilities-0.1.25-py3-none-any.whl
- Upload date:
- Size: 345.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2f1ee2e917fe051b1dd5189337675c35e7ed24e56d7b0ed3880e69f33a31248
|
|
| MD5 |
71133bf0de857b9baeb7afacc37e691c
|
|
| BLAKE2b-256 |
fd235fcf36417e56d7e87612c37d03a3105b1ec5d4555a2239a5118466fad9e0
|