Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

descarteslabs-dynamic-compute

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

descarteslabs-dynamic-compute

  • 1.3.4
  • PyPI
  • Socket score

Maintainers
1

Dynamic-Compute 🗺️

PyPI PyPI - Python Version PyPI - License

"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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc