We, currently, have two methods for creating a model. The first is by using the Maxent java package and the second is creating a "rare species model" using the occurrences convex hull intersected with ecoregions. We would like to add functionality so that the method used can be determined by the records we want to model (< 12 points use rare model otherwise use maxent). However, makeflow requires the command to be known at the time of the workflow's definition. Therefore, one option is that we can wrap both modeling methods in a common script and have the script determine which method to use. This is similar to what we did with the previous incarnation of Lifemapper by choosing between Maxent and openModeller.
This script should be generalized a bit more if possible so that we can easily add more modeling methods should they arise, or reinstate openModeller potentially.
I think that the parameters should look something like:
Occurrences csv file
Occurrences headers for species, x, and y (or assume some defaults)
Any occurrence data wranglers? (May need to filter data for modeling if it hasn't been filtered)
Model climate layers (including ecoregion)
Projection climate layers (including ecoregion)
Model parameters JSON (should include parameters for each model method that could be selected as well as condition for selecting each) -- REQUIRES A DEFINED SCHEMA
Model metadata output filename
Model output raster filename
Other model outputs filename (maxent produces some other stuff that we may want to keep)
We, currently, have two methods for creating a model. The first is by using the Maxent java package and the second is creating a "rare species model" using the occurrences convex hull intersected with ecoregions. We would like to add functionality so that the method used can be determined by the records we want to model (< 12 points use rare model otherwise use maxent). However, makeflow requires the command to be known at the time of the workflow's definition. Therefore, one option is that we can wrap both modeling methods in a common script and have the script determine which method to use. This is similar to what we did with the previous incarnation of Lifemapper by choosing between Maxent and openModeller.
This script should be generalized a bit more if possible so that we can easily add more modeling methods should they arise, or reinstate openModeller potentially.
I think that the parameters should look something like: