Skip to content

Commit a7c038c

Browse files
authored
Merge branch 'develop' into feature/add_simple_dirac_3dvar
2 parents f4e160f + 7afb6ef commit a7c038c

29 files changed

+319
-224
lines changed

src/tests/CMakeLists.txt

+16-4
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ ecbuild_add_test( TARGET test_orcajedi_coding_norms
88
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/../../tools/cpplint.py
99
ARGS --recursive ${CMAKE_CURRENT_SOURCE_DIR}/../ )
1010

11-
ecbuild_add_test( TARGET test_orcamodel_hofx_ice
11+
ecbuild_add_test( TARGET test_orcamodel_hofx_sic
1212
OMP 1
13-
ARGS testinput/hofx_nc_ice.yaml
13+
ARGS testinput/hofx_nc_sic.yaml
1414
COMMAND orcamodel_hofx.x )
1515

16-
ecbuild_add_test( TARGET test_orcamodel_hofx3D_ice
16+
ecbuild_add_test( TARGET test_orcamodel_hofx3D_sic
1717
OMP 1
18-
ARGS testinput/ostia_seaice_obs_hofx3d.yaml
18+
ARGS testinput/hofx3d_nc_sic.yaml
1919
COMMAND orcamodel_hofx3D.x )
2020

2121
ecbuild_add_test( TARGET test_orcamodel_hofx3D_sst
@@ -59,6 +59,18 @@ ecbuild_add_test( TARGET test_orcamodel_hofx3D_ssh_amm1
5959
ARGS testinput/hofx3d_nc_ssh_amm1.yaml
6060
COMMAND orcamodel_hofx3D.x )
6161

62+
ecbuild_add_test( TARGET test_orcamodel_hofx_potm_amm1r
63+
OMP 1
64+
MPI 1
65+
ARGS testinput/hofx_nc_potm_amm1r.yaml
66+
COMMAND orcamodel_hofx.x )
67+
68+
ecbuild_add_test( TARGET test_orcamodel_hofx3D_ssh_amm1r
69+
OMP 1
70+
MPI 1
71+
ARGS testinput/hofx3d_nc_ssh_amm1r.yaml
72+
COMMAND orcamodel_hofx3D.x )
73+
6274
ecbuild_add_test( TARGET test_orcamodel_hofx_ssh_parallel_serial
6375
OMP 1
6476
MPI 2

src/tests/Data/CMakeLists.txt

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11

22
list( APPEND orcajedi_test_data
3-
ostia_seaice_obs.odb
3+
hofx_sic_ostia_obs.odb
44
hofx_sst_obs.nc
55
eorca025_t_nemo.nc
66
orca2_t_bkg_var.nc
77
orca2_t_coords.nc
88
orca2_t_nemo.nc
99
orca1_t_nemo.nc
10-
ostia_seaice_obs.nc
10+
hofx_sic_ostia_obs.nc
1111
simple_nemo.nc
1212
create_orca2_t_bkg.nco
1313
create_orca2_t_bkg_var.nco
1414
hofx_sst_obs.cdl
1515
orca2_t_coords.cdl
16-
ostia_seaice_obs.cdl
17-
ostia_seaice_obs.csv
16+
hofx_sic_ostia_obs.csv
1817
simple_nemo.cdl
1918
hofx_two_vars_obs.nc
2019
hofx_potm_obs.nc
@@ -23,7 +22,10 @@ hofx_ssh_obs.nc
2322
amm1_coords.nc
2423
amm1_nemo.nc
2524
amm1_atlas_grid_spec.yaml
26-
amm_ssh_obs.nc
25+
amm1r_nemo.nc
26+
amm1r_atlas_grid_spec.yaml
27+
hofx_potm_amm1r_obs.nc
28+
hofx_ssh_amm_obs.nc
2729
sic_obs_ideal.nc
2830
)
2931

src/tests/Data/amm1_atlas_grid_spec.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# (C) British Crown Copyright 2024 Met Office
2+
13
type : "regional"
24
nx : 15
35
ny : 19
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# (C) British Crown Copyright 2024 Met Office
2+
3+
type : "regional"
4+
nx : 15
5+
ny : 13
6+
north : 10.9
7+
south : -7.29
8+
west : 8.79
9+
east : -10.9
10+
y_numbering : +1
11+
12+
projection :
13+
type: "rotated_lonlat"
14+
north_pole : [177, 37.5]
15+
16+
check:
17+
size: 195
18+
lonlat(first) : [9.262,44.463]
19+
lonlat(last) : [-26.022,61.654]
20+
uid: 35244078cc9483703ac9be75be0314e4
21+
bounding_box(n,w,s,e) : [63.401, -26.023, 44.066, 333.977]

src/tests/Data/amm1r_coords.nc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:7f396a6a74e8b38e71ee62fe8d62c7e421e8b9e44399d6decab084aef4b43b8d
3+
size 14043

src/tests/Data/amm1r_nemo.nc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:606f2ecda57f7af1e48b31ad65201746055291d5f80bd6c81ba93da8ee79b7c0
3+
size 54978

src/tests/Data/hofx_potm_amm1r_obs.nc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:36f2a89dddf967331209ef3fe28e01711f50a6b8fd2330e8aa1b8ac2f339e659
3+
size 11846
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/tests/Data/ostia_seaice_obs.cdl

-107
This file was deleted.

src/tests/orca-jedi/test_increment.cc

+2-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ CASE("test increment") {
185185
increment1 *=2;
186186
atlas::FieldSet incfset = atlas::FieldSet();
187187
increment1.Increment::toFieldSet(incfset);
188-
writeFieldsToFile("../testoutput/orca2_t_inc_fs_output.nc", geometry, datetime, incfset);
188+
writeFieldsToFile("../testoutput/orca2_t_increment_fieldset_output.nc",
189+
geometry, datetime, incfset);
189190
}
190191
}
191192

0 commit comments

Comments
 (0)