Metadata-Version: 2.4
Name: umep_inputs
Version: 0.0.7
Summary: This package can automatically generate the necessary input files for running SOLWEIG & URock outside of QGIS
Project-URL: Homepage, https://github.com/pypa/sampleproject
Project-URL: Issues, https://github.com/pypa/sampleproject/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.0
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 solvers SOLWEIG and URock 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, 95230, 439399) #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")
```