compare sampledepth and photic depth (#14)
documentation for check_depths