GithubHelp home page GithubHelp logo

vforwater / hydrobox Goto Github PK

View Code? Open in Web Editor NEW
21.0 5.0 3.0 7.37 MB

hydrological preprocessing and analysis toolbox build upon pandas and numpy

Home Page: https://vforwater.github.io/hydrobox

License: MIT License

Python 100.00%
hydrology hydrological-data-analysis toolbox

hydrobox's People

Contributors

mmaelicke avatar

Stargazers

 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

hydrobox's Issues

Cool packages

For #4 , this issue could collect some modlues that have already solved at lot of stuff. Whenever we can do the I/O via numpy or pandas, we should use their stuff instead of reprogramming it

  • pastas for time series analysis - not sure though if this is 'just' a model / modeling framework

Clean CI

I want to move to github actions. Also, the CI is broken in some parts.

Start development again

I have some plans to start developing into this package again.

My first plan is to check this list raoulcollenteur/Python-Hydrology-Tools

There are some well known and some not so well known, but awesome tools. I think some really fall into the scope of hydrobox and implementing some interfaces to these packages makes them usable with hydrobox.

@MarcusStrobl , this would also make them usable in V-FOR-WaTer, so it might be worth it to scan the list for you as well.?
Besides that, do you have general comments concerning hydrobox (maybe especially on a WPS_toolbox interface), before I dive into work?
Also, I think we could transfer hydrobox to V-FOR-WaTer organization. That can make it more visible in the context it is developed. We could also streamline developments better in GH issues on a project board.

I'm open to any suggestions!

Implement bokeh as alternative plotting lib

I am thinking about implementing bokeh as an alternative for plotting. Similar to holoviews, the user could switch from the default matplotlib plotting backend to bokeh.
Plotting tools would return the bokeh.plotting.figure.Figure to let the user decide whether to use it in a notebook, save it into a file or create the Jsonfor bokehjs from it.
Similar to matplotlib, the functions would also accept a bokeh.Figure to plot on as an argument.

I think it is still not too much work to go for this way. Would help the lib, and might be helpful in V-FOR-WaTer portal.
@MarcusStrobl , what do you think about this?

Would it be appreciated and helpful in the Visualization implementation of V-FOR-WaTer?

Unsure about output from flow_duration_curve

I would like to plot the output from flow_duration_curve in Bokeh, though the output seems not to be usable for that.
According to the line for plotting in flow_duration_curve I should use sorted x and p values:

ax.plot(x[index], p[index], **kwargs)

sorted according to p:

index = np.argsort(p)

The output of flow_duration_curve is return p[index], but without the index I cannot create x[index].
So I guess a better output would be p instead of p[index], or a matching pair of x[index] and p[index].

To illustrate the problem I added some images. The result plot of the tool looks like this:
grafik
Naive plot of result from flow_duration_curve with x looks like:
grafik
Naive test to plot result from flow_duration_curve with x[np.argsort(x)] or x[np.argsort(p)] didn't work neither, of course.
grafik
grafik

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.