Package: lcheapo
lcheapoViewing and modifying LCHEAPO OBS dataOverviewCommand-line programsType{command} -hto get a list of parameters and optionsPrograms that don't modify filesProgramdescriptionlcdumpdump raw information from LCHEAPO fileslcinforeturn basic information about an LCHEAPO filelcplotplot an LCHEAPO filelctestplot LCHEAPO testslc_examplescreate a directory with examples of lcplot and lctestPrograms that modify filesThese programs use theSDPCHAINprotocols for FAIR-
compliant data:Create/append to a process-steps.json fileRead from input directory (-i) and output to (-o)Programdescriptionlccutextract section of an LCHEAPO filelcfixfix common bugs in an LCHEAPO filelcheadercreate an LCHEAPO header + directorysdpcatconcatenate data filessdpsteprun a command line tool and save info to process-steps filelc2ms_weakconverts LCHEAPO file to basic miniSEED fileslc2SDS_weakconverts LCHEAPO file to SeisComp Data Structure, with basic drift correctionlctest control fileslctest uses YAML-format control files to indicate what kind of plots to
output.  The datetime ranges in theplotssections must be within those given
in theinputsection, as data is only read using theinputtime bounds.for details on the control file format, type:python
    > import lcheapo
    > help(lcheapo.lctest)to put example lctest control files in the current directory, type:lctest --examplesExample plotsExamples1: Analysing one station---input:start_time:"2022-02-22T10:00:01"end_time:"2022-02-25T15:25:25"datafiles:-name:"TestAcq-BB02-ProgV1-3.raw.lch"obs_type:'BBOBS1'station:'TEST'description:"TestsonBBOBS"output:show:Truefilebase:'BB02-V1_3-tests'plot_globals:spectra:window_length.s:1024plots:time_series:-description:"Entiretimeseries"select:{station:"*"}start_time:"2022-02-22T10:00:01"end_time:"2022-02-25T15:25:25"-description:"Quiettime"select:{station:"*"}start_time:"2022-02-23T21:00:00"end_time:"2022-02-24T03:00:00"-description:"Stacktime"select:{station:"*"}start_time:"2022-02-25T13:54:00"end_time:"2022-02-25T14:03:00"spectra:-description:"Quiettime"select:{station:"*"}start_time:"2022-02-23T21:00:00"end_time:"2022-02-24T03:00:00"stack:-description:"Stack,JumpSouth"orientation_codes:["Z"]offset_before.s:0.3offset_after.s:1times:-"2022-02-25T13:57:00.66"-"2022-02-25T13:58:00.53"-"2022-02-25T13:59:00.2"-description:"Stack,JumpEst"orientation_codes:["Z"]offset_before.s:0.3offset_after.s:1times:-"2022-02-25T14:00:00.4"-"2022-02-25T14:01:00.15"-"2022-02-25T14:02:00.18"particle_motion:-description:"Stack,JumpSouth"orientation_code_x:"2"orientation_code_y:"1"offset_before.s:0.00offset_after.s:0.03offset_before_ts.s:0.2offset_after_ts.s:1times:-"2022-02-25T13:57:00.66"-"2022-02-25T13:58:00.53"-"2022-02-25T13:59:00.2"-description:"Stack,JumpEst"orientation_code_x:"2"orientation_code_y:"1"offset_before.s:0.1offset_after.s:0.2offset_before_ts.s:0.3offset_after_ts.s:1times:-"2022-02-25T14:00:00.4"-"2022-02-25T14:01:00.15"-"2022-02-25T14:02:00.18"Output plotstime_seriesspectrastackparticle_motion2: Comparing several stations---input:start_time:nullend_time:nulldatafiles:-name:"20191107T14_SPOBS09_F02.raw.lch"obs_type:"SPOBS2"station:"09F2"-name:"20191107T14_SPOBS09_F02.raw.lch"obs_type:"SPOBS2"station:"09c1"-name:"20191107T14_SPOBS09_F02.raw.lch"obs_type:"SPOBS2"station:"09c2"description:"Simulationofmulti-instrumenttest"output:show:Truefilebase:"MAYOBS6"plot_globals:stack:offset_before.s:0.5offset_after.s:1.5plot_span:Falseparticle_motion:offset_before.s:0.00offset_after.s:0.03offset_before_ts.s:0.1offset_after_ts.s:0.2spectra:window_length.s:100plots:time_series:-description:"Entiretimeseries"select:{station:"*"}start_time:nullend_time:null-description:"Quietperiod"select:{channel:"*3"}start_time:nullend_time:"2019-11-07T13:57"-description:"Rubberhammertaps"select:{station:"*"}start_time:"2019-11-07T14:08"end_time:"2019-11-07T14:11:10"spectra:-description:"Entiretimeseries"select:{component:"3"}start_time:nullend_time:null-description:"Quietperiod"select:{channel:"*3"}start_time:nullend_time:"2019-11-07T13:57"