📄 test.out
字号:
MAKE A FEW SD FILEStestsd -p9000 t1.sdtestsd -p128 t2.sdtestsd -p3200 t3.sdDO SOME COPIEScopysd -x3 -p100:+1500 t1.sd t4.sdcopysd: output file is t4.sdcopysd: checking ESPS commoncopysd: first input file is t1.sdcopysd: full range is 100 to 1600copysd: range for t1.sd is 100 to 1600copysd: copying file t1.sdcopysd: need total of 1501 in chunks of 8192copysd: asked for 1501 samples, got 1501copysd: 1501 records so far, 0 to gocopysd: copied 1501 total records from file t1.sdcopysd: grand total records so far = 1501copysd: normal exitcat t4.sd | copysd -x3 t1.sd - t2.sd t3.sd - > t5.sdcopysd: output file is <stdout>copysd: first input file is t1.sdcopysd: input file is <stdin>copysd: input file is t2.sdcopysd: input file is t3.sdcopysd: full range is 1 to 2147483647copysd: range for t1.sd is 1 to 9000copysd: range for <stdin> is 1 to 2147483647copysd: range for t2.sd is 1 to 128copysd: range for t3.sd is 1 to 3200copysd: copying file t1.sdcopysd: need total of 9000 in chunks of 8192copysd: asked for 8192 samples, got 8192copysd: 8192 records so far, 808 to gocopysd: asked for 808 samples, got 808copysd: 9000 records so far, 0 to gocopysd: copied 9000 total records from file t1.sdcopysd: grand total records so far = 9000copysd: copying file <stdin>copysd: need total of 2147483647 in chunks of 8192copysd: asked for 8192 samples, got 1501copysd: 1501 records so far, 2147482146 to gocopysd: copied 1501 total records from file <stdin>copysd: grand total records so far = 10501copysd: copying file t2.sdcopysd: need total of 128 in chunks of 8192copysd: asked for 128 samples, got 128copysd: 128 records so far, 0 to gocopysd: copied 128 total records from file t2.sdcopysd: grand total records so far = 10629copysd: copying file t3.sdcopysd: need total of 3200 in chunks of 8192copysd: asked for 3200 samples, got 3200copysd: 3200 records so far, 0 to gocopysd: copied 3200 total records from file t3.sdcopysd: grand total records so far = 13829copysd: normal exitAFTER SCRIPT COMPLETES, RUN psps -a ON t5.sd AND SEE IF IT MAKES SENSETOTAL NUMBER OF RECORDS SHOULD BE 13829NOW TEST WITH INPUT OUT OF RANGEcopysd -x3 -p1:50 t1.sd t4.sdcopysd: output file is t4.sdcopysd: checking ESPS commoncopysd: first input file is t1.sdcopysd: full range is 1 to 50copysd: range for t1.sd is 1 to 50copysd: copying file t1.sdcopysd: need total of 50 in chunks of 8192copysd: asked for 50 samples, got 50copysd: 50 records so far, 0 to gocopysd: copied 50 total records from file t1.sdcopysd: grand total records so far = 50copysd: normal exitcopysd -x3 -p100:+8192 t1.sd t4.sd t6.sdcopysd: output file is t6.sdcopysd: first input file is t1.sdcopysd: input file is t4.sdcopysd: full range is 100 to 8292copysd: range for t1.sd is 100 to 8292copysd: WARNING - no records in range for file t4.sdcopysd: range for t4.sd is 100 to 50copysd: copying file t1.sdcopysd: need total of 8193 in chunks of 8192copysd: asked for 8192 samples, got 8192copysd: 8192 records so far, 1 to gocopysd: asked for 1 samples, got 1copysd: 8193 records so far, 0 to gocopysd: copied 8193 total records from file t1.sdcopysd: grand total records so far = 8193copysd: copying file t4.sdcopysd: need total of -49 in chunks of 8192copysd: copied 0 total records from file t4.sdcopysd: grand total records so far = 8193copysd: WARNING - no records copied for file t4.sdcopysd: normal exitcat t4.sd | copysd -x3 -p100:+8192 t1.sd - t6.sdcopysd: output file is t6.sdcopysd: first input file is t1.sdcopysd: input file is <stdin>copysd: full range is 100 to 8292copysd: range for t1.sd is 100 to 8292copysd: range for <stdin> is 100 to 8292copysd: copying file t1.sdcopysd: need total of 8193 in chunks of 8192copysd: asked for 8192 samples, got 8192copysd: 8192 records so far, 1 to gocopysd: asked for 1 samples, got 1copysd: 8193 records so far, 0 to gocopysd: copied 8193 total records from file t1.sdcopysd: grand total records so far = 8193copysd: copying file <stdin>copysd: need total of 8193 in chunks of 8192copysd: asked for 8192 samples, got 0copysd: copied 0 total records from file <stdin>copysd: grand total records so far = 8193copysd: WARNING - no records copied for file <stdin>copysd: normal exitcopysd -x3 -p100:+8192 t1.sd - t6.sd < t4.sdcopysd: output file is t6.sdcopysd: first input file is t1.sdcopysd: input file is <stdin>copysd: full range is 100 to 8292copysd: range for t1.sd is 100 to 8292copysd: WARNING - no records in range for file <stdin>copysd: range for <stdin> is 100 to 50copysd: copying file t1.sdcopysd: need total of 8193 in chunks of 8192copysd: asked for 8192 samples, got 8192copysd: 8192 records so far, 1 to gocopysd: asked for 1 samples, got 1copysd: 8193 records so far, 0 to gocopysd: copied 8193 total records from file t1.sdcopysd: grand total records so far = 8193copysd: copying file <stdin>copysd: need total of -49 in chunks of 8192copysd: copied 0 total records from file <stdin>copysd: grand total records so far = 8193copysd: WARNING - no records copied for file <stdin>copysd: normal exitTEST TYPE CONVERSION, SCALING, AND CLIPPINGecho '1 2 40000 -55000 2 1' | testsd -a- - | copysd -x3 -s2 -ds -p2:5 - t7.sdcopysd: output file is t7.sdcopysd: first input file is <stdin>copysd: full range is 2 to 5copysd: range for <stdin> is 2 to 5copysd: copying file <stdin>copysd: need total of 4 in chunks of 8192copysd: asked for 4 samples, got 4copysd: 4 records so far, 0 to gocopysd: copied 4 total records from file <stdin>copysd: grand total records so far = 4copysd: normal exitDO A COPY BASED ON ESPS COMMONstats -r100:109 t1.sdstats: filename: t1.sd, start: 100, end: 109Element Minimum at Maximum at Mean Std. Dev Magnitude 1 -500 109 500 101 46.1933 400.285 0copysd t8.sdcopysd: input file name t1.sd taken from ESPS Commoncopysd: starting record = 100 taken from ESPS Commoncopysd: number records = 10 taken from ESPS Common DON'T FORGET TO CLEAN UP SD FILES
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -