NCO has supported MD5 digests since 2012
http://nco.sf.net/nco.html#md5
If I understand your intent, this might be
part of a suitable solution, since you can
use NCO to compute/print (and, optionally store as attributes)
the MD5 hashes of every field in a file,
and these hashes should agree for the same
data regardless of the underlying storage
compression level etc, filesystem type, etc.
It is a foolproof way to verify data integrity.
And NCO can get the files from remote filesystems
via Opendap or HSI or ESGF or scp/ftp.
Feedback welcome.
--
Charlie Zender, Earth System Sci. & Computer Sci.
University of California, Irvine 949-891-2429 )'(