nccmp https://gitlab.com/remikz/nccmp
Can be used to compare the content of netcdf files
Compare the data (variable values)
nccmp -d file1 file2
Compare the metadata
nccmp -m file1 file2
Include global attributes in the comparison
nccmp -g file1 file2