Open chrisrac opened 1 year ago
@chrisrac Sorry for the delay. I have been working with one other WRF-Hydro user who encountered similar issues on a Mac. I was able to find a MacOS (11.7.3 Big Sur) to test with. Some very small changes allowed the Build_Routing_Stack.py script to function properly. See commit 02a3171667b9a5b698506d382dae7440b92ab7a2 for specific details. I tried to replicate the copy error, but could not. I did change some of the library syntax, so let us know if that fixes the copy error.
As far as the GDAL imports, this should have been addressed already with some LooseVersion checks against the GDAL library versions. If GDAL > 3.0.0 then it will import with from osgeo import gdal
style syntax.
Try pulling the current master and let us know if you continue to encounter the error.
any propositions for fixes? (yes, import copy is working, and calling copy.copy(something) outside this script is working normally
also imports of grib, osr, gdal and gdalnumeric are not working, unless changed manually to