Metadata-Version: 2.4
Name: earthdaily-earthone-dynamic-compute
Version: 2.4.2
Summary: 
License: Apache-2.0
License-File: LICENSE
Author: EarthDaily
Requires-Python: >=3.10,<3.14
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: blosc2 (>=3.10.1,<4.0.0)
Requires-Dist: certifi (>=2023.7.22)
Requires-Dist: cloudpickle (==3.0.0)
Requires-Dist: earthdaily-earthone (>=5,<7)
Requires-Dist: geojson (>=2.5.0)
Requires-Dist: imagecodecs (<=2023.3.16) ; python_version < "3.12"
Requires-Dist: imagecodecs (>=2023.7.4) ; python_version >= "3.13"
Requires-Dist: imagecodecs (>=2023.7.4,<2025) ; python_version == "3.12"
Requires-Dist: ipyleaflet (>=0.15.0)
Requires-Dist: matplotlib (>3.6)
Requires-Dist: numpy (<3) ; python_version >= "3.11"
Requires-Dist: numpy (<=2.0.2) ; python_version < "3.11"
Requires-Dist: pandas (>=2.2)
Requires-Dist: pyproj (<=3.4.1) ; python_version < "3.12"
Requires-Dist: pyproj (>=3.6.1) ; python_version >= "3.12"
Requires-Dist: pytz (>=2025.2,<2026.0)
Requires-Dist: pyzmq (<=26.0.3) ; python_version < "3.12"
Requires-Dist: pyzmq (>=25.1.1) ; python_version >= "3.12"
Requires-Dist: shapely (>2,<3)
Requires-Dist: utm (>=0.7.0,<0.8.0)
Description-Content-Type: text/markdown

# Dynamic-Compute 🗺️

![PyPI](https://img.shields.io/pypi/v/earthdaily-earthone-dynamic-compute)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/earthdaily-earthone-dynamic-compute)
![PyPI - License](https://img.shields.io/pypi/l/earthdaily-earthone-dynamic-compute)

> "It occurs to me that our survival may depend upon our talking to one another." — "Sol Weintraub", [Hyperion](<https://en.wikipedia.org/wiki/Hyperion_(Simmons_novel)>)

_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](https://docs.earthone.earthdaily.com/api.html).

Example notebooks to get started can be found under [EarthOne Guides](https://docs.earthone.earthdaily.com/guide.html). 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:

```python
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:

```python
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:

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

Only files included in `__all__` will be supported.

