Sort3d, Grid_fold - Sort, transpose, or test gridding parameters
Sort3d,Grid_fold <in.H >out.H pars
number of sort keys
name of key to sort in ascending order
number of grid cells for key_
sampling of grid cells for key_
first location of grid cell for key_
plane to transpose (eg) '34'
[0] amount of progress info to print out
[0] whether [1] or not [0] to synch traces
[1] whether (1) or not(0) to compress the trace in bin axis if it equal 1
[0] wheter (1) or not(0) to preserver the input n2,n3,n4,n... values
[20] maximum amount of memory in megabytes to use. This is only somewhat accurate because it will always hold (n_sort_keys +1 * n2). Memory consumed will be approximately max(max_memory,100000+(n_sort_keys+1)*n2
Sort3d serves three purposes: Sorting, tranposing or testing binning params
To sort a SEP3d dataset use nkeys key1, og1, etc Sort3d < in.H >out.H [pars]
To transpose a dataset provide : Sort3d plane=23 < in.H >out.H
To test a gridding pattern use sort pars Grid_fold < in.H >out.H [pars]
util/cube