possible solution Issue #79
add writeerrorstring test, update doc
added NCSA example from leehambley