Skip to content

Instantly share code, notes, and snippets.

@hannahlowens
Created March 2, 2016 19:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hannahlowens/7f89beaf900f93bdddf3 to your computer and use it in GitHub Desktop.
Save hannahlowens/7f89beaf900f93bdddf3 to your computer and use it in GitHub Desktop.
An example of a c shell script to run a batch of Maxent files on a Mac.
#! /bin/csh
#ChilasaAgestor
java -Xms1G -Xmx4G -jar /FOLDER_CONTAINING_MAXENT/maxent.jar nowarnings noprefixes -E "" -E ChilasaAgestor responsecurves outputformat=raw outputdirectory=/Users/Hannah/Desktop/Grants/PRFBProject/Localities/Models/ChilasaAgestor samplesfile=/Users/Hannah/Desktop/Grants/PRFBProject/Localities/Aggregated/USETHESE/ChilasaAgestor.csv environmentallayers=/Users/Hannah/Desktop/Grants/PRFBProject/Localities/Ms/CRUClimLayers/USETHESE/CAgestor randomseed nowarnings notooltips noaskoverwrite autorun randomtestpoints=50 biasfile=/Users/Hannah/Desktop/Scripts/GeneralUtilityQGISLayers/populationDensity/zTransLogPopDensityCRU.asc replicates=10 replicatetype=bootstrap nothreshold nohinge noautofeature nodoclamp maximumiterations=10000 biastype=3 beta_lqp=.95
#ChilasaClytia
java -Xms1G -Xmx4G -jar /FOLDER_CONTAINING_MAXENT/maxent.jar nowarnings noprefixes -E "" -E ChilasaClytia responsecurves outputformat=raw outputdirectory=/Users/Hannah/Desktop/Grants/PRFBProject/Localities/Models/ChilasaClytia samplesfile=/Users/Hannah/Desktop/Grants/PRFBProject/Localities/Aggregated/USETHESE/ChilasaClytia.csv environmentallayers=/Users/Hannah/Desktop/Grants/PRFBProject/Localities/Ms/CRUClimLayers/USETHESE/CClytia randomseed nowarnings notooltips noaskoverwrite autorun randomtestpoints=50 biasfile=/Users/Hannah/Desktop/Scripts/GeneralUtilityQGISLayers/populationDensity/zTransLogPopDensityCRU.asc replicates=10 replicatetype=bootstrap nothreshold nohinge noautofeature nodoclamp maximumiterations=10000 biastype=3 beta_lqp=.95
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment