Newer
Older
"Extraction_eddies_region_1_noise": {
"create_file": [
"config_nml.txt",
"&config_nml /\n"
],
"input": "&dates_nml date = 20454/\n",
"commands": [
[
"mkdir",
"-p",
"SHPC/Slice_0/Cyclones",
"SHPC/Slice_0/Anticyclones"
],
[
"$build_dir/Inst_eddies/inst_eddies",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc"
]
],
"sel_diff_args": {"exclude": ["timings.txt", "n_slices.txt"]}
},
"Region_1_20454_cyclone_3":
{
"commands":
[
["mkdir", "-p", "SHPC/Slice_0/Cyclones"],
[
"$build_dir/Inst_eddies/Tests/examine_eddy",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
"$tests_old_dir/Extraction_eddies_region_1_noise/SHPC/Slice_0"
]
],
"input": "&MAIN_NML DATE = 20454 EDDY_I_TARGET = 3/\n",
"symlink":
["$tests_old_dir/Extraction_eddies_region_1_noise/config_nml.txt"],
"description":
"The file outside_points created by this test is used in other tests."
},
"description": "Target eddy is cyclone number 3 in test Extraction_eddies_region_1_noise.",
[
"$tests_old_dir/Region_1_20454_cyclone_3/outside_points.csv",
"$tests_old_dir/Extraction_eddies_region_1_noise/config_nml.txt"
[
"$build_dir/Inst_eddies/Tests/test_get_1_outerm",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc"
]
"sel_diff_args": {"exclude": ["n_slices.txt"]}
"description": "Same as test Get_1_outerm except that we have changed outside points: we have removed cyclone 4 in test Extraction_eddies_region_1_noise. We just want to see the target extremum grow its outermost contour.",
"$src_dir/Inst_eddies/Tests/Input/Region_1/outside_points.csv",
"$tests_old_dir/Extraction_eddies_region_1_noise/config_nml.txt"
[
"$build_dir/Inst_eddies/Tests/test_get_1_outerm",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc"
]
"sel_diff_args": {"exclude": ["n_slices.txt"]}
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
},
"Good_contour": {
"description": "3 contours at that level. 2 contain the inside point, one of which contains the 2 outside points.",
"symlink": [
[
"$src_dir/Inst_eddies/Tests/Input/outside_points_1.csv",
"outside_points.csv"
]
],
"command": [
"$build_dir/Inst_eddies/Tests/test_good_contour",
"$src_dir/Inst_eddies/Tests/Input/example.nc"
],
"stdin_filename": "$src_dir/Inst_eddies/Tests/Input/good_contour.txt"
},
"Good_contour_2": {
"description": "Select another good contour. Case where one of the contours tested does not contain inside point.",
"symlink": [
[
"$src_dir/Inst_eddies/Tests/Input/outside_points_2.csv",
"outside_points.csv"
]
],
"command": [
"$build_dir/Inst_eddies/Tests/test_good_contour",
"$src_dir/Inst_eddies/Tests/Input/example.nc"
],
"stdin_filename": "$src_dir/Inst_eddies/Tests/Input/good_contour_2.txt"
},
"No_good_contour": {
"symlink": [
[
"$src_dir/Inst_eddies/Tests/Input/outside_points_1.csv",
"outside_points.csv"
]
],
"command": [
"$build_dir/Inst_eddies/Tests/test_good_contour",
"$src_dir/Inst_eddies/Tests/Input/example.nc"
],
"stdin_filename": "$src_dir/Inst_eddies/Tests/Input/no_good_contour.txt"
},
"Local_extrema": {
"input": "f",
"command": [
"$build_dir/Inst_eddies/Tests/test_local_extrema",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc"
]
},
"Local_extrema_larger": {
"description": "With a larger region than in test Local_extrema.",
"input": "f",
"command": [
"$build_dir/Inst_eddies/Tests/test_local_extrema",
"$src_dir/Inst_eddies/Tests/Input/huv_region_2.nc"
]
},
"Local_extrema_missing": {
"input": "f\n",
"description": "With input file containing missing values.",
"command": [
"$build_dir/Inst_eddies/Tests/test_local_extrema",
"$src_dir/Inst_eddies/Tests/Input/h_region_4.nc"
]
},
"Local_extrema_periodic": {
"description": "Same as Local_extrema but with periodicity. The data is actually regional so there is a discontinuity in the field and the longitude grid assuming periodicity is not regular.",
"input": "t\n",
"command": [
"$build_dir/Inst_eddies/Tests/test_local_extrema",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc"
]
},
"Local_extrema_periodic_2": {
"description": "The data is really global so there is no discontinuity in the field and the longitude grid assuming periodicity is regular.",
"input": "t\n",
"command": [
"$build_dir/Inst_eddies/Tests/test_local_extrema",
"$src_dir/Inst_eddies/Tests/Input/h_2006_01_01_coarse.nc"
]
},
"Mean_speed": {
"input": "&main_nml /\n",
"commands":
[
"mkdir -p SHPC",
[
"$build_dir/Inst_eddies/Tests/test_mean_speed",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
"$tests_old_dir/Get_1_outerm/SHPC/Slice_0/Cyclones/outermost_contour"
]
"symlink":
["$tests_old_dir/Extraction_eddies_region_1_noise/config_nml.txt"]
"commands":
[
"mkdir -p SHPC",
[
"$build_dir/Inst_eddies/Tests/test_mean_speed",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
"$src_dir/Inst_eddies/Tests/Input/outermost_contour_alt"
]
"create_file": ["config_nml.txt", "&config_nml /\n"]
"symlink": ["$tests_old_dir/Get_1_outerm/config_nml.txt"],
"commands": [
[
"mkdir",
"-p",
"SHPC/Slice_0/Cyclones"
],
[
"$build_dir/Inst_eddies/Tests/test_set_max_speed",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
"$tests_old_dir/Get_1_outerm/cont_list.shp",
"$tests_old_dir/Get_1_outerm/cont_list_proj.shp"
"sel_diff_args": {"exclude": ["n_slices.txt"]}
"symlink": ["$tests_old_dir/Get_1_outerm_noise_2_8/config_nml.txt"],
[
"$build_dir/Inst_eddies/Tests/test_set_max_speed",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
"$tests_old_dir/Get_1_outerm_noise_2_8/SHPC",
"$tests_old_dir/Get_1_outerm_noise_2_8/cont_list.shp",
"$tests_old_dir/Get_1_outerm_noise_2_8/cont_list_proj.shp"
"sel_diff_args": {"exclude": ["n_slices.txt"]}
"SHPC_degenerate":
{
"commands":
[
["mkdir", "-p", "SHPC/Slice_0/Anticyclones"],
[
"$build_dir/Inst_eddies/Tests/test_get_1_outerm",
"$src_dir/Inst_eddies/Tests/Input/degenerated_SSH.nc",
"$src_dir/Inst_eddies/Tests/Input/degenerated_SSH.nc"
]
],
"input":
"&MAIN_NML IND_TARG_EXTR = 5 3 INNERMOST_LEVEL = -1.2629 CYCLONE = f date = 15780/\n",
"create_file": ["config_nml.txt", "&config_nml /\n"],
"description": "This test is only useful to create input for test Set_max_speed_degenerate. Namelist values were obtained with test_local_extrema."
},
"symlink": ["$tests_old_dir/SHPC_degenerate/config_nml.txt"],
"description": "The SSH value of the extremum is exactly equal to the SSH value of the point next to the extremum, eastward. This points is selected as the point with maximum azimuthal speed. Then good_contour returns a null polyline.",
"commands": [
[
"mkdir",
"-p",
"SHPC/Slice_0/Anticyclones"
],
[
"$build_dir/Inst_eddies/Tests/test_set_max_speed",
"$src_dir/Inst_eddies/Tests/Input/degenerated_SSH.nc",
"$src_dir/Inst_eddies/Tests/Input/degenerated_SSH.nc",
"$tests_old_dir/SHPC_degenerate/SHPC",
"$tests_old_dir/SHPC_degenerate/cont_list.shp",
"$tests_old_dir/SHPC_degenerate/cont_list_proj.shp"
"sel_diff_args": {"exclude": ["n_slices.txt"]}
},
"Extraction_eddies_region_2": {
"create_file": [
"config_nml.txt",
"&config_nml min_amp = 0./\n"
],
"input": "&dates_nml date = 20454/\n",
"commands": [
[
"mkdir",
"-p",
"SHPC/Slice_0/Cyclones",
"SHPC/Slice_0/Anticyclones"
],
[
"$build_dir/Inst_eddies/inst_eddies",
"$src_dir/Inst_eddies/Tests/Input/huv_region_2.nc",
"$src_dir/Inst_eddies/Tests/Input/huv_region_2.nc"
"sel_diff_args": {"exclude": ["timings.txt", "n_slices.txt"]}
},
"Extraction_eddies_region_4": {
"description": "Part of the domain has missing values.",
"create_file": [
"config_nml.txt",
"&config_nml /\n"
],
"command": [
"$build_dir/Inst_eddies/inst_eddies.py",
"-b",
"16.125",
"20.875",
"-38.875",
"-34.125",
"$Aviso_DT_dir/dt_global_allsat_phy_l4_20060101_20210726.nc",
"$Aviso_DT_dir/dt_global_allsat_phy_l4_20060102_20210726.nc"
],
"sel_diff_args": {"exclude": ["timings.txt", "perf_report.csv"]}
},
"Inst_eddies_py": {
"description": "Like Extraction_eddies_region_4, but for a single date. This is a test of options of the wrapper script rather than a test of the Fortran executable.",
"create_file": [
"config_nml.txt",
"&config_nml /\n"
],
"command": [
"$build_dir/Inst_eddies/inst_eddies.py",
"-b",
"16.125",
"20.875",
"-38.875",
"-34.125",
"$Aviso_DT_dir/dt_global_allsat_phy_l4_20060101_20210726.nc"
],
"sel_diff_args": {"exclude": ["timings.txt", "perf_report.csv"]}
},
"Inst_eddies_loop": {
"create_file": [
"config_nml.txt",
"&config_nml /\n"
],
"command": [
"$build_dir/Inst_eddies/inst_eddies_Aviso.py",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_%Y_%m_%d.nc",
"2006-01-01", "2006-01-04", "0"
"sel_diff_args": {"exclude": ["timings.txt", "perf_report.csv"]}
},
"Nearby_extr": {
"command": [
"$build_dir/Inst_eddies/Tests/test_nearby_extr",
],
"input": "&main_nml /\n",
"description": "We are using Inst_eddies_loop, which is a previous test."
},
"Set_all_outerm_periodic": {
"create_file": [
"config_nml.txt",
"&config_nml MAX_RADIUS_deg = 80., 72., min_radius = 20./\n"
],
"commands": [
[
"mkdir",
"-p",
"SHPC/Slice_0/Cyclones",
"SHPC/Slice_0/Anticyclones"
],
[
"$build_dir/Inst_eddies/inst_eddies",
"$src_dir/Inst_eddies/Tests/Input/h_2006_01_01_coarse.nc",
"$src_dir/Inst_eddies/Tests/Input/uv_2006_01_01_coarse.nc"
]
"sel_diff_args": {"exclude": ["timings.txt", "n_slices.txt"]}
},
"Extraction_eddies_periodic": {
"description": "Periodic domain.",
"create_file": [
"config_nml.txt",
"&config_nml min_amp = 0., MAX_RADIUS_deg = 80., 72./\n"
],
"input": "&dates_nml date = 20454/\n",
"commands": [
[
"mkdir",
"-p",
"SHPC/Slice_0/Cyclones",
"SHPC/Slice_0/Anticyclones"
],
[
"$build_dir/Inst_eddies/inst_eddies",
"$src_dir/Inst_eddies/Tests/Input/h_2006_01_01_coarse.nc",
"$src_dir/Inst_eddies/Tests/Input/uv_2006_01_01_coarse.nc"
]
"sel_diff_args": {"exclude": ["timings.txt", "n_slices.txt"]}
},
"Extr_proj": {
"description": "Create shapefile extr_proj.",
"input": "&main_nml date = 20454, grid_lon_lat = f/\n",
[
"$tests_old_dir/Region_1_20454_cyclone_3/outside_points.csv",
"$tests_old_dir/Extraction_eddies_region_1_noise/config_nml.txt"
"commands": [
[
"mkdir",
"-p",
"SHPC/Slice_0/Cyclones"
],
[
"$build_dir/Inst_eddies/Tests/test_get_1_outerm",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc"
]
"sel_diff_args": {"exclude": ["n_slices.txt"]}
},
"Region_4_15_days": {
"description": "This is used in several tests in Overlap.",
"command": [
"$build_dir/Inst_eddies/inst_eddies_Aviso.py",
"$Aviso_DT_dir/dt_global_allsat_phy_l4_%Y%m%d_20210726.nc",
"2006-01-01", "2006-01-15", "0",
"--bbox", "16.125", "20.875", "-38.875", "-34.125"
"sel_diff_args": {"exclude": ["timings.txt", "perf_report.csv"]}
{"command": "$build_dir/Inst_eddies/Tests/test_complete_ssh"},
"Examine_eddy":
{
"commands":
[
["mkdir", "-p", "SHPC/Slice_0/Cyclones"],
[
"$build_dir/Inst_eddies/Tests/examine_eddy",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_03.nc",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_03.nc",
"$tests_old_dir/Inst_eddies_loop/SHPC/Slice_0"
]
],
"input": "&MAIN_NML DATE = 20456 EDDY_I_TARGET = 3/\n",
"symlink": ["$tests_old_dir/Inst_eddies_loop/config_nml.txt"],
"description": "This eddy is interesting because the maximum speed is a little lower (relative difference # 1e-3) than in version v0.26. SSH on maximum speed contour differs by about 2e-3 m from version v0.26. There are n_max_cont in cont_list."
"Exam_eddy_outer":
{
"commands":
[
[
"ncpdq", "-U", "-h",
"$Aviso_DT_dir/dt_global_allsat_phy_l4_20060112_20210726.nc",
"--dimension=longitude,0.125,29.875",
"--dimension=latitude,-59.875,-15.125", "plouf.nc"
],
["mkdir", "-p", "SHPC/Slice_0/Anticyclones"],
[
"$build_dir/Inst_eddies/Tests/examine_eddy", "plouf.nc",
"plouf.nc",
"$tests_old_dir/Region_5_15_days/SHPC/Slice_0"
]
],
"input": "&MAIN_NML CYCLONE = f DATE = 20465 EDDY_I_TARGET = 12/\n",
"symlink": ["$tests_old_dir/Region_5_15_days/config_nml.txt"],
"description": "This eddy is interesting because the maximum speed is on the outermost contour, while in version v0.26, we found a slightly better maximum speed contour."
},
"Exam_eddy_double":
{
"commands":
[
[
"ncpdq", "-U", "-h",
"$Aviso_DT_dir/dt_global_allsat_phy_l4_20060103_20210726.nc",
"--dimension=longitude,0.125,29.875",
"--dimension=latitude,-59.875,-15.125", "plouf.nc"
],
["mkdir", "-p", "SHPC/Slice_0/Anticyclones"],
[
"$build_dir/Inst_eddies/Tests/examine_eddy", "plouf.nc",
"plouf.nc",
"$tests_old_dir/Region_5_15_days/SHPC/Slice_0"
]
],
"input": "&MAIN_NML CYCLONE = f DATE = 20456 EDDY_I_TARGET = 48/\n",
"symlink": ["$tests_old_dir/Region_5_15_days/config_nml.txt"],
"description": "This eddy is interesting because the profile of speed versus ssh has two maxima and the maximum selected by master is not the same than the maximum selected in v0.26."
},
"Proj_coord":
{
"description":
"Test of the transition to computing good contour in projection coordinates. The target eddy is close to a coast, that is to an undefined value of speed. Depending on rounding the speed on the two outermost contours my return NaN.",
"commands":
[
["mkdir", "-p", "SHPC/Slice_0/Anticyclones"],
[
"$build_dir/Inst_eddies/Tests/examine_eddy",
"$src_dir/Inst_eddies/Tests/Input/h_region_5.nc",
"$src_dir/Inst_eddies/Tests/Input/uv_region_5.nc",
"$tests_old_dir/Extraction_eddies_region_5/SHPC/Slice_0"
]
],
"input": "&MAIN_NML CYCLONE=f DATE = 20454 EDDY_I_TARGET = 55/\n",
"symlink":
["$tests_old_dir/Extraction_eddies_region_5/config_nml.txt"]
},
"Speed_proj":
{
"description":
"Test of the transition to interpolating speed in projection coordinates.",
"commands":
[
["mkdir", "-p", "SHPC/Slice_0/Anticyclones"],
[
"$build_dir/Inst_eddies/Tests/examine_eddy",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
"$tests_old_dir/Extraction_eddies_region_1_noise/SHPC/Slice_0"
]
],
"input": "&MAIN_NML CYCLONE=f DATE=20454 EDDY_I_TARGET=3/\n",
"symlink":
["$tests_old_dir/Extraction_eddies_region_1_noise/config_nml.txt"]