t.rast.aggregate.seasons: new addon for GRASS 8#1010
t.rast.aggregate.seasons: new addon for GRASS 8#1010lucadelu wants to merge 5 commits intoOSGeo:grass8from
Conversation
src/temporal/t.rast.aggregate.seasons/t.rast.aggregate.seasons.html
Outdated
Show resolved
Hide resolved
….html Co-authored-by: Markus Neteler <[email protected]>
|
Would it be an option to add the choice between meteorological and astronomical seasons? |
|
The following works nicely as advertised. If I also define the output, I get an empty stdrs (i.e., no actual raster layers are created) |
Done in 56abd70 |
This is strange, there are tests to check this and it seems to work properly, could you please run the test in your environment? |
I'll try, but later this week. I am not sure how you run those tests, though. Just a matter of running the Python code in those test files? |
Super.. and on the change that I am over-asking, would it be an idea to let the user define their own seasons? If you think so, but have no time, I can give it a try adding it (at some time). |
@lucadelu I wasn't sure how to run the test, so I just created a new location following the code in the test file and ran the rest of the code manually. All works, except the last step from the test file: Runs without error, and results in the new strds I get the following error message: So the same problem I reported earlier. |
| if strds.find("@") >= 0: | ||
| id_ = strds | ||
| else: | ||
| id_ = f'{strds}@{gs.gisenv()["MAPSET"]}' |
There was a problem hiding this comment.
[ruff] reported by reviewdog 🐶
| id_ = f'{strds}@{gs.gisenv()["MAPSET"]}' | |
| id_ = f"{strds}@{gs.gisenv()['MAPSET']}" |
This surpasses the previous #1003