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

v.maxent.swd: bug fixes and new option to export explanatory raster layers #1009

Merged
merged 19 commits into from
Jan 14, 2024

Conversation

ecodiv
Copy link
Contributor

@ecodiv ecodiv commented Jan 5, 2024

  • Bug fixes
  • Added option to export the raster layers used as input in the creation of the SWD file. This can be used in Maxent as projection layers.

- Bug fixes
- Added option to export the raster layers used as input in the creation of the SWD file. This can be used in Maxent as projection layers.
@ecodiv ecodiv added bug Something isn't working enhancement New feature or request labels Jan 5, 2024
@ecodiv ecodiv self-assigned this Jan 5, 2024
@ecodiv ecodiv requested a review from ninsbl January 5, 2024 21:07
Copy link
Member

@ninsbl ninsbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In principle this looks good!. I have not tested though.
Feel free to disregard suggestions where you would disagree.

src/vector/v.maxent.swd/v.maxent.swd.html Outdated Show resolved Hide resolved
src/vector/v.maxent.swd/v.maxent.swd.html Outdated Show resolved Hide resolved
src/vector/v.maxent.swd/v.maxent.swd.html Outdated Show resolved Hide resolved
src/vector/v.maxent.swd/v.maxent.swd.py Outdated Show resolved Hide resolved
src/vector/v.maxent.swd/v.maxent.swd.py Outdated Show resolved Hide resolved
src/vector/v.maxent.swd/v.maxent.swd.py Show resolved Hide resolved
src/vector/v.maxent.swd/v.maxent.swd.html Outdated Show resolved Hide resolved
src/vector/v.maxent.swd/v.maxent.swd.py Outdated Show resolved Hide resolved
src/vector/v.maxent.swd/v.maxent.swd.py Outdated Show resolved Hide resolved
src/vector/v.maxent.swd/v.maxent.swd.html Show resolved Hide resolved
ecodiv and others added 8 commits January 7, 2024 11:53
Co-authored-by: Stefan Blumentrath <stefan.blumentrath@gmx.de>
Co-authored-by: Stefan Blumentrath <stefan.blumentrath@gmx.de>
Co-authored-by: Stefan Blumentrath <stefan.blumentrath@gmx.de>
Co-authored-by: Stefan Blumentrath <stefan.blumentrath@gmx.de>
Co-authored-by: Stefan Blumentrath <stefan.blumentrath@gmx.de>
Updates based on suggestions from @ninsbl
@ecodiv
Copy link
Contributor Author

ecodiv commented Jan 7, 2024

Hi @ninsbl, first, thanks for the suggestions. I followed up on all your suggestions, I think, but merging is still blocked. Do you know what else I need to do to go ahead?

@echoix
Copy link
Member

echoix commented Jan 7, 2024

@wenzeslaus could we have automerge enabled here too? It could’ve been used here

ecodiv and others added 8 commits January 7, 2024 18:38
Co-authored-by: Markus Neteler <neteler@osgeo.org>
Maxent only accepts raster cells with equal ns and ew resolution. Added code that checks the region setting, and gives a fatal message if ns resolution is not ew resolution. Optionally, the user can set the -e flag. This will automatically adjust the resolution of the largest side to match that of the smallest side.
I plan to use this proj. file in r.maxent.train to check if the crs of the data used for the training matches that of the current mapset. If not, this proj. file will make it possible to import the output of r.maxent.train with reprojection (with warning). I can still have r.maxent.train issue a warning if there is no proj file, and let the user explicitly use the -o flag to override the projection check.
@ecodiv ecodiv merged commit ab82b89 into OSGeo:grass8 Jan 14, 2024
7 checks passed
@ecodiv ecodiv deleted the v_maxent_swd branch January 14, 2024 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants