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.33.tar.gz (551.8 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.33-py3-none-any.whl (580.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: umepio-0.0.33.tar.gz
  • Upload date:
  • Size: 551.8 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.33.tar.gz
Algorithm Hash digest
SHA256 0080ba90abf7be3703b1e91156e86c2b4e2d5bfa22896bc6d08b5a8025652db8
MD5 20fae5853599f788dc567c960a602d26
BLAKE2b-256 e72e14b51ec51f158148f47c6c938ecf6eb973a0763e6d7f4ef84693dfec3dae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: umepio-0.0.33-py3-none-any.whl
  • Upload date:
  • Size: 580.2 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.33-py3-none-any.whl
Algorithm Hash digest
SHA256 4f4babd67666e8dd727ff57e52dc56981c80407304e428fa04c0d0259978a83b
MD5 61bda538c6f7442e365ff6b196ffc09e
BLAKE2b-256 b83064110d063dc20bcbc39021c437dee24bde86da9cbbb8dc54176f9c725d00

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