mplstereonet icon indicating copy to clipboard operation
mplstereonet copied to clipboard

Added a batch processing example

Open mtb-za opened this issue 8 years ago • 1 comments

A basic implementation of batch processing of fold data. This script accepts a list of datafiles and will plot the poles, then calculate and plot the fold axis and the axial plane of the fold.

mtb-za avatar Mar 30 '16 09:03 mtb-za

Sorry for my delay in replying to this! Thanks a ton for submitting the example!

There's one caveat -- I use the examples as integration tests. The test suite generates an image for each example and compares it to a saved image.

As it stands, this example won't play well with the test suite (mostly because it generates output files). I can definitely change things to make it work, but there's more than one way to handle it. I've been putting off merging this until I have time to think through it. (For example, it would be easy to just not have it generate output images, but that would make it a less useful example.)

Regardless, it's a great example, and I'm definitely going to merge the pull request, I just need to think through the best way to integrate it into the test suite.

Thanks again for submitting it!

joferkington avatar Apr 01 '16 16:04 joferkington