encoding utf-8
# 2024.09.08
survey Cowshead_master -title "Cueva de la Cabeza de Vaca
(Cowshead Cavern)
Valle de Sobra,
Cantabria, Picos de Europa"
# Master file for Cowshead
###############
#Inputs
###Main line###
input 1_0_entrance_upstream/cowshead_entrance.th
input 2_0_Ramp_downstream/CH_ramp_downstream.th
input 3_0_Pool_to_ramp/CH_pool_to_ramp.th
input 4_0_Sump1_to_pool/CH_sump1_to_pool.th
#Post sump
input 5_0_sump1/Sump1.th
input 6_0_sump1_to_2/sump_1_to_2.th
input 7_0_sump2/Sump2.th
input 8_0_chamber_to_sump2/cowshead_chamber_to_sump_1.th
input 9_0_sump3_to_chamber/Cowshead_Sump_3.th
input 10_0_sump3_to_5/sump3_5.th
###Side passages###
input 2_1_0_calcite_oxbow/CH_calcite_oxbow.th
input 2_1A_0_tobys_sump/CH_tobys_sump.th
input 3_1_0_ramp_to_milkloft/CH_ramp_to_milkloft.th
input 3_1A_0_milkloft_to_pool/CH_milkloft_to_pool.th
input 3_1B_0_milkloft_2/CH_milkloft_2.th
input 3_2_0_milkloft/CH_milkloft.th
input 3_3_0_above_stream/CH_above_stream.th
input 3_4_0_uppermost/CH_uppermost.th
#Post sump
input 6_1_0_2018_extensions/2018_extensions.th
input 11_0_upper_level/upper_level.th
#################
#Maps
###Elevations###
map EntranceToFirstBoulderChokeElevation -projection extended
m1s@cowshead_entrance
break
mCH_2s_2@CH_ramp_downstream
mCH_2_1s@CH_calcite_oxbow
break
mCH_2_1A_1s@CH_tobys_sump
break
# mCH_3_3s@CH_above_stream ##hidden for 2024 publication until fixed
# break
# mCH_3_4s@CH_uppermost ##hidden for 2024 publication until fixed
endmap
map MilkloftElevation -projection extended
mCH_3_1_1s@CH_ramp_to_milkloft
break
mCH_3_1A_1s@CH_milkloft_to_pool
mCH_3_1B_1s@CH_milkloft_2
mCH_3_2_1s@CH_milkloft
endmap
map MilkloftToSump1Elevation -projection extended
MilkloftElevation
mCH_2s_1@CH_ramp_downstream
break
mCH_3s@CH_pool_to_ramp
break
mCH_4s@CH_sump1_to_pool
endmap
map Sump1AndBeyondElevation1 -projection extended
m1s@2018_extensions
m1s@Sump1
m1s@sump_1_to_2
m1s@Sump2
m1s@cowshead_chamber_to_sump_1
endmap
map Sump1AndBeyondElevation2 -projection extended
m1s@Cowshead_Sump_3
m1s@sump3_5
break
m1s@upper_level
endmap
###Plans###
map EntranceToSumpLowerRoutePlan -projection plan
## mCH_3_1A_2p@CH_milkloft_to_pool ## this seems to be included below as well?
break
m1p@cowshead_entrance
break
mCH_4_1p@CH_sump1_to_pool
mCH_2p_1@CH_ramp_downstream
mCH_2_1p@CH_calcite_oxbow
break
mCH_3_1_chamberp@CH_ramp_to_milkloft [-50 0 m] above
break
mCH_3p@CH_pool_to_ramp
mCH_4_2p@CH_sump1_to_pool
break
mCH_2p_2@CH_ramp_downstream
endmap
map RampToMilkloft -projection plan #The bits of the upper level visible from below
mCH_3_1A_3p@CH_milkloft_to_pool
break
mCH_3_1_2p@CH_ramp_to_milkloft
endmap
map TobysToCamaraAzul -projection plan #Toby's sump and cámara de murciélago azul
mCH_3_3_2p@CH_above_stream [-25 -20 m] above
break
mCH_2_1A_1p@CH_tobys_sump
mCH_3_3_1p@CH_above_stream [-25 -20 m] above
mCH_3_4p@CH_uppermost [-25 -20 m] above
endmap
map MilkloftPlan -projection plan
mCH_3_2_1p@CH_milkloft
mCH_3_1_1p@CH_ramp_to_milkloft
mCH_3_1B_1p@CH_milkloft_2
break
mCH_3_1A_1p@CH_milkloft_to_pool
break
mCH_3_1A_2p@CH_milkloft_to_pool
endmap
map Sump1AndBeyondPlan -projection plan
m1p@upper_level
break
m1p@2018_extensions
break
m1p@Sump1
m1p@sump_1_to_2
m1p@Cowshead_Sump_3
m1p@sump3_5
break
m1p@Sump2
m1p@cowshead_chamber_to_sump_1
endmap
###Masters###
map MasterPlan
TobysToCamaraAzul
break
MilkloftPlan [-50 0 m] above
break
RampToMilkloft [-50 0 m] above
break
EntranceToSumpLowerRoutePlan
break
Sump1AndBeyondPlan
endmap
map MasterExtElevation
EntranceToFirstBoulderChokeElevation
MilkloftToSump1Elevation
#Sump1AndBeyondElevation1
#Sump1AndBeyondElevation2
endmap
############
#Joins
###Pre-sump###
##Plan joins##
#Between scrap
join 3_3_1rhw@CH_above_stream:end 3_4_1rhw@CH_uppermost:0
join 3_3_1lhw@CH_above_stream:end 3_4_1lhw@CH_uppermost:end
#Milkloft
join 3_1_1l@CH_ramp_to_milkloft:0 3_1A_1l@CH_milkloft_to_pool:0
join 3_1_1r@CH_ramp_to_milkloft:0 3_1A_1r@CH_milkloft_to_pool:0
join 3_1_2l@CH_ramp_to_milkloft:0 3_1B_1l@CH_milkloft_2:end
join 3_1_2r@CH_ramp_to_milkloft:0 3_1B_1r@CH_milkloft_2:0
join 3_1_3l@CH_ramp_to_milkloft:end 3_2_1l@CH_milkloft:end
join 3_1_3r@CH_ramp_to_milkloft:end 3_2_1r@CH_milkloft:0
#Within scrap
join 3_3_2_1rhw@CH_above_stream:end 3_3_2_2rhw@CH_above_stream:end
join 3_3_2_1lhw@CH_above_stream:0 3_3_2_2lhw@CH_above_stream:0
##End Plan joins##
##Elevation joins##
#Between scrap
# join 3_3_1c@CH_above_stream:end 2_0_2c1@CH_ramp_downstream:0
# join 3_3_1f@CH_above_stream:end 2_0_2f1@CH_ramp_downstream:end
# join 2_0_2c3@CH_ramp_downstream:end 2_0_1c1@CH_ramp_downstream:end
# join 2_0_2f3@CH_ramp_downstream:0 2_0_1f1@CH_ramp_downstream:0
join 5_0_1er@Sump1:end 4_0_1er@CH_sump1_to_pool:0
join 5_0_1el@Sump1:0 4_0_1el@CH_sump1_to_pool:end
##PW new joins to fix MilkPool warp issues
join CH_calcite_oxbow-CH_2_1_1s@CH_calcite_oxbow CH_ramp_downstream-CH_2_0_2s@CH_ramp_downstream
join CH_sump1_to_pool-CH_4_0_1s@CH_sump1_to_pool CH_milkloft_to_pool-CH_3_1A_1s@CH_milkloft_to_pool
join CH_sump1_to_pool-CH_4_0_1s@CH_sump1_to_pool CH_ramp_to_milkloft-CH_3_1_1s@CH_ramp_to_milkloft
#Within scrap
##End Elevation joins##
###End pre-sump###
###Post-sump###
#Plan Joins
join sump1-1p@Sump1 sump_1_to_2-sump_1_to_2p@sump_1_to_2
join sump_1_to_2-sump_1_to_2p@sump_1_to_2 2018_extensions-1p@2018_extensions
join sump_1_to_2-sump_1_to_2p@sump_1_to_2 sump2-1p@Sump2
join sump2-1p@Sump2 cowshead_chamber_to_sump_1-lake_to_sump2p@cowshead_chamber_to_sump_1
join sump3_5-2p@sump3_5 Sump_2_Sump_3p@Cowshead_Sump_3
join Rift_Bypass@Cowshead_Sump_3 upper_level-1p@upper_level
#Elevation Joins
join sump1-extend-1s@Sump1 sump_1_to_2-sump_1_to_2s@sump_1_to_2
join sump1-extend-1s@Sump1 2018_extensions-1s@2018_extensions
join sump_1_to_2-sump_1_to_2s@sump_1_to_2 2018_extensions-1s@2018_extensions
join sump_1_to_2-sump_1_to_2s@sump_1_to_2 sump2-1s@Sump2
join sump2-1s@Sump2 cowshead_chamber_to_sump_1-chambers@cowshead_chamber_to_sump_1
join cowshead_chamber_to_sump_1-chambers@cowshead_chamber_to_sump_1 Cowshead_Sump_3-Sump_2_9s@Cowshead_Sump_3
join Cowshead_Sump_3-Sump_2_9s@Cowshead_Sump_3 sump3_5_extend-1s@sump3_5
join Cowshead_Sump_3-Sump_2_9s@Cowshead_Sump_3 upper_level-1s@upper_level
join cowshead_chamber_to_sump_1-chambers@cowshead_chamber_to_sump_1 upper_level-1s@upper_level
###End post-sump###
#########
centerline
#Main route#
#Pre sump
equate 18N@cowshead_entrance 10@CH_ramp_downstream
#equate F@CH_pool_to_ramp B4@CH_ramp_downstream #Causes problems
equate 8@CH_pool_to_ramp 0@CH_ramp_downstream
equate 9@CH_sump1_to_pool 0@CH_pool_to_ramp
#post sump
equate 11@Sump1 0@CH_sump1_to_pool
equate 28@2018_extensions 0@Sump1
equate 0@Sump1 1a@sump_1_to_2
equate 13@sump_1_to_2 6@Sump2
equate 0@Sump2 47@cowshead_chamber_to_sump_1
equate 16@cowshead_chamber_to_sump_1 16@Cowshead_Sump_3
equate 4@Cowshead_Sump_3 17@sump3_5
equate 7@Cowshead_Sump_3 24@upper_level
#Main route detours#
equate 0@CH_calcite_oxbow 10@CH_ramp_downstream
#equate Ex@CH_calcite_oxbow E@CH_ramp_downstream
#equate 6@CH_calcite_oxbow D4@CH_ramp_downstream
equate 4@CH_ramp_downstream 0@CH_tobys_sump
equate x@CH_above_stream 0@CH_uppermost
equate E@CH_milkloft 0@CH_above_stream
#Milkloft#
#Milkloft internal
equate 0@CH_milkloft HI3@CH_ramp_to_milkloft
equate 0@CH_milkloft_2 HJ2@CH_ramp_to_milkloft
equate 0@CH_milkloft_to_pool HD4@CH_ramp_to_milkloft
#equate A6@CH_milkloft_to_pool HD1@CH_ramp_to_milkloft
#Milkloft external
#equate D1@CH_ramp_downstream D@CH_milkloft
equate D1@CH_milkloft_to_pool D1@CH_sump1_to_pool
#equate H1@CH_ramp_to_milkloft E@CH_pool_to_ramp
##equate HB3@CH_ramp_to_milkloft A1@CH_pool_to_ramp #Currently breaks things
##equate HF2@CH_ramp_to_milkloft A1@CH_pool_to_ramp #Currently breaks things
##equate HG3@CH_ramp_to_milkloft 2@CH_pool_to_ramp #Currently breaks things - but does seem to get the left hand side good
##equate HH3@CH_ramp_to_milkloft D1@CH_sump1_to_pool #Currently breaks things
##equate H7@CH_ramp_to_milkloft D1@CH_sump1_to_pool #Currently breaks things
endcenterline
endsurvey