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
Hashes for descarteslabs_dynamic_compute-1.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d870b1cffbd3c0f3c00ce4defce41a76d1365a9204c66e2ac73a46bf986623fb |
|
MD5 | 60c7ecdc6252704a57bba57e94dd8182 |
|
BLAKE2b-256 | 252f8b2030e9e42a7d6acfe84cda1a52b7b6a8cb3eef882bc9d3bb6d5e99824a |
Hashes for descarteslabs_dynamic_compute-1.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49f164cfbe5eaeaad66212d098d73732a1bfb26e905a39ae2e0aa963eeec8e0b |
|
MD5 | c4e4e41aa995e3acd25d463838514d2e |
|
BLAKE2b-256 | b9035572a6a41be28b06dd307bc346c0f78af32567a732cf712714b77c299f8a |