Newer
Older
"input":
"&dates_nml date = 20454/\n&config_nml /\n&input_ssh_nml /\n",
"commands": [
[
"mkdir",
"-p",
"SHPC/Slice_0/Cyclones",
"SHPC/Slice_0/Anticyclones"
],
[
"$build_dir/Inst_eddies/inst_eddies", "SHPC",
"$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",
"$tests_old_dir/Extraction_eddies_region_1_noise/SHPC/Slice_0",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc"
"&config_nml /\n&input_ssh_nml /\n&MAIN_NML DATE = 20454 EDDY_I_TARGET = 3/\n",
"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.",
"input":
"&main_nml date = 20454/\n&config_nml /\n&input_ssh_nml /\n",
["$tests_old_dir/Region_1_20454_cyclone_3/outside_points.csv"],
[
"$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.",
"input":
"&main_nml date = 20454/\n&config_nml /\n&input_ssh_nml /\n",
"symlink":
["$src_dir/Inst_eddies/Tests/Input/Region_1/outside_points.csv"],
[
"$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"]}
67
68
69
70
71
72
73
74
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
},
"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": "&config_nml /\n&input_ssh_nml /\n&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"
]
"input": "&config_nml /\n&input_ssh_nml /\n&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",
"$src_dir/Inst_eddies/Tests/Input/outermost_contour_alt"
]
},
"Set_max_speed": {
"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"
"input": "t\n&config_nml /\n&input_ssh_nml /\n",
"sel_diff_args": {"exclude": ["n_slices.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"
"input": "t\n&config_nml /\n&input_ssh_nml /\n",
"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&config_nml /\n&input_ssh_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."
},
"Set_max_speed_degenerate": {
"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"
"input": "f\n&config_nml /\n&input_ssh_nml /\n",
"sel_diff_args": {"exclude": ["n_slices.txt"]}
"input":
"&dates_nml date = 20454/\n&config_nml min_amp = 0./\n&input_ssh_nml /\n",
"commands": [
[
"mkdir",
"-p",
"SHPC/Slice_0/Cyclones",
"SHPC/Slice_0/Anticyclones"
],
[
"$build_dir/Inst_eddies/inst_eddies", "SHPC",
"$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": [
"&dates_nml date=20454 slice=0/\n&config_nml /\n&input_ssh_nml /\n"
"commands":
[
[
"$build_dir/Inst_eddies/inst_eddies.py",
"-b", "16.125", "20.875", "-38.875", "-34.125",
"SHPC",
"$Aviso_DT_dir/dt_global_allsat_phy_l4_20060101_20210726.nc",
"$Aviso_DT_dir/dt_global_allsat_phy_l4_20060102_20210726.nc"
],
"mv grid_nml.txt SHPC"
"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": [
"&dates_nml date=20454 slice=0/\n&config_nml /\n&input_ssh_nml /\n"
],
"command": [
"$build_dir/Inst_eddies/inst_eddies.py",
"SHPC", "$Aviso_DT_dir/dt_global_allsat_phy_l4_20060101_20210726.nc"
"sel_diff_args": {"exclude": ["timings.txt", "perf_report.csv"]}
"&dates_nml slice=0/\n&config_nml /\n&input_ssh_nml /\n"
"commands":
[
[
"$build_dir/Inst_eddies/inst_eddies_Aviso.py", "SHPC",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_%Y_%m_%d.nc",
"2006-01-01", "2006-01-04"
"sel_diff_args": {"exclude": ["timings.txt", "perf_report.csv"]},
"main_command": 0
},
"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": {
"&dates_nml date = 1/\n&config_nml MAX_RADIUS = 4, 4, min_radius = 20./\n&input_ssh_nml periodic=t/\n",
"commands": [
[
"mkdir",
"-p",
"SHPC/Slice_0/Cyclones",
"SHPC/Slice_0/Anticyclones"
],
[
"$build_dir/Inst_eddies/inst_eddies", "SHPC",
"$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.",
"&dates_nml date = 20454/\n&config_nml min_amp = 0., MAX_RADIUS = 4, 4/\n&input_ssh_nml periodic=t/\n",
"commands": [
[
"mkdir",
"-p",
"SHPC/Slice_0/Cyclones",
"SHPC/Slice_0/Anticyclones"
],
[
"$build_dir/Inst_eddies/inst_eddies", "SHPC",
"$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.",
"&main_nml date = 20454/\n&config_nml /\n&input_ssh_nml uniform_lon_lat=f/\n",
["$tests_old_dir/Region_1_20454_cyclone_3/outside_points.csv"],
"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.",
"commands":
[
[
"$build_dir/Inst_eddies/inst_eddies_Aviso.py", "SHPC",
"$Aviso_DT_dir/dt_global_allsat_phy_l4_%Y%m%d_20210726.nc",
"2006-01-01", "2006-01-15",
"--bbox", "16.125", "20.875", "-38.875", "-34.125"
],
"mv grid_nml.txt SHPC"
"create_file":
[
"inst_eddies_nml.txt",
"&dates_nml slice=0/\n&config_nml /\n&input_ssh_nml /\n"
],
"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",
"$tests_old_dir/Inst_eddies_loop/SHPC/Slice_0",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_03.nc"
"&config_nml /\n&input_ssh_nml /\n&MAIN_NML DATE = 20456 EDDY_I_TARGET = 3/\n",
"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",
"$tests_old_dir/Region_5_15_days/SHPC/Slice_0", "plouf.nc"
"&config_nml /\n&input_ssh_nml /\n&MAIN_NML CYCLONE = f DATE = 20465 EDDY_I_TARGET = 12/\n",
"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",
"$tests_old_dir/Region_5_15_days/SHPC/Slice_0", "plouf.nc"
"&config_nml /\n&input_ssh_nml /\n&MAIN_NML CYCLONE = f DATE = 20456 EDDY_I_TARGET = 48/\n",
"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",
"$tests_old_dir/Extraction_eddies_region_5/SHPC/Slice_0",
"$src_dir/Inst_eddies/Tests/Input/uv_region_5.nc"
"&config_nml /\n&input_ssh_nml /\n&MAIN_NML CYCLONE=f DATE = 20454 EDDY_I_TARGET = 55/\n"
},
"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",
"$tests_old_dir/Extraction_eddies_region_1_noise/SHPC/Slice_0",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc"
"&config_nml /\n&input_ssh_nml /\n&MAIN_NML CYCLONE=f DATE=20454 EDDY_I_TARGET=3/\n"
"description":
"First test with non-uniform grid in the NetCDF file, although we process it as a uniform grid.",
"&dates_nml /\n&config_nml min_radius=2.5 max_radius=150,150 /\n&input_ssh_nml /\n",
"commands": [
[
"mkdir",
"-p",
"SHPC/Slice_0/Cyclones",
"SHPC/Slice_0/Anticyclones"
],
[
"$build_dir/Inst_eddies/inst_eddies", "SHPC",
"$PWD/INALT60/adt.nc", "$PWD/INALT60/ugos.nc",
"$PWD/INALT60/vgos.nc"
]
],
"sel_diff_args": {"exclude": ["timings.txt", "n_slices.txt"]}
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
},
"Non_uniform":
{
"description":
"Same test as Extraction_eddies_region_1_noise, except with unif_lon_lat=f.",
"input":
"&dates_nml date = 20454/\n&config_nml /\n&input_ssh_nml uniform_lon_lat=f/\n",
"commands":
[
[
"mkdir",
"-p",
"SHPC/Slice_0/Cyclones",
"SHPC/Slice_0/Anticyclones"
],
[
"$build_dir/Inst_eddies/inst_eddies", "SHPC",
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc"
]
],
"sel_diff_args": {"exclude": ["timings.txt", "n_slices.txt"]}
},
"INALT60_non_uniform":
{
"description":
"Same test as Test_INALT60 except with unif_lon_lat=f.",
"input":
"&dates_nml /\n&config_nml min_radius=2.5 max_radius=150,150 /\n&input_ssh_nml uniform_lon_lat=f/\n",
"commands": [
[
"mkdir",
"-p",
"SHPC/Slice_0/Cyclones",
"SHPC/Slice_0/Anticyclones"
],
[
"$build_dir/Inst_eddies/inst_eddies", "SHPC",
"$PWD/INALT60/adt.nc", "$PWD/INALT60/ugos.nc",
"$PWD/INALT60/vgos.nc"
]
],
"sel_diff_args": {"exclude": ["timings.txt", "n_slices.txt"]}