Comments (9)
Can you look at the .inp file that has been generated at the [TIMESERIES] section. There is apparently a problem there.
from qgis-swmm.
I have opened the swmm.imp file. By default the following error file with the following errors got displayed:
Also in the QGIS Processing section the following errors were displayed:
Uncaught error while executing algorithm
Traceback (most recent call last):
File "C:/PROGRA1/QGIS21.18/apps/qgis/./python/plugins\processing\core\GeoAlgorithm.py", line 203, in execute
self.processAlgorithm(progress)
File "C:/Users/NAGARAJU/.qgis2/python/plugins\qgis-swmm\SwmmAlgorithm.py", line 324, in processAlgorithm
raise RuntimeError('There were errors, look into logs for details')
RuntimeError: There were errors, look into logs for details
The swmm.inp error file details:
Error Report for File C:\Users\NAGARAJU.qgis2\processing\outputs\swmm.inp
Error 201 at line 5:
[OPTIONS]
FLOW_UNITS CFS
Error 201 at line 6:
[OPTIONS]
INFILTRATION HORTON
Error 201 at line 7:
[OPTIONS]
FLOW_ROUTING DYNWAVE
Error 201 at line 8:
[OPTIONS]
START_DATE 01/01/1988
Error 201 at line 9:
[OPTIONS]
START_TIME 00:00:00
Error 201 at line 10:
[OPTIONS]
REPORT_START_DATE 01/01/1988
Error 201 at line 11:
[OPTIONS]
REPORT_START_TIME 00:00:00
Error 201 at line 12:
[OPTIONS]
END_DATE 01/01/1988
Error 201 at line 13:
[OPTIONS]
END_TIME 08:00:00
Error 201 at line 14:
[OPTIONS]
SWEEP_START 01/01
Error 201 at line 15:
[OPTIONS]
SWEEP_END 12/31
45 more errors found in file.
from qgis-swmm.
There is a dateformat incompatibility between Postgres database (where the dateformat appears correct) and the table loaded within QGIS. Now while running the simulation, I deselect timeseries, I get the following error:
Uncaught error while executing algorithm
Traceback (most recent call last):
File "C:/PROGRA1/QGIS21.18/apps/qgis/./python/plugins\processing\core\GeoAlgorithm.py", line 203, in execute
self.processAlgorithm(progress)
File "C:/Users/NAGARAJU/.qgis2/python/plugins\qgis-swmm\SwmmAlgorithm.py", line 396, in processAlgorithm
feature['Time'] = convert_date(tbl[0])+' '+tbl[1]
File "C:/Users/NAGARAJU/.qgis2/python/plugins\qgis-swmm\SwmmAlgorithm.py", line 66, in convert_date
if not m : raise RuntimeError
RuntimeError
from qgis-swmm.
What do you mean by "deselect timeseries" ?
from qgis-swmm.
I have not selected the timeseries object as part of the simulation run.
from qgis-swmm.
I think it's mandatory because the case without timeseries is not handled.
from qgis-swmm.
If I select the timeseries the date format within QGIS is incompatible with the following format: YYYY-mm-dd HH:mm:ss. The timeseries table within QGIS has a different datetime format which I think the python program is not able to convert as it is not in the standard format.
from qgis-swmm.
Can't it be converted to the proper format ?
from qgis-swmm.
from qgis-swmm.
Related Issues (14)
- no output file HOT 5
- Control Rules using TIMEOPEN and TIMECLOSED
- Setting up Qgis swmm HOT 1
- Possible Collaboration with Open Water Analytics HOT 1
- Producing the .inp file rather then running the swmm model HOT 2
- SWMM broken plugin for QGis 2.8.6-wien HOT 4
- Separate in 3 steps HOT 2
- QGIS 3 HOT 7
- qgis to swmm HOT 1
- Provide better use cases with sample data
- Swmm plugin breaking in qgis 2.8 HOT 11
- I got this error on execute the sample data HOT 2
- swmm no output HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qgis-swmm.