📄 getcdps
字号:
#! /bin/sh# Select small sets of cdps for testing processing parameters# NOTE: Comment lines preceeding user input start with #!## Author: Jackset -x#!# Set input file name and fold (if known, else adjust suwind line)input=cdp201to800.pack # assuming packed input (cf. supack2)fold=30#!# Set output files and cdp rangesspacedcdps=cdpby100 # unpacked outputcdpfirst=201 dcdp=100 # parameters to select non-contiguous cdpscontigcdps=cdp371to380 # unpacked outputcdpmin=371 cdpmax=380 # parameters to select contiguous cdps### Window off a panel of cdps that ranges over the data>$spacedcdps # zap any previous filesuwind <$input key=cdp s=$cdpfirst j=$dcdp |suunpack2 >>$spacedcdps ### Window off a contiguous panel of cdps>$contigcdps # zap any previous filecount=`bc -l <<END $fold * ($cdpmax - $cdpmin + 1)END`suwind <$input key=cdp min=$cdpmin max=$cdpmax count=$count |suunpack2 >$contigcdpsexit
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -