Changes between Version 4 and Version 5 of Documentation/UserGuide/DifferencesNetcdf


Ignore:
Timestamp:
2014-12-11T19:35:12+01:00 (10 years ago)
Author:
luyssaert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/UserGuide/DifferencesNetcdf

    v4 v5  
    1 = How to check whether two netcdf files are identical = 
     1= How to check whether two (netcdf) files are identical = 
    22 
    33=== cdo diffv === 
     
    88cdo diffv   path_file_1   path_file_2 > output_file_name.txt 
    99}}} 
    10 ADVANTAGE: the output file tells you which fields are different. Be aware, though that this method works best for smaller netCDF files. If your history file is more than a few megabytes, the output text file may be many hundreds of megabytes. In that case, the md5sum command may be a better option.  
     10ADVANTAGE: the output file tells you which fields are different. Be aware, though that this method works best for smaller netCDF files. If your history file is more than a few megabytes, the output text file may be many hundreds of megabytes. In that case, the md5sum command may be a better option. 
     11DISADVANTAGE: only works for netcdf files  
    1112 
    1213=== md5sum === 
     
    1819as a result you will get a code. Run the same command on the second file and only when the code is identical for both files, the files are exactly the same. 
    1920 
     21ADVANTAGE: works for all files. 
    2022DISADVANTAGE: you only know whether the files are identical or not. If not, you have no idea which fields are different.