Git Product home page Git Product logo

vectorfieldcalc's Introduction

VectorFieldCalc

VectorFieldCalc is a QGIS plugin for calculating physical parameters (e.g., divergence, curl module, pathlines), given a 2D, steady vector field, such as the velocity field of glacial flows.

Contacts:

Mauro Alberti - [email protected]

vectorfieldcalc's People

Contributors

mauroalberti avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

luanschimidel

vectorfieldcalc's Issues

unable to write output

Dear Mauro,
Tank you for developing the useful vectorfieldcalc tool for QGIS. I used to use it under Qgis 2.7 without issue. I am now using QGIS 3.6 and the tool is not working anymore. Giving it two rasters with east and north velocity components and asking for any of the output available, I get "Unable to write magn.asc" even if I do have the rights to do so. The file is created but empty.
Any clue on what is going on ?

I am running Ubuntu 18.04 with matplotlib 3 and Qgis 3.6
Thank for the help,
Marianne

Couldn't load plugin 'VectorFieldCalc' due to an error when calling its classFactory() method

Hi,
I'm having a little not so little issue. I would like to use the Vector menu of QGIS but there are none of the "by default" plugin that work. I get this message error every time I want to use it. Additionally, there is the data management tools that I would like to use that does not show up.
I tried reinstalling the plugins but nothing changed, even if the command say it is successfully installed.
I would greatly appreciate any input on this issue :)
All the best

Message:
Couldn't load plugin 'VectorFieldCalc' due to an error when calling its classFactory() method

ModuleNotFoundError: No module named 'gdal'
Traceback (most recent call last):
File "C:\PROGRA1/QGIS311.12/apps/qgis-ltr/./python\qgis\utils.py", line 334, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:\Users/-/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\VectorFieldCalc_init.py", line 29, in classFactory
from .vfc_main import VectorFieldCal
File "C:\PROGRA1/QGIS311.12/apps/qgis-ltr/./python\qgis\utils.py", line 793, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\Users/-/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\VectorFieldCalc\vfc_main.py", line 17, in
from .main_dialog import MainDialog, HelpDialog
File "C:\PROGRA1/QGIS311.12/apps/qgis-ltr/./python\qgis\utils.py", line 793, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\Users/-AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\VectorFieldCalc\main_dialog.py", line 17, in
from .qgis_utils.qgs import *
File "C:\PROGRA1/QGIS311.12/apps/qgis-ltr/./python\qgis\utils.py", line 793, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\Users/-/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\VectorFieldCalc\qgis_utils\qgs.py", line 16, in
from ..pygsf.libs_utils.gdal.gdal import *
File "C:\PROGRA1/QGIS311.12/apps/qgis-ltr/./python\qgis\utils.py", line 793, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\Users/-/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\VectorFieldCalc\pygsf\libs_utils\gdal\gdal.py", line 12, in
import gdal
File "C:\PROGRA1/QGIS311.12/apps/qgis-ltr/./python\qgis\utils.py", line 793, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'gdal'

Python version: 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)]
QGIS version: 3.16.12-Hannover Hannover, be6cb03

Python Path:
C:/PROGRA1/QGIS311.12/apps/qgis-ltr/./python
C:/Users/-/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/-/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA1/QGIS311.12/apps/qgis-ltr/./python/plugins
C:\PROGRA1\QGIS311.12\bin\python39.zip
C:\PROGRA1\QGIS311.12\apps\Python39\DLLs
C:\PROGRA1\QGIS311.12\apps\Python39\lib
C:\PROGRA1\QGIS311.12\bin
C:\PROGRA1\QGIS311.12\apps\Python39
C:\PROGRA1\QGIS311.12\apps\Python39\lib\site-packages
C:\PROGRA1\QGIS311.12\apps\Python39\lib\site-packages\win32
C:\PROGRA1\QGIS311.12\apps\Python39\lib\site-packages\win32\lib
C:\PROGRA1\QGIS311.12\apps\Python39\lib\site-packages\Pythonwin
C:/Users/-/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:\Users-\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\vector_tiles_reader\ext-libs
C:/Users/-/Desktop/3_PhD/31_PhD/313_Kersa/5_QGIS-project

Capture

Capture2

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.