-
Notifications
You must be signed in to change notification settings - Fork 22
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
Maxent error and empty SRE file created by BIOMOD_Projection() #221
Comments
Hi Romain, As a summary, you have:
and
I suspect there is an issue with the bathymetry raster which cause problem when exported as
I also noticed at the end of you Best, |
Hi Rémi, Thank you for your quick response! 👍
Best, |
Hi Romain, The maxent error was quite nasty. The topography data that you used had rectangular cells:
You can see there that resolution is different between x and y, although very close to 2. If you want to keep using MAXENT (although you still have the option to use MAXNET) you will need to use a grid with a square resolution. You can do it fairly easily, considering that you raster have nearly a resolution of 2:
then if you do that to all environmental layer, the MAXENT projection should hopefully work. I am still studying the issue with SRE projection. Best, |
Hi Rémi, Thank you for your first response part! This is strange because I used same Best, |
Hi Romain, |
Concerning the SRE problem, I would be curious to see the response curves, although you did not find anything suspicious with them. Additionally what are the results for:
Best, |
Reponse curves: Predictions:
Evaluations:
Best, |
Hi Romain, Best, |
Hi Romain, Thank you for the reproducible example, this helped a lot 🙏 The problem was that environmental variables ordering was different between the data used for the fit and the data used for predicting. For most algorithm this is not a problem. But for the old code we used for SRE predictions, ordering of column was assumed to be identical. Therefore prediction mixed variables and predicted only absences. It is now corrected and the correction will be available with the soon to be released version. Best, |
Hello the biomod team,
I work with biomod2@4.2-2, targets package and linux os. When I follow biomod standard process to build an ensemble model, I don't have any model failed during the construction phase. After run BIOMOD_Projection() and BIOMOD_EnsembleForecasting() functions, I can return maps of all models built (GLM, GAM, MARS, CTA, RF, GBM, ANN) except SRE and MAXENT models. But I can return reponse curves, variables importance and other outputs of SRE and MAXENT models. I don't know if these two errors on SRE and MAXENT models are dependent, but I present both bellow.
My code for models projection:
When I run BIOMOD_Projection() SRE and MAXENT models return empty files into biomod output folder without error:
SRE file printed on QGIS:
MAXENT file printed on QGIS:
Print of a working model (GBM):
When I run BIOMOD_EnsembleForecasting() with same environmental variable files, I have this error and I don't have any output file created:
MAXENT_error.odt
Why do I have projection errors only on these two models when models seem to be built correctly?
For more information:
I use the default settings of biomod but I would like to tune my settings after solving these bugs
The text was updated successfully, but these errors were encountered: