Skip to content

Commit

Permalink
TESTS: add etopo1_open_an_fc config for iphys=0 and llgcbz0=T
Browse files Browse the repository at this point in the history
  • Loading branch information
awnawab committed Mar 27, 2024
1 parent 43dcf3d commit eb4ae08
Show file tree
Hide file tree
Showing 2 changed files with 123 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ ecwam_add_test( ${PROJECT_NAME}_test_etopo1_oper_an_fc_O48 CONFIG etopo1_oper_an
ecwam_add_test( ${PROJECT_NAME}_test_etopo1_oper_an_fc_O48 CONFIG etopo1_oper_an_fc_O48.yml MPI 4 OMP 1 )
ecwam_add_test( ${PROJECT_NAME}_test_etopo1_oper_an_fc_O48 CONFIG etopo1_oper_an_fc_O48.yml MPI 1 OMP 4 )

ecwam_add_test( ${PROJECT_NAME}_test_etopo1_oper_an_fc_O48_iphys_0 CONFIG etopo1_oper_an_fc_O48.yml )
ecwam_add_test( ${PROJECT_NAME}_test_etopo1_oper_an_fc_O48_iphys_0 CONFIG etopo1_oper_an_fc_O48.yml MPI 4 OMP 1 )
ecwam_add_test( ${PROJECT_NAME}_test_etopo1_oper_an_fc_O48_iphys_0 CONFIG etopo1_oper_an_fc_O48.yml MPI 1 OMP 4 )
120 changes: 120 additions & 0 deletions tests/etopo1_oper_an_fc_O48_iphys_0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
grid: O48
directions: 12
frequencies: 25
bathymetry: ETOPO1

advection:
timestep: 900
physics:
timestep: 900

analysis.begin: 2022-12-31 12:00:00
analysis.end: 2023-01-01 00:00:00
forecast.begin: 2023-01-01 00:00:00
forecast.end: 2023-01-01 06:00:00

begin: ${analysis.begin}
end: ${forecast.end}

nproma: 24
iphys: 0
llgcbz0: T

forcings:
file: data/forcings/oper_an_12h_fc_2023010100_36h_O48.grib

at:
- begin: ${analysis.begin}
end: ${analysis.end}
timestep: 06:00
- begin: ${forecast.begin}
end: ${forecast.end}
timestep: 01:00

output:
fields:
name:
- swh # Significant height of combined wind waves and swell
- mwd # Mean wave direction
- mwp # Mean wave period
- pp1d # Peak wave period
- dwi # 10 metre wind direction
- cdww # Coefficient of drag with waves
- wind # 10 metre wind speed
format: grib # (default : grib) or binary
at:
- timestep: 01:00

restart:
format: binary # (default : binary) or grib
at:
- time: ${end}


validation:

double_precision:

# initial analysis time
- name: swh
time: 2022-12-31 12:00:00
average: 0.1337362277770183E+01
relative_tolerance: 1.e-14
hashes: ['0x3FF565D5FCDED500']

# initial forecast time
- name: swh
time: 2023-01-01 00:00:00
average: 0.1502963828906638E+01
relative_tolerance: 1.e-14
hashes: ['0x3FF80C23CCC39966']

# 6h into forcast
- name: swh
time: 2023-01-01 06:00:00
average: 0.1563171263196180E+01
relative_tolerance: 1.e-14
hashes: ['0x3FF902BFDED797F8']
- name: swh
time: 2023-01-01 06:00:00
minimum: 0.1778555863566463E-01
relative_tolerance: 1.e-14
hashes: ['0x3F923660A2B99ED6']
- name: swh
time: 2023-01-01 06:00:00
maximum: 0.7659061909985634E+01
relative_tolerance: 1.e-14
hashes: ['0x401EA2E12015B5DB']

single_precision:

# initial analysis time
- name: swh
time: 2022-12-31 12:00:00
average: 0.1337408304214478E+01
relative_tolerance: 1.e-6
hashes: ['0x3FF5660640000000']

# initial forecast time
- name: swh
time: 2023-01-01 00:00:00
average: 0.1502959609031677E+01
relative_tolerance: 1.e-6
hashes: ['0x3FF80C1F60000000']

# 6h into forcast
- name: swh
time: 2023-01-01 06:00:00
average: 0.1563124537467957E+01
relative_tolerance: 1.e-6
hashes: ['0x3FF9028EE0000000']
- name: swh
time: 2023-01-01 06:00:00
minimum: 0.1778554916381836E-01
relative_tolerance: 1.e-6
hashes: ['0x3F92366000000000']
- name: swh
time: 2023-01-01 06:00:00
maximum: 0.7659064292907715E+01
relative_tolerance: 1.e-6
hashes: ['0x401EA2E1C0000000']

0 comments on commit eb4ae08

Please sign in to comment.