Tuesday, September 29, 2015

Big Changes Coming!

Hey all,

Increasingly, I've been thinking that this blog would be a good place for some more general-purpose biogeography talk, and open to more people than just me and Rich.  I've talked to the authors of the old Species in Space blog that I contributed to, and we've decided we're going to move all of that content (and people) over here.

Some time in the next few weeks, you will see a bunch of posts from Species In Space show up here, and soon after that you will start seeing new content from some very cool people doing very cool biogeography things.  If any of you out there are looking for a place to blog some biogeography stuff, give me a shout!

In order to fit the new focus, we'll also gradually rebrand this to be the Species in Space blog, rather than strictly ENMTools.  That'll mean a new look, a new logo, and pointing the Species in Space URL over here.  No worries, though, I'll keep the old enmtools.com URL pointed here too, in case people have bookmarks to that.

I'm busy as can be at the moment, so this is all going to happen in fits and starts.  I think it will be pretty cool when we get it together, though, and hopefully you'll all enjoy it.


Tuesday, August 4, 2015

Tutorials on Maxent and ENMTools

A few months ago, I gave a workshop at James Cook University in Townsville, Australia.  We covered some basic concepts for niche modeling and ecological biogeography, and then ran through some sample exercises in Maxent, ENMTools, and ecospat.

First, here's a tutorial on basic ideas and procedures for niche modeling:

Then a very brief foray into the different assumptions that need to be made when using niche models for different purposes in ecological biogeography:

The main event is a two hour demo of ENMTools.  We're having problems with the audio right now, but we'll try to get it uploaded shortly.

For those of you who want to play along at home, the demo data is here:


I really want to thank JCU for having me out, and in particular Megan Higgie and Conrad Hoskin for their hospitality.

Tuesday, September 3, 2013

Fixed error in resampling in ENMTools 1.4.3

I've fixed a bug in 1.4.3 that kept the "resample from raster" command from printing results to the output file.  It was a very silly error; basically I had disabled printing for debugging and forgot to turn it back on!

Anyway, it's fixed now and should be working fine.  While I was at it, I fixed it so that the resample command now uses the output directory set in the ENMTools Options tab, instead of printing to the directory where the layers you're resampling from are located.  The new version is here:


Saturday, July 6, 2013

ENMTools 1.4.3

While trying to iron out the weirdness of Perl with Mac line endings in .csv files (unsuccessfully), I added some bits of code that seem to have caused the model selection functions in ENMTools to stop working on some input files.  Here's a fixed version.

Sunday, June 16, 2013

Version 1.4.2, adding sampling without replacement to "Resample From Raster" function

By request, I have added a radio button for sampling with or without replacement to the "resample from raster" function.  This function was initially intended for simulating data for methodological studies, but can also be used to sample random points for conducting significance tests for AUC values a la Raes and ter Steege 2007 (using the "constant" setting).  The initial setup was to always resample with replacement.  This isn't ideal for the Raes and ter Steege test, but was unlikely to have any real impact except on models built over very small geographic regions and/or those with very coarse resolution (i.e., study areas with a very small number of grid cells).

I'll post a detailed tutorial eventually, once I get a spare moment to breathe.  Long story short: if you have N data points and want to do X replicates, you load up a raster file that has data in grid cells for your study area and nodata values outside the study area.  This can even be the .asc file for your model itself.  Use the resample from raster tool, constant sampling function, to sample N data points for X replicates.  Then build a single model for each of those replicates using the same study area, model construction settings, and environmental predictors as in your model for your empirical data.  Collect all of the AUC train and test scores from those replicate models, and use those as the null distribution against which to compare your empirical values for AUC train and test.  Guidance on how to do that is here:

Species In Space

The new version is here:

ENMTools 1.4.2

Perl version only, see my previous kvetching about Active State if you want to know why.

Thanks to Marie-France Ostrowski for the suggestion and Renee Catullo for testing it.

Sunday, April 7, 2013

Version 1.4.1 with minor bug fixes

Hey everybody,
Here's a new version that fixes a couple of minor problems with version 1.4.  There was a problem with newlines in the sorted.csv file for the identity test in the previous version, so that all values would appear on a single line.  That should be fixed now, as should a bug that was causing extraneous text to appear after visiting the ENMTools Options page.

ENMTools 1.4.1

Monday, November 12, 2012

Testing new version of ENMTools

Sorry for the long delay between posts/versions; my postdoctoral work took me in a direction that made it very hard to update for a while.  I'm now at The Australian National University for a new postdoc, though, and I'm hoping that I'll have a little more time to keep up with ENM Tools.  On that front, here's an updated version that fixes a few minor problems:

This update consists of two main revisions and a bit of code-tidying.  The first revision was to fix the "Resample from raster: exponential" function, which didn't work properly with scores over 1.  The second was to add some code to calculate overlaps and breadths using a different method that is suitable for larger files.  To use this method, just go to the ENMTools options and click the button for "Large file overlap/breadth".

Unfortunately at the moment there's only a perl script version available - Activestate updated the Perl Dev Kit so that it stopped working with Tkx, and I'm waiting to find out how much it's going to cost to upgrade.  If anyone out there has a working copy of Perlapp and can build Windows and OSX version, feel free.  You would have my, and everyone else's, heartfelt thanks.  We'll try to get something worked out soon regardless.

Unfortunately the issue with Mac line endings is still not fixed - I don't know if it's a Tk issue or what, but it's proving more challenging to fix than it should be.  I will keep hacking at it, though, as the line ending issue is a major pain in the ass for everyone, including me.  

If anyone out there has specific requests for the next revision, please let me know!