Skip to main content

🧑🏽‍🚒 palisades

🧑🏽‍🚒 Post-disaster land Cover classification using Semantic Segmentation on Maxar Open Data acquisitions.

pip install palisades
graph LR
    palisades_ingest_target["palisades<br>ingest -<br>target=&lt;target&gt; -<br>predict - - - -<br>to=&lt;runner&gt;"]

    palisades_ingest_query["palisades<br>ingest -<br>&lt;query-object-name&gt; -<br>predict - - - -<br>to=&lt;runner&gt;"]

    palisades_label["palisades<br>label<br>offset=&lt;offset&gt; -<br>&lt;query-object-name&gt;"]

    palisades_train["palisades<br>train -<br>&lt;query-object-name&gt; -<br>&lt;dataset-object-name&gt; -<br>&lt;model-object-name&gt;"]

    palisades_predict["palisades<br>predict - - -<br>&lt;model-object-name&gt;<br>&lt;datacube-id&gt;<br>&lt;prediction-object-name&gt;"]

    palisades_buildings_download_footprints["palisades<br>buildings<br>download_footprints -<br>&lt;input-object-name&gt; -<br>&lt;output-object-name&gt;"]

    palisades_buildings_analyze["palisades<br>buildings<br>analyze -<br>&lt;prediction-object-name&gt;"]

    palisades_analytics_ingest["palisades<br>analytics<br>ingest -<br>&lt;analytics-object-name&gt;"]

    palisades_analytics_ingest_building["palisades<br>analytics<br>ingest_building<br>building=&lt;building-id&gt;<br>&lt;analytics-object-name&gt;"]

    target["🎯 target"]:::folder
    query_object["📂 query object"]:::folder
    datacube["🧊 datacube"]:::folder
    dataset_object["🏛️ dataset object"]:::folder
    model_object["🏛️ model object"]:::folder
    prediction_object["📂 prediction object"]:::folder
    analytics_object["📂 analytics object"]:::folder

    query_object --> datacube

    target --> palisades_ingest_target
    palisades_ingest_target --> palisades_ingest_query
    palisades_ingest_target --> query_object

    query_object --> palisades_ingest_query
    palisades_ingest_query --> palisades_predict

    query_object --> palisades_label
    palisades_label --> datacube

    datacube --> palisades_train
    query_object --> palisades_train
    palisades_train --> dataset_object
    palisades_train --> model_object

    model_object --> palisades_predict
    datacube --> palisades_predict
    palisades_predict --> palisades_buildings_download_footprints
    palisades_predict --> palisades_buildings_analyze
    palisades_predict --> prediction_object

    prediction_object --> palisades_buildings_download_footprints
    palisades_buildings_download_footprints --> prediction_object

    datacube --> palisades_buildings_analyze
    prediction_object --> palisades_buildings_analyze
    palisades_buildings_analyze --> prediction_object

    prediction_object --> palisades_analytics_ingest
    palisades_analytics_ingest --> analytics_object

    analytics_object --> palisades_analytics_ingest_building
    palisades_analytics_ingest_building --> analytics_object

    classDef folder fill:#999,stroke:#333,stroke-width:2px;
palisades help
palisades \
	ingest \
	[~download,dryrun] \
	[target=<target> | <query-object-name>] \
	[~ingest | ~copy_template,dryrun,overwrite,scope=<scope>,upload] \
	[predict,count=<count>,~tag] \
	[device=<device>,profile=<profile>,upload] \
	[-|<model-object-name>] \
	[~download_footprints | country_code=<iso-code>,country_name=<country-name>,overwrite,source=<source>] \
	[~analyze | buffer=<buffer>,count=<count>] \
	[~submit | dryrun,to=<runner>]
 . ingest <target>.
   target: Altadena | Altadena-100 | Altadena-test | Borger | Borger-250 | Borger-test | Brown-Mountain-Truck-Trail | Brown-Mountain-Truck-Trail-all | Brown-Mountain-Truck-Trail-test | LA | LA-250 | LA-test | Noto | Noto-250 | Noto-test | Palisades-Maxar | Palisades-Maxar-100 | Palisades-Maxar-test
   scope: all + metadata + raster + rgb + rgbx + <.jp2> + <.tif> + <.tiff>
      all: ALL files.
      metadata (default): any < 1 MB.
      raster: all raster.
      rgb: rgb.
      rgbx: rgb and what is needed to build rgb.
      <suffix>: any *<suffix>.
   device: cpu | cuda
   profile: FULL | DECENT | QUICK | DEBUG | VALIDATION
   country-name: for Microsoft, optional, overrides <iso-code>.
   iso-code: Country Alpha2 ISO code: https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
      Canada: CA
      US: US
   source: microsoft | osm | google
   calls: https://github.com/microsoft/building-damage-assessment/blob/main/download_building_footprints.py
   buffer: in meters.
   runner: aws_batch | generic | local
palisades \
	label \
	[download,offset=<offset>] \
	[~download,dryrun,~QGIS,~rasterize,~sync,upload] \
	[.|<query-object-name>]
 . label <query-object-name>.
palisades \
	train \
	[dryrun,~download,review] \
	[.|<query-object-name>] \
	[count=<10000>,dryrun,upload] \
	[-|<dataset-object-name>] \
	[device=<device>,dryrun,profile=<profile>,upload,epochs=<5>] \
	[-|<model-object-name>]
 . train palisades.
   device: cpu | cuda
   profile: FULL | DECENT | QUICK | DEBUG | VALIDATION
palisades \
	predict \
	[~tag] \
	[~ingest | ~copy_template,dryrun,overwrite,scope=<scope>,upload] \
	[device=<device>,profile=<profile>,upload] \
	[-|<model-object-name>] \
	[.|<datacube-id>] \
	[-|<prediction-object-name>] \
	[~download_footprints | country_code=<iso-code>,country_name=<country-name>,overwrite,source=<source>] \
	[~analyze | buffer=<buffer>,count=<count>]
 . <datacube-id> -<model-object-name>-> <prediction-object-name>
   device: cpu | cuda
   profile: FULL | DECENT | QUICK | DEBUG | VALIDATION
   country-name: for Microsoft, optional, overrides <iso-code>.
   iso-code: Country Alpha2 ISO code: https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
      Canada: CA
      US: US
   source: microsoft | osm | google
   calls: https://github.com/microsoft/building-damage-assessment/blob/main/download_building_footprints.py
   buffer: in meters.
palisades \
	analytics \
	ingest \
	[acq_count=<-1>,building_count=<-1>,damage=<0.1>,dryrun,upload] \
	[-|<object-name>]
 . ingest analytics.
palisades \
	analytics \
	ingest_building \
	[acq_count=<-1>,building_count=<-1>,building=<building-id>,deep,~download,dryrun,upload] \
	[.|<object-name>]
 . ingest building analytics.
STAC Catalog: Maxar Open Data image "Satellite imagery for select sudden onset major crisis events" Vision Algo: Semantic Segmentation image segmentation_models.pytorch Building Damage Analysis image using Microsoft, OSM, and Google footprints through microsoft/building-damage-assessment
Analytics image per-building multi-observation damage analytics. Los Angeles Wild Fires, Jan 25 image 2,685.88 sq. km = 1,148,351 buildings processed -> 10,133 with fire damage found.

Acknowledgments

  1. The concept and workflow of this tool is heavily affected by microsoft/building-damage-assessment.
  2. palisades buildings download_footprints calls download_building_footprints.py.
  3. palisades buildings analyze is based on merge_with_building_footprints.py.
  4. Through satellite-image-deep-learning.

pylint pytest bashtest PyPI version PyPI - Downloads

built by 🌀 blue_options-4.227.1, based on 🧑🏽‍🚒 palisades-4.345.1.

Metadata

Release files for palisades 4.345.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for palisades 4.345.1
File Size Uploaded
palisades-4.345.1.tar.gz 30.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for palisades 4.345.1
File Interpreter ABI Platform
palisades-4.345.1-py3-none-any.whl Python 3 none any Details

Total release size: 74.0 kB

Release files / palisades-4.345.1.tar.gz

Download URL palisades-4.345.1.tar.gz
Size 30.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bd5bf5cd23780e4c0089359173b84be7b1df9b3da7397f287a87ab5953755135
BLAKE2b-256 checksum
How to use checksums
011087ea0ea03c1d1ecfafc33cfc799752c4707f99f39715b3d637669a2d89d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release files / palisades-4.345.1-py3-none-any.whl

Download URL palisades-4.345.1-py3-none-any.whl
Size 43.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d25ae3adc13791af0c919098a60180612569a64aee3bc34e571cd1ef712d6217
BLAKE2b-256 checksum
How to use checksums
266027d22cf0f2b8eb980f0f91f05eeb0f9bd3b83d5453728e4b3f753922ee07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release history Release notifications | RSS feed

This release

4.345.1 This release

2 release files

4.82.1

2 release files

4.81.1

2 release files

4.80.1

2 release files

4.52.1

2 release files

4.37.1

2 release files

4.36.1

2 release files

4.35.1

2 release files

4.34.1

2 release files

4.33.1

2 release files

4.32.1

2 release files

4.30.1

2 release files

4.25.1

2 release files

4.24.1

2 release files

4.23.1

2 release files

4.22.1

2 release files

4.17.1

2 release files

4.16.1

2 release files

4.15.1

2 release files

4.12.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page