Skip to content

Commit 4212321

Browse files
committed
added habitat example
1 parent ec61c5e commit 4212321

28 files changed

+909
-0
lines changed
Lines changed: 377 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,377 @@
1+
<par version="1.0">
2+
3+
<!--==================== -->
4+
<!--SIMULATION PARAMETERS-->
5+
<!--==================== -->
6+
<latitudeMin value="-25.0"/>
7+
<latitudeMax value="25.0"/>
8+
<longitudeMin value="155.0"/>
9+
<longitudeMax value="255.0"/>
10+
<nb_layer value="3"/>
11+
<deltaX value="120"/>
12+
<deltaY value="120"/>
13+
<deltaT value="30"/>
14+
<iterationNumber value="15"/>
15+
<save_first_date year="2000" month="1"/>
16+
<save_last_date year="2000" month="12"/>
17+
<nb_step_to_skip value="0"/>
18+
19+
<!--===================-->
20+
<!--HABITAT SIMULATIONS-->
21+
<!--===================-->
22+
<!--0 - spawning_habitat, 1 - feeding habitat (give age in months)-->
23+
<habitat_run type="0" nb_ages="1"/>
24+
<!--If spawning_habitat run, ages are ignored-->
25+
<habitat_run_ages>2 3</habitat_run_ages>
26+
27+
<!--==================== -->
28+
<!--LIKELIHOOD PARAMETERS-->
29+
<!--==================== -->
30+
<!--Written automatically in the newparfile.xml at the end of simulation-->
31+
<total_likelihood value="3366.679019188437"/>
32+
33+
<!--DATA IN THE LIKELIHOOD:-->
34+
35+
<!--LENGTH frequencies likelihood: 0 - do not take into account, 1 - account-->
36+
<frq_likelihood msp="0"/>
37+
38+
<!--Likelihood functions: 1 - concentrated, 2 - log-normal, 3 - poisson, 4 - negative binomial, 5 - zero-inflated negbin, 6 - truncated poisson -->
39+
<!--can be different for each fishery (see below the fishery codes) -->
40+
<likelihood_types>
41+
<msp>3</msp>
42+
</likelihood_types>
43+
44+
<!--==================== -->
45+
<!--FISHERIES DEFINITIONS-->
46+
<!--==================== -->
47+
<nb_fishery value="1"/>
48+
<list_fishery_name>F1</list_fishery_name>
49+
50+
<!--1 - C in metric tones; 0 - C in numbers -->
51+
<fishery_catch_units>1</fishery_catch_units>
52+
53+
<!--The resolution coarser than model grid, to be used for all fisheries-->
54+
<degrade_fishery_reso_deg value="5"/>
55+
56+
<!--Mask for fishery data usage: 0 - do not take into account-->
57+
<mask_fishery_sp>
58+
<msp>1</msp>
59+
<!--<msp>0</msp>-->
60+
</mask_fishery_sp>
61+
62+
<!--Fisheries without effort data (flagged 1) are to be accounted with catch removal method-->
63+
<mask_fishery_no_effort>
64+
<msp>0</msp>
65+
</mask_fishery_no_effort>
66+
67+
<!--To exclude fishery from likelihood computation, flag it with 0, otherwise keep 1-->
68+
<mask_fishery_likelihood>
69+
<msp>1</msp>
70+
</mask_fishery_likelihood>
71+
72+
73+
<!--================= -->
74+
<!--MODEL INPUT-OUTPUT-->
75+
<!--================= -->
76+
<!-- Forcing Directory -->
77+
<strdir value="./input/"/>
78+
79+
<!--Land mask and topo index files-->
80+
<str_file_mask value="mask.txt"/>
81+
<str_file_topo value="topo.txt"/>
82+
83+
<!--Micronekton Files Sub-folder in Forcing Directory-->
84+
<strdir_forage value="forage/"/>
85+
86+
<!--Forcing variables and file names-->
87+
<strfile_pp value="tpo_2x30d_pp.dym"/>
88+
<strfile_sst value="tpo_2x30d_sst.dym"/>
89+
<strfile_vld value="tpo_2x30d_zeu.dym"/>
90+
<strfile_u layer0="tpo_2x30d_U_L1.dym" layer1="tpo_2x30d_U_L2.dym" layer2="tpo_2x30d_U_L3.dym"/>
91+
<strfile_v layer0="tpo_2x30d_V_L1.dym" layer1="tpo_2x30d_V_L2.dym" layer2="tpo_2x30d_V_L3.dym"/>
92+
<strfile_t layer0="tpo_2x30d_T_L1.dym" layer1="tpo_2x30d_T_L2.dym" layer2="tpo_2x30d_T_L3.dym"/>
93+
94+
<!--type of oxygen data: 0 for time series, 1 - for monthly, 2 for seasonal-->
95+
<type_oxy value="1"/>
96+
<strfile_oxy layer0="tpo_2x30d_O2_L1_CLM.dym" layer1="tpo_2x30d_O2_L2_CLM.dym" layer2="tpo_2x30d_O2_L3_CLM.dym"/>
97+
98+
<!--Fisheries Data Directory-->
99+
<strdir_fisheries value="input/no-data"/>
100+
101+
<!-- Output Directory and writing flags-->
102+
<strdir_output value="output/"/>
103+
104+
<!--====================== -->
105+
<!--FORAGE MODEL PARAMETERS-->
106+
<!--====================== -->
107+
<Tr_max value="450"/>
108+
<Tr_exp value="-0.1"/>
109+
<inv_lambda_max value="1825"/>
110+
<inv_lambda_curv value="-0.1"/>
111+
<E value="0.00316"/>
112+
<c_pp value="0.0948"/>
113+
<nb_forage value="6"/>
114+
115+
<frg_name>epi meso mmeso bathy mbathy hmbathy</frg_name>
116+
117+
<source_frg epi="0.08" meso="0.17" mmeso="0.08" bathy="0.56" mbathy="0.07" hmbathy="0.04"/>
118+
<day_layer epi="0" meso="1" mmeso="1" bathy="2" mbathy="2" hmbathy="2"/>
119+
<night_layer epi="0" meso="1" mmeso="0" bathy="2" mbathy="1" hmbathy="0"/>
120+
121+
<tstep_forage value="30"/>
122+
<sigma_fcte value="10"/>
123+
<max_NPP value="200"/>
124+
<b_F_habitat value="20000"/>
125+
<!-- daily food ration -->
126+
<forage_ration msp="0.06"/>
127+
128+
<!--===========================================-->
129+
<!--PREDATOR MODEL AGE and LIFE STAGE STRUCTURE-->
130+
<!--===========================================-->
131+
<nb_species value="1"/>
132+
133+
<sp_name>msp</sp_name>
134+
135+
<nb_life_stages msp="3"/>
136+
<life_stage>
137+
<msp>larvae juvenile adult</msp>
138+
</life_stage>
139+
140+
<nb_cohort_life_stage>
141+
<msp>1 2 7</msp>
142+
</nb_cohort_life_stage>
143+
144+
<age_recruit msp="3"/>
145+
<age_mature msp="5"/>
146+
147+
<sp_unit_cohort>
148+
<msp> 30 30 30 30 30 30 30 30 30 810</msp>
149+
</sp_unit_cohort>
150+
151+
<length>
152+
<msp>0.5 1.5 2.5 3.5 4.5 5.5 6.5 7.5 8.5 22.5</msp>
153+
</length>
154+
155+
<weight>
156+
<msp>0.001 0.008 0.027 0.064 0.125 0.216 0.343 0.512 0.729 11.4 </msp>
157+
</weight>
158+
159+
160+
<!--======================== -->
161+
<!--PREDATOR MODEL PARAMETERS-->
162+
<!--======================== -->
163+
<!--=== 1. Available OPTIONS =====-->
164+
165+
<!--=== 2. Spawning habitat parameters =======-->
166+
167+
<a_sst_larvae msp="1.5">
168+
<variable min="0.5" max="2.5" use="false"/>
169+
</a_sst_larvae>
170+
171+
<b_sst_larvae msp="28.5">
172+
<variable min="28.0" max="30.0" use="false"/>
173+
</b_sst_larvae>
174+
175+
<a_sst_spawning msp="2.0">
176+
<variable min="0.0" max="3.0" use="true"/>
177+
</a_sst_spawning>
178+
179+
<b_sst_spawning msp="25.0">
180+
<variable min="20.0" max="31.0" use="true"/>
181+
</b_sst_spawning>
182+
183+
<alpha_hsp_prey msp="0.005">
184+
<variable min="0.0" max="1.0" use="true"/>
185+
</alpha_hsp_prey>
186+
187+
<alpha_hsp_predator msp="0.1">
188+
<variable min="0.0" max="2.5" use="true"/>
189+
</alpha_hsp_predator>
190+
191+
<beta_hsp_predator msp="1.5">
192+
<variable min="0.0" max="3.0" use="true"/>
193+
</beta_hsp_predator>
194+
<!--=== end of Spawning habitat parameters =====-->
195+
196+
<!--=== 3. Recruitment function =============-->
197+
<nb_recruitment msp="0.1">
198+
<variable min="0.005" max="0.1" use="false"/>
199+
</nb_recruitment>
200+
201+
<a_adults_spawning msp="0.5">
202+
<variable min="0.005" max="0.5" use="false"/>
203+
</a_adults_spawning>
204+
<!--=== end of Recruitment function ===========-->
205+
206+
<!--=== 4. Juvenile habitat parameters =========-->
207+
<hp_cannibalism msp="0.0">
208+
<variable min="0.002" max="0.3" use="false"/>
209+
</hp_cannibalism>
210+
<!--=== end of Juvenile habitat parameters =====-->
211+
212+
<!--=== 5. Adult seasonal migrations ===========-->
213+
<spawning_season_peak msp="120">
214+
<variable min="0" max="360" use="false"/>
215+
</spawning_season_peak>
216+
217+
<spawning_season_start msp="1.15">
218+
<variable min="1.0" max="1.5" use="false"/>
219+
</spawning_season_start>
220+
<!--=== end of Adult seasonal migrations =======-->
221+
222+
<a_sst_habitat msp="3.0">
223+
<variable min="1.0" max="5.0" use="false"/>
224+
</a_sst_habitat>
225+
226+
<!--=== 6. Adult feeding habitat ===============-->
227+
<b_sst_habitat msp="20.0">
228+
<variable min="18.0" max="26.0" use="false"/>
229+
</b_sst_habitat>
230+
231+
<T_age_size_slope msp="2.5">
232+
<variable min="0.5" max="3.0" use="false"/>
233+
</T_age_size_slope>
234+
235+
<thermal_func>
236+
<delta1 skj="0.04">
237+
<variable min="0.0" max="0.05" use="false"/>
238+
</delta1>
239+
240+
<delta2 skj="0.015">
241+
<variable min="0.0" max="0.25" use="false"/>
242+
</delta2>
243+
244+
<delta3 skj="0.25">
245+
<variable min="0.0" max="10.0" use="false"/>
246+
</delta3>
247+
</thermal_func>
248+
249+
<a_oxy_habitat msp="0.0001">
250+
<variable min="0.0" max="0.1" use="false"/>
251+
</a_oxy_habitat>
252+
253+
<b_oxy_habitat msp="3.0">
254+
<variable min="1.0" max="4.0" use="false"/>
255+
</b_oxy_habitat>
256+
257+
<eF_habitat>
258+
<epi msp="1.0">
259+
<variable min="0.0" max="4.0" use="false"/>
260+
</epi>
261+
262+
<meso msp="1.0">
263+
<variable min="0.0" max="4.0" use="false"/>
264+
</meso>
265+
266+
<mmeso msp="1.0">
267+
<variable min="0.0" max="2.0" use="false"/>
268+
</mmeso>
269+
270+
<bathy msp="0.0">
271+
<variable min="0.0" max="1.0" use="false"/>
272+
</bathy>
273+
274+
<mbathy msp="0.0">
275+
<variable min="0.0" max="1.0" use="false"/>
276+
</mbathy>
277+
278+
<hmbathy msp="1.0">
279+
<variable min="0.0" max="4.0" use="false"/>
280+
</hmbathy>
281+
</eF_habitat>
282+
<!--=== end of Adult feeding habitat ===========-->
283+
284+
<!--=== 7. Movement parameters ==============-->
285+
286+
<sigma_species msp="4.0">
287+
<variable min="0.0001" max="5" use="false"/>
288+
</sigma_species>
289+
290+
<c_diff_fish msp="0.9">
291+
<variable min="0.1" max="1.0" use="false"/>
292+
</c_diff_fish>
293+
294+
<MSS_species msp="0.5">
295+
<variable min="0.0" max="5.0" use="false"/>
296+
</MSS_species>
297+
298+
<MSS_size_slope msp="0.43">
299+
<variable min="0.4" max="1.15" use="false"/>
300+
</MSS_size_slope>
301+
<!--=== end of Movement parameters ==========-->
302+
303+
<!--=== 8. Mortality parameters ==============-->
304+
<Mp_mean_max msp="0.25">
305+
<variable min="0.0" max="0.5" use="false"/>
306+
</Mp_mean_max>
307+
308+
<Mp_mean_exp msp="0.05">
309+
<variable min="0.0" max="0.5" use="false"/>
310+
</Mp_mean_exp>
311+
312+
<Ms_mean_max msp="0.004">
313+
<variable min="0.0" max="0.01" use="false"/>
314+
</Ms_mean_max>
315+
316+
<Ms_mean_slope msp="1.1">
317+
<variable min="0.5" max="2.0" use="false"/>
318+
</Ms_mean_slope>
319+
320+
<M_mean_range msp="0.0">
321+
<variable min="0.0" max="2.0" use="false"/>
322+
</M_mean_range>
323+
<!--=== end of Mortality parameters ===========-->
324+
325+
<!--========================== -->
326+
<!-- FISHERY PARAMETERS -->
327+
<!--========================== -->
328+
<q_sp_fishery>
329+
330+
<variables use="false"/>
331+
332+
<F1 msp="0.001">
333+
<variable min="0.0" max="0.1" use="true" dyn="0.0"/>
334+
</F1>
335+
336+
</q_sp_fishery>
337+
338+
<!--selectivities as functions of length-->
339+
<!--1 - logistic, 1 parameter: main parameter is used as a slope coefficient-->
340+
<!--2 - sigmoid, 2 parameters: main parameter as slope coefficient + length_threshold-->
341+
<!--3 - asymmetric Gaussian, 3 parameters: length_threshold as optimal value, main as sigma, right_asymptote as the function min on the right -->
342+
<s_sp_fishery>
343+
<variables use="false"/>
344+
345+
<F1 msp="5.0">
346+
<variable min="0.05" max="20.0" use="true"/>
347+
<function_type value="3"/>
348+
<length_threshold msp="15.0" use="true"/>
349+
<right_asymptote msp="0.5" min="0.0" max="1" use="true"/>
350+
</F1>
351+
</s_sp_fishery>
352+
353+
<!--================ -->
354+
<!--AGGREGATION ZONES-->
355+
<!--================ -->
356+
<nb_region value="1"/>
357+
<use_mask_catch value="0"/>
358+
<area0 area_id="1" lgmin="170" lgmax="210" ltmin="-20" ltmax="20"/>
359+
360+
<nb_region_sp_B msp="1"/>
361+
<area_sp_B>
362+
<msp>1</msp>
363+
</area_sp_B>
364+
365+
<nb_EEZ value="0"/>
366+
367+
<!-- Negative binomial likelihood parameters. Used only and only for those fisheries, for which the Negbin-like is set up in likelihood types -->
368+
<likelihood_parameters>
369+
<variables use="false"/>
370+
<F1 msp="0.0"/>
371+
</likelihood_parameters>
372+
373+
<prob_zero>
374+
<F1 msp="0.0"/>
375+
</prob_zero>
376+
377+
</par>
73.3 KB
Binary file not shown.
73.3 KB
Binary file not shown.
73.3 KB
Binary file not shown.
73.3 KB
Binary file not shown.
73.3 KB
Binary file not shown.
73.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)