What version of python is anaconda using? See if you can ascertain the anuga version. Ie run import anuga print(anuga.get_version()) Also it would be interesting to see if any of the dll files are in the appropriate directory. Can you check out the directory C:\Users\Bisag\anaconda3\envs\pyqgis_env\lib\site-packages\anuga\abstract_2d_finite_volumes and see if the dll files exist. Your conda install should have provided those! It would be useful to track down the problem. But as mentioned maybe a...
There seems to be a problem with your anuga installation, in particular the location or creation of the file neighbour_table_ext.dll How did you install anuga? You should be able to do a simple pip install anuga Cheers Steve [cid:8fe20eb5-babf-439c-af38-71c75a659314] ============================== Emeritus Prof Stephen Roberts (he/him) Mathematical Sciences Institute Hanna Neumann Building #145 The Australian National University Canberra, ACT 2600 AUSTRALIA T: +61 2 61254445 | E: stephen.roberts@anu.edu.au...
Rup, the example code you have provided doesn't have an if statement in the evolve loop. Can you provide the actual code you are using. Also in the email the python indentation has been lost. I assume the code is correctly indented in the file? I would suggest creating variables stage = domain.quantities['stage'].centroid_values elev = domain.quantities['elevation'].centroid_values before the evolve loop and calculate the depth specifically inside your evolve loop depth = stage[indices] - elev[indicies]...
Hi Rup, Of course you could go into the anuga code to do this, but you can probably do what you want within a standard anuga script. You can run multiple evolve loops of some fixed duration within a while loop. Break out of the while loop when your flood condition has occurred. Cheers Steve Get Outlook for Androidhttps://aka.ms/AAb9ysg From: discussion@anuga.p.re.sourceforge.net discussion@anuga.p.re.sourceforge.net on behalf of Rup rupi@users.sourceforge.net Sent: Tuesday, December 16, 2025 11:01:23...
Hi, You should be able to use qgis directly on the sww file. Here is some documentation I have just recently added. https://anuga.readthedocs.io/en/latest/visualisation/use_qgis.html Qgis doesn't pick up crc from the sww file so you need to manually set the crc for the sww mesh layer. I will have to look into the problem regarding sww2dem.py. It is strange that the zone and the shifts have not transferred over correctly. Perhaps a problem picking out which hemisphere? There is also a make_geotiff...
Hi, Here is a blurb I am planning to add to the documentation: .. _use_qgis: Visualise with QGIS You can use QGIS to visualise ANUGA simulation results stored in sww files. Opening sww files in QGIS Open QGIS. From the "layer" menu choose "Data Source Manager" This gives you a file choice. Choose your *.sww file. Choose (double click) the layer that has been created. Set the CRS (Coordinate Reference System) to the appropriate value. At present QGIS does not automatically read the georeference information...
Hi George, It probably would be good to get parallel_rectangle working again! parallel_rectangle hasn't been used for a number of years and at present doesn't provide enough info to work perfectly with the anuga current code, in particular creating sww files! We need to extend parallel_rectangle to provide information defining the translation from local to global numbering (via arrays tri_l2g and node_l2g) and information like number of full and ghost triangles. Also the current code assumes that...