Closed EdgarEspitia closed 4 weeks ago
Dear Edgar
This issue is happening with version HDF5 v1.12.2 while is not showing up on v1.12.1. However, as you wrote, it is not affecting the results, so you can just ignore it. I take note of that for a future fix. The issue of the cutmap getting stuck is also a known issue, we will work to fix it for the next release but you can just run the cutmaps again when you get this issue and it will work. You can use the cutmap tool as an executable command or use it programmatically from the python code. To use it in python code, you just need to import the tool and then run the following command:
from lisfloodutilities.cutmaps.cutlib import cutmap
cutmap(file_to_cut, fileout, x_min, x_max, y_min, y_max, use_coords)
Where use_coords=True means that it will cut the map using coordinates, while use_coords=False will use indices. For more details on coordinates and indices or for a detailed description on the command-line options you can check the readme file in the cutmaps section.
Kind regards, on behalf of the developers team, Carlo
Dear Carlo,
Thank you very much!
Dear developers,
I am using the tool cutmaps but I get the error:
The error shows when I cut the outputs of lisvap, it can happen for e0, et, es, or ta. Even though the error the files are usable in lisflood. In addition, sometimes the cutmap tool get stuck and never finish the cutting, do you have any advice on how to manage this issue? could you provide an example of how to use the cutmap tool programmatically?
Thanks Edgar