Useful Tools: Difference between revisions

Line 139: Line 139:
  0.424u 0.068s 0:04.28 11.2% 0+0k 0+0io 0pf+0w
  0.424u 0.068s 0:04.28 11.2% 0+0k 0+0io 0pf+0w


Of course, 44 seconds v 4 seconds isn't much (and with smaller files, GPFS can sometimes 'cache' the files making it seem fast), but with c360, things get inflated:
Of course, 44 seconds v 4 seconds isn't much (and with smaller files, GPFS can sometimes 'cache' the files making it seem fast), but with c360, things get inflated. Let's diff two fvcore_internal_rst files:
 
$ time h5diff fvcore_internal_rst.control.nc4 fvcore_internal_rst.test.nc4
3.188u 6.824s '''14:57.19''' 1.1% 0+0k 400+0io 0pf+0w
$ time cdo diffn fvcore_internal_rst.control.nc4 fvcore_internal_rst.test.nc4
  0 of 505 records differ
cdo diffn: Processed 785376000 values from 14 variables over 2 timesteps ( 18.76s )
17.125u 1.648s '''2:33.97''' 12.1% 0+0k 0+0io 0pf+0w


=== Extract fields(s) from a file ===
=== Extract fields(s) from a file ===