wntr.network.io#
The wntr.network.io module includes functions that convert the water network model to other data formats, create a water network model from file, and write the water network model to a file.
Functions
Create or append a WaterNetworkModel from a dictionary |
|
Create or append a WaterNetworkModel from GeoDataFrames |
|
Create or append a WaterNetworkModel from GeoJSON files |
|
Create or append a WaterNetworkModel from an EPANET INP file |
|
Create or append a WaterNetworkModel from a JSON file |
|
Create or append a WaterNetworkModel from Esri Shapefiles |
|
Convert a WaterNetworkModel into a dictionary |
|
Convert a WaterNetworkModel into GeoDataFrames |
|
Convert a WaterNetworkModel into a networkx MultiDiGraph |
|
Valid column/field names for GeoJSON or Shapefiles |
|
Write the WaterNetworkModel to a set of GeoJSON files, one file for each network element. |
|
Write the WaterNetworkModel to an EPANET INP file |
|
Write the WaterNetworkModel to a JSON file |
|
Write the WaterNetworkModel to a set of Esri Shapefiles, one directory for each network element. |