Git Product home page Git Product logo

gistoswmm5's People

Contributors

tjniemi 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gistoswmm5's Issues

qgis to swmm

i'm trying to use your plugin with qgis 3.12.2 but there are any missing content in the downloaded file. i need a procedure to import in swmm 5.1 from a qgis' shape file. i hope you can send me a solution.
thanks

Valerio

Flow Direction Raster format

The documentation in the input files mentions that we can generate flow direction from ArcMap and QGIS.

I am using QGIS and GRASS's r.fill.dir, the issue I am facing is that the coding of (agnps) mode is different to the one required in GIStoSWMM.

  • 1 in agnps is north
  • 1 required in GIStoSWMM is northeast

so,
Could you please share with us how you generated the raster?

as a temporary solution, I am writing a quick script to fix my coding. but curious about how to do it because it will simplify the workflow.

Thanks,
Faris

Non-roof landuse not mapped

Dear all,

thanks for this opensource.

When executing

./GisToSWMM5 raster_dem.asc raster_flowdir.asc raster_landuse.asc table_catchment_props.csv table_junctions.csv table_conduits.csv table_outfalls.csv table_header.csv table_evaporation.csv table_temperature.csv table_snowpacks.csv table_raingages.csv table_inflows.csv table_timeseries.csv table_pumps.csv table_curves.csv table_storage.csv table_dwf.csv table_patterns.csv table_losses.csv table_xsection.csv table_report.csv table_symbols.csv test/out 1

I receive

Report:
-> Running time: 0.137109 minutes
-> Total number of cells: 146
-> Number of active cells: 146
-> Catchment area: 5.6865 ha
-> Catchment average elevation: 0 m
-> Catchment average slope: 0
-> Landuse information (code, number of cells, area in ha, % of catchment):
        10      54      2.3627  41.5493
        12      51      1.9307  33.9523
        14      41      1.3931  24.4984
        26      0       0       0
        30      0       0       0
        32      0       0       0
        34      0       0       0
        60      0       0       0
        62      0       0       0
        64      0       0       0

This means that no non-roof landuse cells are mapped. The table_catchment_props.csv reads

id,imperv,dst_imp,n_imper,dst_per,n_perv,percz_i,rain_ga,conduct,initdef,suction,Snowpacks,Tag
10,100,0.87,0.012,0.87,0.012,0,STA01,4.21,0.217,88.9,sp_imp_nonplowable,Dach
12,100,0.87,0.012,0.87,0.012,0,STA01,4.21,0.217,88.9,sp_imp_nonplowable,Kiesdach
14,100,0.87,0.012,0.87,0.012,0,STA01,4.21,0.217,88.9,sp_imp_nonplowable,Gründach
26,100,0.87,0.012,0.87,0.012,0,STA01,4.21,0.217,88.9,sp_imp_nonplowable,Container
30,100,0.42,0.011,0.42,0.011,0,STA01,4.21,0.217,88.9,sp_imp_plowable,Asphalt
32,100,0.39,0.02,0.39,0.02,0,STA01,4.21,0.217,88.9,sp_imp_plowable,Pflaster
34,100,4.22,0.238,4.22,0.238,0,STA01,4.21,0.217,88.9,sp_imp_nonplowable,Senke
60,0,4.22,0.238,4.22,0.238,0,STA01,4.21,0.217,88.9,sp_per,Grünfläche
62,0,4.22,0.238,4.22,0.238,0,STA01,4.21,0.217,88.9,sp_per,Wald
64,100,4.22,0.238,4.22,0.238,0,STA01,4.21,0.217,88.9,sp_imp_nonplowable,Wasser

Header of raster_flowdir.asc

ncols        470
nrows        358
xllcorner    3476805.690999999642
yllcorner    5532655.959999999031
cellsize     1.000000000000
NODATA_value 247
 5 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 ]

Header of raster_landuse.asc

ncols        466
nrows        490
xllcorner    3476809.000000000000
yllcorner    5532523.000000000000
cellsize     1.000000000000
NODATA_value  nan
 nan nan nan nan nan nan nan nan nan

Any hints very much appreciated.

Best regards

Sebastian

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.