For more examples, take a look at https://github.com/USGCRP/gcis-scripts.