Skip to main content

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 + OpenBuildings
  • mosaic: 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coastal_resilience_utilities-0.1.21.tar.gz (328.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coastal_resilience_utilities-0.1.21-py3-none-any.whl (345.2 kB view details)

Uploaded Python 3

File details

Details for the file coastal_resilience_utilities-0.1.21.tar.gz.

File metadata

File hashes

Hashes for coastal_resilience_utilities-0.1.21.tar.gz
Algorithm Hash digest
SHA256 e49507b467bc2b9b086e2d552740c5b5a5ec3fb959e35f0084da8d5e68e8d6d1
MD5 b24828c625e715d5fcd805fb2ced36d9
BLAKE2b-256 6df26c9b2ec9c663683fe8026dea9966b377f6b2a806e338331d9e947c38bcf6

See more details on using hashes here.

File details

Details for the file coastal_resilience_utilities-0.1.21-py3-none-any.whl.

File metadata

File hashes

Hashes for coastal_resilience_utilities-0.1.21-py3-none-any.whl
Algorithm Hash digest
SHA256 f3c631c31c3c0d3061f8f860877659d0d97e92f462b8cd223619ca9944b4e3b0
MD5 bd209d3d5586a2ebf240aa499b68c263
BLAKE2b-256 5711d512e792da720ff95d3abaecbd9bbf1bd7562e492b514c05f2cce21bcb4b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page