-
Notifications
You must be signed in to change notification settings - Fork 1
/
example-conf.yml
78 lines (64 loc) · 2.25 KB
/
example-conf.yml
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# ----------------
# ----------------
# Required entries
# ----------------
# ----------------
# -----------------------
# Input Dataset variables
# -----------------------
# file_path and var_name are required, index is optional
# longitude grid of the SSH
lon:
file_path: "notebooks/data/alboransea_sossheig.nc"
var_name: "nav_lon"
# latitude grid of the SSH
lat:
file_path: "notebooks/data/alboransea_sossheig.nc"
var_name: "nav_lat"
# SSH grid
ssh:
file_path: "notebooks/data/alboransea_sossheig.nc"
var_name: "sossheig"
index: [0]
# ------------------------
# Output Dataset full path
# ------------------------
out_path: "notebooks/data/out.nc"
# --------------
# --------------
# Optional entry
# --------------
# --------------
# -----------------------
# Input Dataset variables
# -----------------------
# file_path and var_name are required, index is optional
# mask arrays are expected to be boolean or numeric, with True (or 1) for marine pixels and False (or 0) for land ones.
# mask of the SSH
mask:
file_path: "notebooks/data/mask_alboransea.nc"
var_name: "tmask"
index: [0, 0] # here we select the first time and elevation elements (optional, depends on the data structure)
# ---------------------------------------
# Arguments to the cyclogeostrophy method
# ---------------------------------------
# allows to tune the cyclogeostrophic approach applied, and its hyperparameters.
# refer to the documentation for a comprehensive list of the available optional arguments:
# https://meom-group.github.io/jaxparrow/jaxparrow.cyclogeostrophy.html
# if not provided, default values are used.
cyclogeostrophy:
method: "variational"
n_it: 1000
optim: "sgd"
optim_kwargs:
learning_rate: 0.001
# -------------------------
# Output Dataset attributes
# -------------------------
# allows to customize some metadata attributes included to the outputted dataset.
# follows CF-1.10 convention (see http://cfconventions.org/conventions.html)
# attributes listed in the convention but not here are not expected to be modified, but we do not enforce it.
# provided example values are the default ones. Note that if not provided, the institution entry will remain empty.
out_attrs:
title: "ocean geostrophic and cyclogeostrophic currents"
institution: ""