Skip to main content

This package can automatically generate the necessary input files for running the UMEP SOLWEIG solver

Project description

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.

    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.

    # 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 (2025). The logic is the same but the code is reformatted and polished to work as a standalone pip package.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

umepio-0.0.32.tar.gz (552.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

umepio-0.0.32-py3-none-any.whl (580.4 kB view details)

Uploaded Python 3

File details

Details for the file umepio-0.0.32.tar.gz.

File metadata

  • Download URL: umepio-0.0.32.tar.gz
  • Upload date:
  • Size: 552.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.15

File hashes

Hashes for umepio-0.0.32.tar.gz
Algorithm Hash digest
SHA256 39861fb3b39ed81cc541d769167ef6095aeb66c75b5278d538761d8258b8a417
MD5 d91ae46c8d21afad090b38bf34bf89e4
BLAKE2b-256 5f31e33d915eead9e7bd9b3c820f455cc4c3b55ebaf769de01a947158f209417

See more details on using hashes here.

File details

Details for the file umepio-0.0.32-py3-none-any.whl.

File metadata

  • Download URL: umepio-0.0.32-py3-none-any.whl
  • Upload date:
  • Size: 580.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.15

File hashes

Hashes for umepio-0.0.32-py3-none-any.whl
Algorithm Hash digest
SHA256 a6ad52994e3c6146278bc4be46af109aa9f12cb2c424d5a3c898a06d3a64123e
MD5 b559426ede1e591ef69b1508cdcf5359
BLAKE2b-256 68f843d68006f2b53d340cc59d79698895af5f5b4adb7963f48c8ac829a13382

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page