Closed saberraz closed 6 years ago
which script? If we have the script source, it would be easily possible to add a action on results dataset to "add Maximums". This action (in right click menu) can for example go through time-varying dataset and compute maximum and add it as a new CF layer.
2 potential problems:
From the ANUGA developer's mail:
ANUGA has an operator anuga.operators.collect_max_quantities_operator which can be used to store the maximum at every timestep (not just sww output timesteps).
For an example of its usage, see anuga_core/examples/cairns_excel/run_model.py
At the moment this operator only provides optional csv export of the maxima -- they don't go to netcdf.
We have 2 options:
The first option is ideal as there will be no interpolation and the values are related to the native mesh element.
I still think it makes more sense to have it as a dummy time step within the netcdf result or as an external netcdf file. That's how majority of the modelling packages handle max values.
From Crayfish 3.x release and QGIS 3.4 release, the rendering and styling is implemented in QGIS Core. The data reading and support is implemented in MDAL. Please reopen the ticket in QGIS bug tracker for rendering issues or MDAL for format support issues. Thanks.
Currently, users need to run a script to extract maximums from SWW files. Would be good to have a nice method of extracting and displaying the maximums in Crayfish.