Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to apply multiple rain gages #7

Open
jbensabat opened this issue Jan 14, 2021 · 5 comments
Open

how to apply multiple rain gages #7

jbensabat opened this issue Jan 14, 2021 · 5 comments

Comments

@jbensabat
Copy link

hello
I am running a case with NUFLOOD over a basin of ~50 Km2 in which the rainfall (intensity and geographic distribution is not uniform. One way to do so is to use multiple rain stations. Is there a way to do that ?
best
jac

@tasseff
Copy link
Member

tasseff commented Jan 17, 2021

Do you mean that you want to introduce water to the system via independent volumetric point sources? If so, I've added another example, point_source/flat within the Nuflood examples repository. If you read the data documentation and the JSON file of this scenario, this scenario adds two point sources at different locations within the domain, where the volumetric flow out of each point source is defined via a CSV file. This is a very basic example, but hopefully it is understandable. If this isn't what you're looking for, please let me know since I may have misunderstood your question.

@jbensabat
Copy link
Author

Hello and thanks for your reply
I did not explain myself clearly.
I have a case in which the rainfall is distributed in an heterogenous way both in terms of cumulative rainfall and distribution in time. For this I need to have the possibility to load multiple raingages
I modified the ISources class in the common library so it can accomodate more then one timeseries (actually a map of timeseries) and a additional grid file in which each cell is associated with a raingage (or timeseries, identified by an id).
now I am trying to figure out how to modify the code so it can calculate the rainfall on cell basis with the new data.
From what I have seen in the code, this option does not seem to be implemented.
best
jac

@tasseff
Copy link
Member

tasseff commented Jan 17, 2021

Okay, I think I understand now. You're correct that such a feature is not implemented. It sounds like you may be on the right track with your implementation, though.

@jbensabat
Copy link
Author

Hi
thanks for your reply
I have completed the addition. Happy to share if there is an interest
best
jac

@tasseff
Copy link
Member

tasseff commented Feb 3, 2021

@jbensabat, feel free to fork and make a pull request on this repository that incorporates your additions, if you'd like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants