Under development...
kasra-keshavarz / hydrant Goto Github PK
View Code? Open in Web Editor NEWHYDrological ANalysis Tool
License: GNU General Public License v3.0
HYDrological ANalysis Tool
License: GNU General Public License v3.0
An aggregation criteria applicable to both river DAGs and sub-basins Polygons is needed to target sub-basins below a certain threshold
Request by: @zktesemma
The package misses relevant readthedocs
documentation.
There are cases where non-contributing areas are part of the catchment geometry, with the difference that no river segments are defined for them. This can be easily detected as part of the prepare_cat() function.
The unit of the area
needs to be defined by the user. Otherwise, the default unit of CRS
with EPSG
value of 6933
will be considered. Furthermore, the fid
of the area
variable needs to be given by the user.
hydrant/src/hydrant/topology/geom.py
Lines 98 to 100 in d01d8b1
Adding a list of outlet IDs can be helpful for multiple basin domain extraction
The following argument needs to get out of hard-coded state, and should only be used if provided as an input. Meaning, the area is only calculated if this variable is entered as an input (for now, using **kwargs
argument):
hydrant/src/hydrant/topology/geom.py
Line 62 in d01d8b1
hydrant/src/hydrant/topology/river_graph.py
Line 142 in 474e794
It should be explicitly specified that the returned graph is a nx.DiGraph
. This could be done by adding the create_using=nx.DiGraph
to the list of arguments of the function above.
If the dtype
of input columns of the rivs
object is not int
or float
, the following lines will cause an issue:
hydrant/src/hydrant/topology/geom.py
Lines 266 to 270 in d01d8b1
It is better to get the data types of each column as a separate argument (optional), and do necessary checks given the object's data type.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.