Giter Site home page Giter Site logo

lutraconsulting / qgis-crayfish-plugin Goto Github PK

View Code? Open in Web Editor NEW
62.0 62.0 24.0 11.2 MB

Plotting and manipulating mesh data in QGIS.

Home Page: http://www.lutraconsulting.co.uk/products/crayfish/

License: Other

Python 99.94% Shell 0.06%
qgis-plugin

qgis-crayfish-plugin's People

Contributors

erpas avatar jvdkwast avatar kinow avatar kkremitzki avatar mach0 avatar michelezornitta avatar michelk avatar mostlyatnight avatar peterpetrik avatar pwcazenave avatar saberraz avatar stuartmead avatar varmar05 avatar vcloarec avatar wonder-sk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qgis-crayfish-plugin's Issues

Crayfish is not able to load depth grid

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']

Display Contours

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

Crayfish layer affects "Control rendering order" in QGIS

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.

Support for triangular elements

TUFLOW WLLs use triangular elements. Crayfish needs to support these element types to be able to visualise results in the watercourse.

QGIS raster and vector tools work on Crayfish dataset

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.

User-defined contour min/max not remembered (regression)

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.

Plot time-series of data

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

  • Scalar results can be plotted for points.
  • Flow could be plotted crossing a line.
  • Volume could be plotted within the bounds of a polygon

All cells are shown (active) in direct-rainfall models.

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.

Support for locking time between datasets in a layer

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.

Creating animation

A feature to record animation of dataseries over time and save it as avi.

Legend

It would be great having a legend similar to legend in QGIS.

Crayfish and project CRS

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.

Incorrect contour of triangles when zoomed out

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.

Colour scale

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

Large dataset support

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.

How to install it on Ubuntu 12.04

I've tried several times. But i can't successfully install it finally. Can you provide more detailed instructions to install it on Linux?

Create animation

Feature to generate animation from timeseries would be great.

Unnecessary error/warning message

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

Support for contour min/max from polyline

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.

Dock position not remembered

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.

Triangular mesh in 2dm

It does not support triangular mesh created with water level lines for 1D channel.
QGIS: 1.8.0-Lisboa
Crayfish: 0.1

Crayfish does not prompt user to browse for unfound .2dm files

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.

Triangular mesh generation

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.