FLO-2DSoftware / qgis-flo-2d-plugin

A plugin for pre-processing/post-processing FLO-2D models
7 stars 7 forks source link

Import/Export INP code review #1517

Closed rpachaly closed 1 month ago

rpachaly commented 2 months ago

@FLO-2DKaren Hi Karen, I've finished the refactoring of importing SWMM INP. Here are some key points:

Pros:

Cons:

Honestly, I trust more this code than the old one. However, I coded this in a way that we can use the old code without any issues. The export code I did not change and I think it is okay, no need to change it.

It is on https://github.com/FLO-2DSoftware/qgis-flo-2d-plugin/tree/import-swmminp-refactor

rpachaly commented 2 months ago

I don't think that we'll have any merging issues because it is brand new code and just a few adaptations. I'll be working on this code to finish the testing modules. After that, we can merge it if you agree with the new code and the testing is done.

rpachaly commented 2 months ago

Now it is ready for testing. I did a lot of improvements on the testing. So the SD testing on github is working.

FLO-2DKaren commented 1 month ago

I ran through the import inp many times with no issues. I also did the storm drain from shapefile with no issues. I think it will be OK.