-
Notifications
You must be signed in to change notification settings - Fork 147
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.forcircular: Evaluation of circular bioconomy level of forest ecosystems #694
Conversation
…nability of the forest-wood supply chain in a circular bioeconomy approach.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! I did a very quick check only. Some edits and comments below.
Co-authored-by: Veronica Andreo <veroandreo@gmail.com>
Co-authored-by: Veronica Andreo <veroandreo@gmail.com>
Co-authored-by: Veronica Andreo <veroandreo@gmail.com>
Co-authored-by: Veronica Andreo <veroandreo@gmail.com>
Co-authored-by: Veronica Andreo <veroandreo@gmail.com>
Co-authored-by: Veronica Andreo <veroandreo@gmail.com>
Co-authored-by: Veronica Andreo <veroandreo@gmail.com>
Co-authored-by: Markus Neteler <neteler@osgeo.org>
There is some potential to make the code both more simple and more efficient. Let me know if you are interested in suggestion. Also, the hardcoded mapnames pose a risk that existing data accidentally gets overwritten or deleted. I would probably try to avoid that by using unique temporary mapnames (or prefixes). |
I fully agree on temporary names |
# for details. | ||
# | ||
############################################################################# | ||
#%Module |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please insert a space between # and % # %
in all these lines (see also #693).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here the spaces git lost again... please add them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Co-authored-by: Nicklas Larsson <n_larsson@yahoo.com>
And we do have functions for in the library: import grass.script as gs
raster_1_name = gs.append_node_pid("tmp_raster_1")
print(raster_1_name) Copy-paste to, e.g., binder to try. |
Watch out, you have copied the |
Many many many thanks for your time and your patience! |
do i have to do some other operation to close the pull request? |
From a code formality point of view, black and flake8 are happy, it seems to be good for me. |
Just the comment-spaces seem to be gone again in the parser section? |
You're right. Missed that now. Funny, those spaces live their own life... |
is there still something missing? I can't merge autonomously right? or maybe yes? |
The spaces between
No, only someone with write access can merge. |
Done |
Congrats, thanks for your contribution. Merging now. |
Thank you very much Markus. |
Well, I am not a git guru at all: It is Perhaps simply open a new PR after modifying the parser space stuff and refer to this PR in the description? |
On Windows 10 / Grass 8 if I try to install r.forcircular through g.extension obtain this: Details: And if I type r.forcircular both in the console and in the terminal nothing happens ..... the command is not found. Also in the extension management the addon seems not installed. But in GRASS8/addons/scripts r.forcircular.py is present. The test was done on a Windows 10 virtual machine (vmware) |
I get the same behavior with other addons (i.e. r.diversity). This is the error message: The same error message is also obtained on some core features such as r.param.scale
I tried with 2 different virtual machine and my collegue has the same beahviour with an other Windows computer. |
…stems (OSGeo#694) * add new module r.forcircular: Analyze and measure the level of sustainability of the forest-wood supply chain in a circular bioeconomy approach. * add some patch to resolve suggested issues * change 9,999 to number format 9.999 * insert a space between # and % # % * removed row with overwrite:yes in parse module section * wrapped html code to 80 characters * images aligned correctly * accepted suggestion for wood waste; accepted suggestion for the new paragraph for the model explaination; code formatted correctly Co-authored-by: Veronica Andreo <veroandreo@gmail.com> Co-authored-by: Markus Neteler <neteler@osgeo.org> Co-authored-by: Nicklas Larsson <n_larsson@yahoo.com>
@fra-lab, @neteler, what is the status of the r.forcircular addon? |
Here the log snippet for easier consumption:
What I am wondering, is |
Not likely related to missing extension. Should be taken care of: By the look of it, all C code based addons listed in https://wingrass.fsv.cvut.cz/grass82/addons/grass-8.2.0/logs/ are failing. More probably related to build environment (PATH?). |
@neteler it seems it is also reported at OSGeo/grass#2288 (comment) by @tmszi. |
Issue is completely described here OSGeo/grass#2288 (comment). The process of building MS WinGRASS takes place on servers at CVUT university and only @landam and maybe @pesekon2 has access. |
Both https://wingrass.fsv.cvut.cz/grass82/addons/grass-8.2.0/logs/ and https://wingrass.fsv.cvut.cz/grass82/addons/grass-8.2.1/logs/ still report the fail of the r.forcircular addon build. |
Replace `–` with `-` to (hopefully) address OSGeo#694 (comment)
Fix attempted in #909 |
Replace `–` with `-` to (hopefully) address #694 (comment)
Replace `–` with `-` to (hopefully) address OSGeo#694 (comment)
Analyze and measure the level of sustanability of the forest-wood supply chain in a circular bioeconomy approach.