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

r.sim.water: fix logfile writing #4522

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Conversation

petrasovaa
Copy link
Contributor

@petrasovaa petrasovaa commented Oct 14, 2024

Fixes #4511. Previously, user input was not being passed to the library. I also fixed the documentation for r.sim.water.
I removed create_observation_points() because it's already in input_data():

create_observation_points();

I tested both r.sim.water and r.sim.sediment and the log file content seem to make sense.

@petrasovaa petrasovaa added bug Something isn't working backport to 8.4 PR needs to be backported to release branch 8.4 labels Oct 14, 2024
@petrasovaa petrasovaa added this to the 8.4.1 milestone Oct 14, 2024
@petrasovaa petrasovaa self-assigned this Oct 14, 2024
@petrasovaa petrasovaa requested a review from wenzeslaus October 14, 2024 18:58
@github-actions github-actions bot added raster Related to raster data processing C Related code is in C module labels Oct 14, 2024
@xycarto
Copy link

xycarto commented Oct 14, 2024

Built from https://github.com/petrasovaa/grass/tree/r.sim.water-fix and tested on Ubuntu 24.04.

Log file now being output and errors as expected

Thank you @petrasovaa

@petrasovaa petrasovaa merged commit c0c5380 into OSGeo:main Oct 15, 2024
26 of 27 checks passed
petrasovaa added a commit that referenced this pull request Oct 15, 2024
@petrasovaa petrasovaa removed the backport to 8.4 PR needs to be backported to release branch 8.4 label Oct 15, 2024
@petrasovaa petrasovaa deleted the r.sim.water-fix branch October 15, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working C Related code is in C module raster Related to raster data processing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] r.sim.water: Observations, no logfile
3 participants