UMEP-dev / UMEP

Urban Multi-scale Environmental Predictor
https://umep-docs.readthedocs.io/
59 stars 15 forks source link

Error to create DSM #560

Closed lizbethsofia closed 7 months ago

lizbethsofia commented 9 months ago

When trying to create a DSM with the pre-processor Spatial Data: DSM Generator, we introduce a DEM and a spatial shape layer with the information of the buildings, however, when running, two errors are encountered: 1.IndexError: index 303 is out of bounds for axis 1 with size 303.

  1. Error! The raster projection is not in meters or feet. Please reproject.

Steps to reproduce the behavior:

  1. Pre-processor>Spatial Data: DSM Generator
  2. Click on parameters
  3. Introduce DEM
  4. Introduce spatial shape with buildings
  5. Define height information 6.Take DEM raster size 7.Run
  6. See error

*Desktop

Data If applicable, add data files to help us reproduce your problem.

Additional context We are trying to create a study of a place that has no cloud information, city of Nacaome, Valle, Honduras. DSM-DEM-Lizbeth Alvarado.zip

nilswallenberg commented 9 months ago

Hi,

Are you aware that your extent is ~3x3 cm? Your pixel resolution in meters is 0.0005. I think you should check your dem.

Best regards, Nils