diff --git a/cfgs/AGRIF_QCO/GSRIDGE36Z-GIBSTRA36Z/file_def_nemo-ice.xml b/cfgs/AGRIF_QCO/GSRIDGE36Z-GIBSTRA36Z/file_def_nemo-ice.xml
index 17576ab..5c2df3d 100644
--- a/cfgs/AGRIF_QCO/GSRIDGE36Z-GIBSTRA36Z/file_def_nemo-ice.xml
+++ b/cfgs/AGRIF_QCO/GSRIDGE36Z-GIBSTRA36Z/file_def_nemo-ice.xml
@@ -2,18 +2,103 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
diff --git a/cfgs/AGRIF_QCO/GSRIDGE36Z-GIBSTRA36Z/file_def_nemo-oce.xml b/cfgs/AGRIF_QCO/GSRIDGE36Z-GIBSTRA36Z/file_def_nemo-oce.xml
index 9b3a8e7..ef2b0f5 100644
--- a/cfgs/AGRIF_QCO/GSRIDGE36Z-GIBSTRA36Z/file_def_nemo-oce.xml
+++ b/cfgs/AGRIF_QCO/GSRIDGE36Z-GIBSTRA36Z/file_def_nemo-oce.xml
@@ -2,14 +2,121 @@
+
+
+
+
+
+
+
+
+
+ @toce_e3t / @e3t
+ @toce_pot_e3t / @e3t
+ @soce_e3t / @e3t
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @uoce_e3u / @e3u
+
+
+
+
+
+
+ @voce_e3v / @e3v
+
+
+
+
+ @woce_e3w / @e3w
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/cfgs/AGRIF_QCO/GSRIDGE36Zx2-GIBSTRA36Zx2/file_def_nemo-ice.xml b/cfgs/AGRIF_QCO/GSRIDGE36Zx2-GIBSTRA36Zx2/file_def_nemo-ice.xml
index 17576ab..5c2df3d 100644
--- a/cfgs/AGRIF_QCO/GSRIDGE36Zx2-GIBSTRA36Zx2/file_def_nemo-ice.xml
+++ b/cfgs/AGRIF_QCO/GSRIDGE36Zx2-GIBSTRA36Zx2/file_def_nemo-ice.xml
@@ -2,18 +2,103 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
diff --git a/cfgs/AGRIF_QCO/GSRIDGE36Zx2-GIBSTRA36Zx2/file_def_nemo-oce.xml b/cfgs/AGRIF_QCO/GSRIDGE36Zx2-GIBSTRA36Zx2/file_def_nemo-oce.xml
index 9b3a8e7..ef2b0f5 100644
--- a/cfgs/AGRIF_QCO/GSRIDGE36Zx2-GIBSTRA36Zx2/file_def_nemo-oce.xml
+++ b/cfgs/AGRIF_QCO/GSRIDGE36Zx2-GIBSTRA36Zx2/file_def_nemo-oce.xml
@@ -2,14 +2,121 @@
+
+
+
+
+
+
+
+
+
+ @toce_e3t / @e3t
+ @toce_pot_e3t / @e3t
+ @soce_e3t / @e3t
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @uoce_e3u / @e3u
+
+
+
+
+
+
+ @voce_e3v / @e3v
+
+
+
+
+ @woce_e3w / @e3w
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/cfgs/GLOBAL_QCO/eORCA12/file_def_nemo-ice.xml b/cfgs/GLOBAL_QCO/eORCA12/file_def_nemo-ice.xml
index 17576ab..5c2df3d 100644
--- a/cfgs/GLOBAL_QCO/eORCA12/file_def_nemo-ice.xml
+++ b/cfgs/GLOBAL_QCO/eORCA12/file_def_nemo-ice.xml
@@ -2,18 +2,103 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
diff --git a/cfgs/GLOBAL_QCO/eORCA12/file_def_nemo-oce.xml b/cfgs/GLOBAL_QCO/eORCA12/file_def_nemo-oce.xml
index 9b3a8e7..ef2b0f5 100644
--- a/cfgs/GLOBAL_QCO/eORCA12/file_def_nemo-oce.xml
+++ b/cfgs/GLOBAL_QCO/eORCA12/file_def_nemo-oce.xml
@@ -2,14 +2,121 @@
+
+
+
+
+
+
+
+
+
+ @toce_e3t / @e3t
+ @toce_pot_e3t / @e3t
+ @soce_e3t / @e3t
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @uoce_e3u / @e3u
+
+
+
+
+
+
+ @voce_e3v / @e3v
+
+
+
+
+ @woce_e3w / @e3w
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/cfgs/SHARED/field_def_nemo-oce.xml b/cfgs/SHARED/field_def_nemo-oce.xml
new file mode 100644
index 0000000..63c7a8c
--- /dev/null
+++ b/cfgs/SHARED/field_def_nemo-oce.xml
@@ -0,0 +1,1351 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sqrt( uz1_abl^2 + vz1_abl^2 )
+
+
+
+
+ sqrt( uz1_dta^2 + vz1_dta^2 )
+
+
+
+
+
+ sqrt( uz1_geo^2 + vz1_geo^2 )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ uoce * e3u
+
+ this * uoce_e3u_vsum
+
+ @uocetr_vsum
+
+ uocetr_vsum_cumul * $rho0
+
+
+
+
+
+
+
+
+ utau * ssu
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ustokes * e3u
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ voce * e3v
+
+
+
+
+
+
+ vtau * ssv
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ vstokes * e3v
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ woce * e3w
+
+
+
+
+
+
+
+
+
+ avt * e3w
+
+
+ avm * e3w
+
+
+
+ avs * e3w
+
+
+
+
+ avt_evd * e3w
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @uoce_e3u
+
+ this * e2u
+
+ this * maskMFO_u * $rho0
+
+ @voce_e3v
+
+ this * e1v
+
+ this * maskMFO_v * $rho0
+
+ u_masstr_strait + v_masstr_strait
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sophtvtr - sophtove
+ sophtvtr - sopstove
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ttrd_atf * e3t
+ strd_atf * e3t
+
+ ttrd_atf_e3t * 1026.0 * 3991.86795711963
+ strd_atf_e3t * 1026.0 * 0.001
+
+
+
+
+
+
+
+
+
+
+ sqrt( ttrd_xad^2 + ttrd_yad^2 + ttrd_zad^2 )
+ sqrt( strd_xad^2 + strd_yad^2 + strd_zad^2 )
+
+
+
+
+
+
+
+
+
+
+
+
+ ttrd_ldf + ttrd_zdf - ttrd_zdfp
+ strd_ldf + strd_zdf - strd_zdfp
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ttrd_xad * e3t
+ strd_xad * e3t
+ ttrd_yad * e3t
+ strd_yad * e3t
+ ttrd_zad * e3t
+ strd_zad * e3t
+ ttrd_ad * e3t
+ strd_ad * e3t
+ ttrd_totad * e3t
+ strd_totad * e3t
+ ttrd_ldf * e3t
+ strd_ldf * e3t
+ ttrd_zdf * e3t
+ strd_zdf * e3t
+ ttrd_evd * e3t
+ strd_evd * e3t
+
+
+ ttrd_iso * e3t
+ strd_iso * e3t
+ ttrd_zdfp * e3t
+ strd_zdfp * e3t
+
+
+ ttrd_osm * e3t
+ strd_osm * e3t
+
+
+ ttrd_dmp * e3t
+ strd_dmp * e3t
+ ttrd_bbl * e3t
+ strd_bbl * e3t
+ ttrd_npc * e3t
+ strd_npc * e3t
+ ttrd_qns * e3ts
+ strd_cdt * e3ts
+ ttrd_qsr * e3t
+ ttrd_bbc * e3t
+
+
+ ttrd_totad_e3t * 1026.0 * 3991.86795711963
+ strd_totad_e3t * 1026.0 * 0.001
+ ttrd_osm_e3t * 1026.0 * 3991.86795711963
+ strd_osm_e3t * 1026.0 * 0.001
+ ttrd_evd_e3t * 1026.0 * 3991.86795711963
+ strd_evd_e3t * 1026.0 * 0.001
+ ttrd_iso_e3t * 1026.0 * 3991.86795711963
+ strd_iso_e3t * 1026.0 * 0.001
+ ttrd_zdfp_e3t * 1026.0 * 3991.86795711963
+ strd_zdfp_e3t * 1026.0 * 0.001
+ ttrd_qns_e3t * 1026.0 * 3991.86795711963
+ ttrd_qsr_e3t * 1026.0 * 3991.86795711963
+ ttrd_bbl_e3t * 1026.0 * 3991.86795711963
+ strd_bbl_e3t * 1026.0 * 0.001
+ ttrd_evd_e3t * 1026.0 * 3991.86795711963
+ strd_evd_e3t * 1026.0 * 0.001
+
+
+
+
+
+
+
+
+ ttrd_tot * e3t
+ strd_tot * e3t
+
+ ttrd_tot_e3t * 1026.0 * 3991.86795711963
+ strd_tot_e3t * 1026.0 * 0.001
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/scripts/check_latest_commit b/scripts/check_latest_commit
index 3d366d5..c975c46 100755
--- a/scripts/check_latest_commit
+++ b/scripts/check_latest_commit
@@ -43,9 +43,9 @@ EOF
done
done
-# Check namelists
+# Check namelists and xml
for DIR in "tools/DOMAINcfg" "cfgs/SHARED"; do
- for FILEA in $(find ./nemo/$DIR ! -path ./nemo/$DIR -prune -type f -name "namelist_ref" -o -name "namelist_ice_ref"); do
+ for FILEA in $(find ./nemo/$DIR ! -path ./nemo/$DIR -prune -type f -name "namelist_ref" -o -name "namelist_ice_ref" -o -name "*.xml"); do
FILEB=${FILEA/nemo/head}
DIFF=$(diff "$FILEA" "$FILEB")
if [ "$DIFF" != "" ]; then
diff --git a/scripts/setup b/scripts/setup
index 8ff2352..76d2802 100755
--- a/scripts/setup
+++ b/scripts/setup
@@ -2,7 +2,7 @@
WD=$PWD
BRANCH=main
-COMMIT=9df45b62a4f88f4d0e29c7f6ef2974e80939618b
+COMMIT=e61210740c49fae3b58fd93fc8d482c1e3da51e5
NEMODIR=${WD}/nemo
STOP=0