## for processing ##---------------- ## ship name: shipname = "Sally Ride" ## at-sea "proc_cfg.*" initialized date = "2024/01/19 02:17:17" ## ## This file starts as /home/adcp/config/proc_cfg.py or .toml and ## includes the following information. Uncomment, left-justify ## and fill these in if you are attempting to generate proc_cfg.* ## from this template. The file must be named {cruiseid}_proc.py or *.toml ## or for this example, kk1105_proc.py or kk1105_proc.toml. ## ## example values: fill in for your cruise... # # yearbase = 2011 # usually year of first data logged # uhdas_dir = "/home/data/kk1105" # path to uhdas data directory # shipname = "Ka`imikai O Kanaloa" # for documentation # cruiseid = "kk1105" # for titles # # #======== serial inputs ========= # choose position instrument (directory and rbin message) pos_inst = "seapath_mru" pos_msg = "gps" # choose attitude instruments (directory and rbin message) pitch_inst = "seapath_mru" # pitch is recorded, but NOT used in transformation pitch_msg = "sea" # disable with "" (not None) roll_inst = "seapath_mru" # roll is recorded, but NOT used in transformation roll_msg = "sea" # disable with "" (not None) hdg_inst = "seapath_mgc" # reliable heading, used for beam-earth transformation hdg_msg = "hdg" ## heading correction ## all heading+msg pairs, for hbin files hdg_inst_msgs = [ ['seapath_mgc', 'hdg'], ['seapath_mru', 'sea'], ['hemisphere', 'gph'], ] ## instrument for heading correction to ADCP data (dir and msg) hcorr_inst = "seapath_mru" # disable with "" (not None) hcorr_msg = "sea" # disable with "" (not None) hcorr_gap_fill = 0.0 ## fallback correction for hcorr gaps ## calculate hdg_inst - hcorr_inst, eg gyro - ashtech ## SAME SIGN CONVENTION as cal/rotate/ens_hcorr.ang ## if there is a posmv acc_heading_cutoff = 0.02 # =========== ADCP transformations======== # heading alignment: nominal - (cal/watertrack) # ec150 angle to match os150 best h_align = { wh300 = 33.94, ec150 = 54.1, os150 = -20.47, os38 = 52.38 } # transducer depth, meters ducer_depth = { wh300 = 4, ec150 = 5, os150 = 4, os38 = 4 } # velocity scalefactor # see SoundspeedFixer in pycurrents/adcp/pingavg.py scalefactor = { wh300 = 1.01, ec150cw = 1.0, ec150fm = 1.0, os150bb = 1.01, os150nb = 1.01, os38bb = 1.0, os38nb = 1.0 } # soundspeed # Soundspeed is usually None, and should ALWAYS be left as None for Ocean Surveyor # (it is remotely possible that soundspeed for a WH, BB, or NB might need to # be set to a number, but usually that just results in an erroneous # scale factor. soundspeed = { wh300 = "None", ec150cw = "None", ec150fm = "None", os150bb = "None", os150nb = "None", os38bb = "None", os38nb = "None" } # salinity salinity = { wh300 = "None", ec150cw = "None", ec150fm = "None", os150bb = "None", os150nb = "None", os38bb = "None", os38nb = "None" } #================================================================= # ========= values for quick_adcp.py ========== # ========= These are set here for at-sea procesing, ========== # ========= but are REQUIRED in quick_adcp.py control ========== # ========= file for batch mode or reprocessing. ========== ## choose whether or not to use topography for editing ## 0 = "always use amplitude to guess the bottom; ## flag data below the bottom as bad" ## -1 = "never search for the bottom" ## positive integer: Only look for the bottom in deep water, where ## "deep water" is defined as "topo database says greater than this". max_search_depth = { wh300 = 500, ec150cw = 1000, ec150fm = 1000, os150bb = 1000, os150nb = 1000, os38bb = 2000, os38nb = 2000 } # special: weakprof_numbins weakprof_numbins = { wh300 = "None", ec150cw = "None", ec150fm = "None", os150bb = "None", os150nb = "None", os38bb = "None", os38nb = "None" } # set averaging intervals enslength = { wh300 = 120, ec150cw = 300, ec150fm = 300, os150bb = 300, os150nb = 300, os38bb = 300, os38nb = 300 } # Estimate of offset between ADCP transducer and gps: # - Specify integer values for 'xducer_dx' and 'xducer_dy' for each instrument # - xducer_dx = ADCP's location in meters, positive starboard with the GPS # location as origin # - xducer_dy = ADCP's location in meters, positive forward with the GPS # location as origin # # There should be one set of xducer_dx, xducer_dy values per instrument # Ex. (python version): # xducer_dx = dict( # wh300 = -2, # os38 = 16, # ) # Ex. (toml version) # xducer_dy = { wh300 = 1, os38 = 6 } # # Note that estimates of xducer_dx, xducer_dy can be found in # cal/watertrk/guess_xducerxy xducer_dx = { wh300 = -1, ec150 = 0, os150 = -3, os38 = -2 } xducer_dy = { wh300 = 8, ec150 = 0, os150 = 9, os38 = 10 } ## If there is a bad beam, create a dictionary modeled after ## enslen (i.e. Sonar-based, not instrument based) and use the ## RDI number (1,2,3,4) to designate the beam to leave out.