cefect / FloodRescaler

Rescaling flood layers
MIT License
2 stars 1 forks source link

Downscaling CostGrow: Error! Dimensions of file are different #5

Open AnuPal1Hydro123 opened 1 year ago

AnuPal1Hydro123 commented 1 year ago

I have resampled DEM to 4m and the WSE to 32m. I am using an updated version of QGIS, but ends up with the same error. Only resample script is working. Getting error with both the terrain filter and cost grow. Here is the error log file Error_4mDEM_32mWSE.txt

AnuPal1Hydro123 commented 1 year ago

Hi. The dimension mismatch issue could be due to no data values in my flood raster. Now I am using a flood map from a hydraulic model , resample it to 32m. I also resample the DEM to 4m. Now Cost-Grow algorithm seems to work fine and returns the fine resolution map. But I have got another issue. The output raster that I got after running the algorithm is just a small portion (see the top right portion of the attached image) of the flood map. You can check the attached images. First image is the DEM with the Coarse flood map and the second image is the DEM with the Cost-Grow output. Same with the TerrainFIlter result. What could be the reason for this? DEM+CoarseFloodMap DEM+CostGrow_output

Thank you

cefect commented 1 year ago

glad to hear the resampling is working. At some point I'd like to add a pre-processing tool to harmonize the rasters.

AnuPal1Hydro123 commented 1 year ago

Hi. Here is the input data that I am using . Input_Data.zip

AnuPal1Hydro123 commented 12 months ago

Hi.. I have truncated the no data region from my DEM. Took a small polygon and then run the cost grow algorithm. I am attaching the screenshot here. With the same input data TerrainFilter algorithms is working fine.

Clipped_wse: Coarse resolution input flood map DEM: Fine resolution input elevation data Output_WSE: Result after running CostGrow model

ERROR__

cefect commented 11 months ago

For the small extent output issue, please see issue #6 . Keeping this issue (#5) open as a reminder to add the dimension harmonizer.