Skip to content

earthdaily/earthone-dynamic-compute-python

Repository files navigation

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 EarthOne API Documentation.

Example notebooks to get started can be found under EarthOne Guides. Below is a very simple example to get you started using the map:

First, we import earthdaily.earthone.dynamic_compute and instantiate the map, then set the zoom level and lat, long of the center:

import earthdaily.earthone.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 EarthOne Catalog product by executing the following Python code:

naip_rgb = (
    dc.Mosaic.from_product_bands(
        "usda:naip:v1",
        "red green blue",
        start_datetime="20210101",
        end_datetime="20220101",
    )
)

We can then visualize this on the map using by calling .visualize on our layer:

_ = naip_rgb.visualize("NAIP", m, scales=[[0, 256], [0, 256], [0, 256]])

Only files included in __all__ will be supported.

About

Earthone map computation engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages