nccmp
代码说明:
比较两个netcdf文件 1。通过添加内部ind2sub1函数remove函数依赖第三方 2。格式化文本(Description NCCMP compares two netcdf files and prints the differences. This function is useful for testing mathematical forecasting or prediction models. USAGE: NCCMP(ncfile1,ncfile2) NCCMP(ncfile1,ncfile2,tolerance,forceCompare) INPUT: ncfile1- name of the NetCDF file to compare ncfile2- name of the NetCDF file to compare tolerance- Compare numeric data using a tolerance threshold forceCompare- if false, exit when first difference is found true: continues to process all variables EXAMPLES: nccmp( old.nc , new.nc ,0.000001) nccmp( old.nc , new.nc ,[],true) FEATURES: 1. Print the differences and their locations 2. Exits when first difference is found or optionally continues to process all variables 3. User defined tolerance threshold to compare the variables TO DO: 1. Specific variable inclusion or exclusion 2. Specific attribute inclusion or exclusion 3. Option to ignore the history attribute 4. Ignore difference between v)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!