lutraconsulting / qgis-crayfish-plugin Goto Github PK
View Code? Open in Web Editor NEWPlotting and manipulating mesh data in QGIS.
Home Page: http://www.lutraconsulting.co.uk/products/crayfish/
License: Other
Plotting and manipulating mesh data in QGIS.
Home Page: http://www.lutraconsulting.co.uk/products/crayfish/
License: Other
The error message has been produced in Windows 64 bit across 2 PCs.
An error has occured while executing Python code:
Traceback (most recent call last):
File "C:/Users/Saber/.qgis//python/plugins\crayfish\crayfish_plugin.py", line 318, in run
assert( parentLayer is not None)
AssertionError
Python version:
2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]
QGIS version:
1.8.0-Lisboa Lisboa, 3d2bcfc
Python path: ['C:/OSGeo4W/apps/qgis/./python', 'C:/Users/Saber/.qgis//python', 'C:/Users/Saber/.qgis//python/plugins', 'C:/OSGeo4W/apps/qgis/./python/plugins', 'C:\OSGeo4W\bin\python27.zip', 'C:\OSGeo4W\apps\Python27\DLLs', 'C:\OSGeo4W\apps\Python27\lib', 'C:\OSGeo4W\apps\Python27\lib\plat-win', 'C:\OSGeo4W\apps\Python27\lib\lib-tk', 'C:\OSGeo4W\apps\qgis\bin', 'C:\OSGeo4W\apps\Python27', 'C:\OSGeo4W\apps\Python27\lib\site-packages', 'C:\OSGeo4W\apps\Python27\lib\site-packages\PIL', 'C:\OSGeo4W\apps\Python27\lib\site-packages\win32', 'C:\OSGeo4W\apps\Python27\lib\site-packages\win32\lib', 'C:\OSGeo4W\apps\Python27\lib\site-packages\Pythonwin', 'C:\OSGeo4W\apps\Python27\lib\site-packages\wx-2.8-msw-unicode', 'C:\OSGeo4W\apps\qgis\python\plugins\fTools\tools']
When un-ticking the box for Display Contour, it does not turn-off the layer.
OS: Windows 7 - 64 bit
QGIS: 1.8.0-Lisboa
Plugin: 0.1
To have the max value/extent as a mask layer (optionally) always on .
This includes:
Displaying vectors on user-defined grid
Filtering vectors by magnitude
Subsequent loads of the same .dat file add a dataset as a duplicate.
Should be a simple slider (for the moment) in-place of the Contour Options button.
When a new Crayfish layer is added to the QGIS canvas, it affects the rendering of the layers. For example the layers which are set to be OFF are still shown on the canvas. The temporary solution is to tick and then untick the box for Control rendering order so that it refreshes the visible layers.
TUFLOW WLLs use triangular elements. Crayfish needs to support these element types to be able to visualise results in the watercourse.
It would be great to have the Crayfish layers registered in QGIS as normal raster and vector layers, so that other plugins and tools work on the data. Fore example, users can then easily interrogate dataset values using Value Tool and Profile.
Version 1.0.3 remembered the user's selection for min/max contour options. This functionality seems to no longer work.
Steps to reproduce:
1 Load a .dat file
2 Select a time step with values shown
3 Enable Specify Colour Scale option
4 Change min and max values (e.g. to 2 and 4)
5 Disable Specify Colour Scale option
6 Enable (again) Specify Colour Scale option
Expected behaviour: After 6, the values of 2 and 4 should be remembered and rendered.
This appears to be a regression bug.
It would be useful to be able to plot time-series data for points, lines and polygons.
Perhaps:
User can select existing lines, points or polygons; or draw them on-the-fly
The cell / element activity flag will likely be switched on throughout the mode during a direct rainfall simulation. In this situation, a feature would be required to allow the user to specify a value under (or over) which pixels will not be rendered.
This would allow only depths over a threshold (e.g. 2mm) to be visualised, making the result visualisation more useful.
When the user loads multiple datasets (into a single crayfish layer), the output times displayed in each dataset are not kept in sync.
It would be good to have an option to 'lock' the times together within a layer.
A feature to record animation of dataseries over time and save it as avi.
After adding Crayfish layer, adding vector layer becomes temperamental. QGIS often fails to load any vector. No error message appears.
QGIS 1.8
Win 7, 64bit
It would be great having a legend similar to legend in QGIS.
If Crayfish layer is the first layer to be loaded in QGIS and canvas projection is set to be set based on the first loaded layer, the project (canvas) CRS turns into blank at the bottom right corner.
This will cause problem, if the user decides to use projection on-the-fly at later stage.
Ensure that all rendering settings are saved to the project file.
Triangle contours look different (and wrong) when zoomed out than when zoomed in. Occurs when triangles are sub-pixel in size.
Note the two different rendering methods depending on whether the element is bigger or smaller than 1px.
When a Project which contains a Crayfish layer is saved, QGIS will not be able to open it and comes up with Bad Allocation error message.
The work around is to remove the layer in qgs file.
Windows 7, 64 bit
QGIS 1.8
When updating the "Specify Colour Scale" boxes for Min and Max, no updates of colors for contours happens on the screen.
OS: Windows 7 - 64 bit
QGIS: 1.8.0-Lisboa
Plugin: 0.1
Currently, Crayfish loads entire datasets into memory. Very large layers result in a bad allocation.
It would be better to load some of the dataset into memory and have functionality for loading the required output steps into memory automatically as required.
Mesh extent
Elements and nodes (and their IDs)
When holding down the up/down arrow on the output times, the plugin should render each output step (animating) before attempting to render the next output time. At present it will miss large chunks of results, leading to a rather dodgy animation.
To include user-defined colour ramps
I've tried several times. But i can't successfully install it finally. Can you provide more detailed instructions to install it on Linux?
A feature to be able to view mesh elements as wireframe in QGIS.
Feature to generate animation from timeseries would be great.
Specifying non-numeric values in Max and Min contour values causing the plugin to crash.
If you click Add Crayfish Layer and then click Cancel in the new window, it comes up with an error message saying the selected file is not supported. The default behavior should be close with no warning or error message.
Qgis: 1.8.0-Lisboa
Crayfish: 0.1
Windows 64-bit
These should respect the user's settings of whether file paths should be absolute or relative.
Adding a velocity.dat (~1.2 GB) Crayfish layer crashes QGIS? If it is due to the large size of the file, it should warn the user.
Sample data are available to test.
A feature that allows the user to create a new QGIS rubber-band (polyline) with which they draw a section in the canvas.
Crayfish then looks at the values through the polyline and adjusts the countour options min/max values accordingly.
When the last crayfish layer is closed, the dock is automatically closed. When the dock is subsequently re-opened, it always appears in the same place and does not remember where the user last put it.
It does not support triangular mesh created with water level lines for 1D channel.
QGIS: 1.8.0-Lisboa
Crayfish: 0.1
Crayfish seems to have problem rendering the output from multiple domains at the point where domains join.
When loading a .dat file (e.g. Model_D.dat), Crayfish will guess the name of the .2dm based on a naming convention. It will guess it as Model.2dm
If the mesh file cannot be found (at present), then Crayfish simply fails to load the layer. A more ideal behaviour would be (in the event of not finding the .2dm) to prompt the user to find it.
Checks would have to be made (if not already done) that the user has selected a 'compatible' mesh (same number of nodes / elements and the .dat file expects).
WORKAROUND - At present, the user must rename the .2dm file to be in line with the naming convention that Crayfish assumes at present.
Are there other people, interested in triangular mesh generation within QGIS?
I have been thinking about this for while. But I'm not sure if it is feasible.
I also don't know if QGIS is capable to provide similar functionality as for
example
SMS.
Support exporting vector (e.g. velocity) data as some kind of vector dataset
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.