Metadata-Version: 2.4
Name: umepio
Version: 0.0.33
Summary: This package can automatically generate the necessary input files for running the UMEP SOLWEIG solver
Project-URL: Homepage, https://github.com/anhart/umepio/
Project-URL: Issues, https://github.com/anhart/umepio/issues
Author-email: Anne den Hartog <ahartog@tudelft.nl>
License-Expression: GPL-3.0-or-later
License-File: LICENSE
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9
Requires-Dist: geopandas>=1.1.1
Requires-Dist: laspy>=2.6.1
Requires-Dist: laszip>=0.2.3
Requires-Dist: matplotlib>=3.10
Requires-Dist: numpy>=2.0
Requires-Dist: pandas>=1.0.0
Requires-Dist: rasterio>=1.0
Requires-Dist: requests>=2.32.0
Requires-Dist: scipy>=1.12
Requires-Dist: shapely>=2.1
Requires-Dist: startinpy>=0.12.2
Description-Content-Type: text/markdown

# Generating UMEP inputs

This package automatically generates the neccesary input data for running UMEP solver SOLWEIG in the Netherlands.
It needs to be given a bounding box and an output folder and generates the files needed to run SOLWEIG_GPU.

Generate all the files at once.

```Python
    import umep_inputs
    bbox = (94040,437614,94251,437797) #bounding box in Amersfoort / RD new
    inputs = umep_inputs.generate_solweig_inputs(bbox, "test_output")
```
Generate some of the files as needed.

```Python
    # bounding box, path to output folder
    buildings = umep_inputs.load_buildings(bbox, "test_output")

    # bounding box, buildings, path to output folder
    dtm, dsm, _ = umep_inputs.load_dems(bbox, buildings, "test_output")

    # bounding box, dtm, dsm, trunk height, path to output folder
    chm = umep_inputs.load_chm(bbox, dtm, dsm, 25, "test_output")

    # bounding box, path to output folder
    landcover = umep_inputs.load_landcover(bbox, "output_folder")
```

The repository builds on the work done by Jessica Monahan, [SOLFD](https://github.com/jsscmnhn/SOLWEIG_SOLFD) (2025). The logic is the same but the code is reformatted and polished to work as a standalone pip package. 
