ensoreconYAN for comparing to SOIpr. checkEOFinvert lets you invert EOF after visually checking it. proxyMapping just copied from R_scripts