No project description provided
Project description
Dynamic-Compute 🗺️
"It occurs to me that our survival may depend upon our talking to one another." — "Sol Weintraub", Hyperion
Dynamic-Compute is a map computation engine. It enables users to dynamically generate maps from a composable set of Python operations. Together, these properties enable data scientists in the building of complex GIS applications.
Formal documentation for this library is available under the Descartes Labs API Documentation.
Example notebooks to get started can be found under Descartes Labs Guides. Below is a very simple example to get you started using the map:
First, we import descarteslabs.dynamic_compute
and instantiate the map, then set the zoom level and lat, long of the center:
import descarteslabs.dynamic_compute as dc
m = dc.map
m.zoom = 14
m.center = (43.4783, -110.7506)
m
Next, we can create a layer from a Descartes Labs Catalog product by executing the following Python code:
spot_rgb = (
dc.Mosaic.from_product_bands(
"airbus:oneatlas:spot:v2",
"red green blue",
start_datetime="20210101",
end_datetime="2022101",
)
)
We can then visualize this on the map using by calling .visualize
on our layer:
_ = spot_rgb.visualize("SPOT", m, scales=[[0, 256], [0, 256], [0, 256]])
Only files included in __all__
will be supported.
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
File details
Details for the file descarteslabs_dynamic_compute-1.3.3.tar.gz
.
File metadata
- Download URL: descarteslabs_dynamic_compute-1.3.3.tar.gz
- Upload date:
- Size: 78.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97b3933643c56b17543caa4c4fe92e7bad2878f6ba8bfb2082e63838f0502ad2 |
|
MD5 | b7d0759893a64169d7175429942615fd |
|
BLAKE2b-256 | 0dba9e7f344bdbc6d4b0d9ec7db94d85f10c0784b70019e201b992aa3c7c5903 |
File details
Details for the file descarteslabs_dynamic_compute-1.3.3-py3-none-any.whl
.
File metadata
- Download URL: descarteslabs_dynamic_compute-1.3.3-py3-none-any.whl
- Upload date:
- Size: 93.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d34628c37fcdd2bccaab21dd0b4c0b9d862bf44f22a8ed2b11f011a6c6295e5 |
|
MD5 | 63989fcf2829b9e347608d4e6ae4bbe0 |
|
BLAKE2b-256 | 1b703a6a0ccaa8f95af6cc0429e765784e4e95bf849c126a481ee0f7d3835bde |