-
Notifications
You must be signed in to change notification settings - Fork 19
/
params_ARTIC.py
64 lines (48 loc) · 1.39 KB
/
params_ARTIC.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Oct 29 23:10:59 2020
This code is part of SIMROUTE
@author: manel grifoll (UPC-BarcelonaTech)
"""
import numpy as np
from pathlib import Path
import matplotlib.pyplot as plt
#Simulation name
name_Simu='HV_Nain'
#Mesh boundaries
LonMin=-61.5
LonMax=-56
LatMin=53
LatMax=57
#Grid-step in Miles
inc=1.5 #in nautical miles
# Initial node in mesh:
nodIni=11462
# Final node in mesh:
nodEnd=31100
ARX=['Waves_ARTIC_20210209.nc','Waves_ARTIC_20210210.nc']
dir_arx='storeWaves/'
#Time resolution of CMEMS product:
time_res=1 # In hours: 1 for all regions except o 3 for the GLOBAL
#Wave interpolated file (output):
arx_waves= 'in/waves.npz'
#Initial start time of sailing from 00:00 (from 0 to 23 hours)
t_ini=16
#coastline source file:
arx_ldc= 'in/lcd_eu_h.dat'
#coastline name output:
# lcd_out= 'in/ldcK1.npz'
#Sailing velocity (in knots)
v0=16.1 # Cruising speed in nautical milles per hour (in knots)
#Formulation WEN (Wave Effect on Navigation)
#Bowditch = 1; Aertessen = 2; Khokhlov = 3; no reduction = 4
WEN_form=1;
#Ship parameteres for WEN options 2 and 3.
Lbp = 225; # ship's length between perpendiculars (in meters)
DWT = 8000; # ship's deadweight (in tons)
#Additional plot flags:
plot_nodes=1 #Yes=1 ; No=0
plot_waves=1 #Yes=1 ; No=0
plot_routes=1 #Yes=1 ; No=0
# END OF USER INPUTS #######################