-
Lionel GUEZ authoredLionel GUEZ authored
short_tests.json 20.65 KiB
[
{
"title": "Spher_polygon_area",
"command": [
"$build_dir/Overlap/Tests/test_spher_polygon_area",
"$src_dir/Overlap/Tests/Input/triangle"
]
},
{
"description": "Area of a multipolygon, with a hole in one polygon.",
"title": "Area_multi_polygon",
"command": [
"$build_dir/Overlap/Tests/test_spher_polygon_area",
"$src_dir/Overlap/Tests/Input/tri_square_hole"
]
},
{
"title": "Read_eddy",
"commands":
[
["mkdir", "-p", "SHPC/Slice_0/Anticyclones"],
[
"$build_dir/Overlap/Tests/test_read_eddy",
"$tests_old_dir/Extraction_eddies_region_4/SHPC"
]
],
"input": "&main_nml /\n"
},
{
"input": "&config_graph_nml cyclone = f/\n&main_nml /\n",
"title": "Read_snapshot",
"commands": [
[
"mkdir", "-p", "SHPC/Slice_0/Anticyclones",
"SHPC/Slice_0/Cyclones"
],
[
"$build_dir/Overlap/Tests/test_read_snapshot",
"$tests_old_dir/Extraction_eddies_region_4/SHPC"
]
]
},
{
"input": "&config_graph_nml cyclone = f/\n&MAIN_NML k_test_1 = 20455, k_test_2 = 20455/\n/\n/\n",
"description": "Overlap of a snapshot with itself.",
"title": "Successive_overlap",
"command":
[
"$build_dir/Overlap/Tests/test_overlap",
"$tests_old_dir/Extraction_eddies_region_4/SHPC"
]
},
{
"input": "&config_graph_nml cyclone = f/\n&MAIN_NML k_test_1 = 20455, k_test_2 = 20455/\n/\n/\n",
"description": "Same as Successive_overlap, but with larger domain: region 5 instead of region 4.",
"title": "Successive_overlap_region_5_one_date",
"command":
[
"$build_dir/Overlap/Tests/test_overlap",
"$tests_old_dir/Region_5_15_days/SHPC"
]
},
{
"input":
"&config_graph_nml DIST_LIM = 4/\n&MAIN_NML k_test_1 = 20454, k_test_2 = 20454/\n/\n/\n",
"description": "Overlap of a snapshot with itself. Global coarse grid.",
"title": "Successive_overlap_periodic",
"command":
[
"$build_dir/Overlap/Tests/test_overlap",
"$tests_old_dir/Extraction_eddies_periodic/SHPC"
]
},
{
"input": "&config_graph_nml cyclone = f/\n&MAIN_NML k_test_1 = 20454, k_test_2 = 20455/\n/\n/\n",
"description": "Overlap of different snapshots.",
"title": "Successive_overlap_different_snapshots",
"command":
[
"$build_dir/Overlap/Tests/test_overlap",
"$tests_old_dir/Extraction_eddies_region_4/SHPC"
]
},
{
"input": "&config_graph_nml cyclone = f/\n&MAIN_NML k_test_1 = 20454, k_test_2 = 20455/\n/\n/\n",
"description":
"Overlap of different snapshots. Same as Successive_overlap_different_snapshots, but with a larger region. The identifying numbers of the connected eddies are not the same for all edges.",
"title": "Successive_overlap_region_2",
"command":
[
"$build_dir/Overlap/Tests/test_overlap",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC"
]
},
{
"input": "&config_graph_nml cyclone = f/\n&MAIN_NML k_test_1 = 20454, k_test_2 = 20455/\n/\n/\n",
"description": "Same as Successive_overlap_region_2, but with a larger region. We get some merging and splitting.",
"title": "Successive_overlap_region_5",
"command":
[
"$build_dir/Overlap/Tests/test_overlap",
"$tests_old_dir/Region_5_15_days/SHPC"
]
},
{
"input": "&config_graph_nml cyclone = f/\n&MAIN_NML k_test_1 = 20454, k_test_2 = 20455/\n/\n/\n",
"description": "Global grid, normal 0.25° resolution.",
"title": "Successive_overlap_global",
"command":
[
"$build_dir/Overlap/Tests/test_overlap",
"$PWD/Inst_eddies_5"
]
},
{
"input": "&config_graph_nml max_delta = 3, cyclone = f/\n&MAIN_NML k_test_1 = 20454, k_test_2 = 20454/\n/\n/\n",
"description": "Overlap of a snapshot with itself. Same as Successive_overlap, except for max_delta.",
"title": "Non_successive_overlap",
"command":
[
"$build_dir/Overlap/Tests/test_overlap",
"$tests_old_dir/Extraction_eddies_region_4/SHPC"
]
},
{
"input": "&config_graph_nml max_delta = 3, cyclone = f/\n&MAIN_NML k_test_1 = 20454, k_test_2 = 20455/\n/\n/\n",
"description":
"Overlap of different snapshots. Same as Successive_overlap_different_snapshots, except for max_delta.",
"title": "NSO_different_snapshots",
"command":
[
"$build_dir/Overlap/Tests/test_overlap",
"$tests_old_dir/Extraction_eddies_region_4/SHPC"
]
},
{
"input": "&config_graph_nml max_delta = 3, cyclone = f/\n&MAIN_NML k_test_1 = 20454, k_test_2 = 20455/\n/\n/\n",
"description":
"Same as Successive_overlap_region_5, except for max_delta.",
"title": "NSO_region_5",
"command":
[
"$build_dir/Overlap/Tests/test_overlap",
"$tests_old_dir/Region_5_15_days/SHPC"
]
},
{
"input": "&config_graph_nml max_delta = 3, cyclone = f/\n&MAIN_NML k_test_1 = 20454, k_test_2 = 20455/\n/\n/\n",
"description":
"Same as Successive_overlap_global, except for max_delta.",
"title": "NSO_global",
"command":
[
"$build_dir/Overlap/Tests/test_overlap",
"$PWD/Inst_eddies_5"
]
},
{
"stdin_filename": "$src_dir/Overlap/Tests/Input/NSO_delta_in.txt",
"description": "Test the logic of delta_in and delta_out. See documentation, figure 10 and comments on overlap.",
"title": "NSO_delta",
"command":
[
"$build_dir/Overlap/Tests/test_overlap",
"$tests_old_dir/Region_6/SHPC"
]
},
{
"input": "&config_graph_nml /\n",
"description": "Send and receive an eddy.",
"title": "Send_recv",
"stdout": "test_send_recv_stdout.txt",
"commands": [
[
"mkdir", "-p", "SHPC/Slice_0/Anticyclones",
"SHPC/Slice_0/Cyclones"
],
[
"$mpiexec",
"-n",
"2",
"$build_dir/Overlap/Tests/test_send_recv",
"$tests_old_dir/Extraction_eddies_region_4/SHPC"
]
]
},
{
"input": "&config_graph_nml /\n&MAIN_NML k = 20454/\n",
"title": "Get_dispatch_snap",
"stdout": "test_get_dispatch_snap_stdout.txt",
"commands": [
[
"mkdir", "-p", "SHPC/Slice_0/Anticyclones",
"SHPC/Slice_0/Cyclones"
],
[
"$mpiexec",
"-n",
"1",
"$build_dir/Overlap/Tests/test_get_dispatch_snap",
"$tests_old_dir/Inst_eddies_loop/SHPC"
]
]
},
{
"input": "&config_graph_nml /\n&MAIN_NML k = 20456/\n",
"description": "Receive case for one of the processes in procedure get_snapshot.",
"title": "Get_dispatch_snap_recv",
"stdout": "test_get_dispatch_snap_stdout.txt",
"commands": [
[
"mkdir", "-p", "SHPC/Slice_0/Anticyclones",
"SHPC/Slice_0/Cyclones"
],
[
"$mpiexec",
"-n",
"2",
"$build_dir/Overlap/Tests/test_get_dispatch_snap",
"$tests_old_dir/Inst_eddies_loop/SHPC"
]
]
},
{
"input": "&config_graph_nml /\n&MAIN_NML /\n",
"title": "Eddy_graph",
"env": {"mpiexec": "$mpiexec"},
"command": [
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Inst_eddies_loop/SHPC"
]
},
{
"input": "&config_graph_nml /\n&MAIN_NML /\n",
"description": "Same as Eddy_graph but with 2 processes.",
"title": "Eddy_graph_2",
"env": {"mpiexec": "$mpiexec"},
"command": [
"$build_dir/Overlap/eddy_graph.sh",
"2",
"$tests_old_dir/Inst_eddies_loop/SHPC"
]
},
{
"input": "&config_graph_nml MAX_DELTA = 2/\n&MAIN_NML /\n",
"description": "Same as Eddy_graph but with max_delta = 2.",
"title": "Eddy_graph_md2",
"env": {"mpiexec": "$mpiexec"},
"command": [
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Inst_eddies_loop/SHPC"
]
},
{
"input": "&config_graph_nml cyclone = f/\n&MAIN_NML n_dates = 4/\n",
"description": "Eddy_graph with a larger region.",
"title": "Eddy_graph_region_2",
"env": {"mpiexec": "$mpiexec"},
"command": [
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC"
]
},
{
"input": "&CONFIG_GRAPH_NML cyclone = f/\n&MAIN_NML n_dates = 4/\n",
"description": "Same as Eddy_graph_region_2 but with 2 processes.",
"title": "Eddy_graph_region_2_2",
"env": {"mpiexec": "$mpiexec"},
"command": [
"$build_dir/Overlap/eddy_graph.sh",
"2",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC"
]
},
{
"input": "&CONFIG_GRAPH_NML max_delta = 2, cyclone = f/\n&MAIN_NML n_dates = 4/\n",
"description": "Same as Eddy_graph_region_2 but with max_delta = 2.",
"title": "Eddy_graph_r2md2",
"env": {"mpiexec": "$mpiexec"},
"command": [
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC"
]
},
{
"input": "&CONFIG_GRAPH_NML max_delta = 3, cyclone = f/\n&MAIN_NML n_dates = 4/\n",
"description": "Same as Eddy_graph_region_2 but with max_delta = 3.",
"title": "Eddy_graph_r2md3",
"env": {"mpiexec": "$mpiexec"},
"command": [
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC"
]
},
{
"input": "&CONFIG_GRAPH_NML max_delta = 3, cyclone = f/\n&MAIN_NML n_dates = 5/\n",
"description": "Same as Eddy_graph_r2md3 but with n_dates = 5.",
"title": "Eddy_graph_r2nd5md3",
"env": {"mpiexec": "$mpiexec"},
"command": [
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC"
]
},
{
"input": "&CONFIG_GRAPH_NML max_delta = 4, cyclone = f/\n&MAIN_NML n_dates = 5/\n",
"description": "Same as Eddy_graph_r2nd5md3 but with max_delta = 4.",
"title": "EGr2nd5md4",
"env": {"mpiexec": "$mpiexec"},
"command": [
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC"
]
},
{
"input": "&CONFIG_GRAPH_NML max_delta = 4, cyclone = f/\n&MAIN_NML n_dates = 6/\n",
"description": "Same as EGr2nd5md4 but with n_dates = 6.",
"title": "EGr2nd6md4",
"env": {"mpiexec": "$mpiexec"},
"command": [
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC"
]
},
{
"input": "&CONFIG_GRAPH_NML cyclone = f/\n&MAIN_NML n_dates = 6/\n",
"description": "Same as EGr2nd6md4 but with max_delta = 1.",
"title": "EGr2nd6md1",
"env": {"mpiexec": "$mpiexec"},
"command": [
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC"
]
},
{
"input": "&CONFIG_GRAPH_NML cyclone = f/\n&MAIN_NML n_dates = 6/\n",
"description": "Same as EGr2nd6md1 but with 2 processes.",
"title": "EGr2nd6md1np2",
"env": {"mpiexec": "$mpiexec"},
"command": [
"$build_dir/Overlap/eddy_graph.sh",
"2",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC"
]
},
{
"input": "&CONFIG_GRAPH_NML cyclone = f/\n&MAIN_NML n_dates = 6/\n",
"description": "Same as EGr2nd6md1 but with 3 processes.",
"title": "EGr2nd6md1np3",
"env": {"mpiexec": "$mpiexec"},
"command": [
"$build_dir/Overlap/eddy_graph.sh",
"3",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC"
]
},
{
"input": "&CONFIG_GRAPH_NML cyclone = f/\n&MAIN_NML /\n",
"description": "Same as EGr2nd6md1 but with all the 15 dates.",
"title": "EGr2nd15md1",
"env": {"mpiexec": "$mpiexec"},
"command": [
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC"
]
},
{
"input": "&CONFIG_GRAPH_NML max_delta = 2, cyclone = f/\n&MAIN_NML /\n",
"description": "Same as EGr2nd15md1 but with max_delta = 2.",
"title": "EGr2nd15md2",
"env": {"mpiexec": "$mpiexec"},
"command": [
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC"
]
},
{
"input": "&CONFIG_GRAPH_NML max_delta = 3, cyclone = f/\n&MAIN_NML /\n",
"description": "Same as EGr2nd15md1 but with max_delta = 3.",
"title": "EGr2nd15md3",
"env": {"mpiexec": "$mpiexec"},
"command": [
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC"
]
},
{
"input": "&CONFIG_GRAPH_NML max_delta = 4, cyclone = f/\n&MAIN_NML /\n",
"description": "Same as EGr2nd15md1 but with max_delta = 4.",
"title": "EGr2nd15md4",
"env": {"mpiexec": "$mpiexec"},
"command": [
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC"
]
},
{
"input": "&CONFIG_GRAPH_NML max_delta = 4, cyclone = f/\n&MAIN_NML /\n",
"description": "Same as EGr2nd15md4 but with 2 processes.",
"title": "EGr2nd15md4np2",
"env": {"mpiexec": "$mpiexec"},
"command": [
"$build_dir/Overlap/eddy_graph.sh",
"2",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC"
]
},
{
"input": "&CONFIG_GRAPH_NML max_delta = 4, cyclone = f/\n&MAIN_NML /\n",
"description": "Same as EGr2nd15md4 but with 3 processes.",
"title": "EGr2nd15md4np3",
"env": {"mpiexec": "$mpiexec"},
"command": [
"$build_dir/Overlap/eddy_graph.sh",
"3",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC"
]
},
{
"input": "&CONFIG_GRAPH_NML max_delta = 4/\n&MAIN_NML /\n",
"description": "Same as EGr2nd15md4np3 but for cyclones.",
"title": "EGr2nd15md4np3_cyclo",
"env": {"mpiexec": "$mpiexec"},
"command": [
"$build_dir/Overlap/eddy_graph.sh",
"3",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC"
]
},
{
"input": "&CONFIG_GRAPH_NML max_delta = 4, cyclone = f/\n&MAIN_NML /\n",
"description": "Same as EGr2nd15md4 but with a larger region.",
"title": "EGr5np1",
"env": {"mpiexec": "$mpiexec"},
"command": [
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Region_5_15_days/SHPC"
]
},
{
"input": "&CONFIG_GRAPH_NML max_delta = 4, cyclone = f/\n&MAIN_NML /\n",
"description": "Same as EGr5np1 but with 3 processes.",
"title": "EGr5np3",
"env": {"mpiexec": "$mpiexec"},
"command": [
"$build_dir/Overlap/eddy_graph.sh",
"3",
"$tests_old_dir/Region_5_15_days/SHPC"
]
},
{
"title": "Report_graph_cyclo",
"command":
[
"$src_dir/Overlap/report_graph.py", "--gv", "--merging",
"$PWD/EGr2nd15md4np3_cyclo/edgelist.csv"
]
},
{
"title": "Report_graph_anti",
"command":
[
"$src_dir/Overlap/report_graph.py", "--gv", "--merging",
"$PWD/EGr2nd15md4np3/edgelist.csv"
]
},
{
"title": "Plot_components",
"command":
[
"$src_dir/Overlap/plot_components.py",
"$PWD/EGr2nd15md4np3/edgelist.csv",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC",
"Anticyclones", "--save=png"
]
},
{
"title": "Report_graph_int",
"command":
[
"$src_dir/Overlap/report_graph.py", "--gv", "--merging",
"$tests_old_dir/Graph_from_Matlab_v6_anti/edgelist.csv"
]
},
{
"title": "Read_eddy_missing_speed",
"commands":
[
["mkdir", "-p", "SHPC/Slice_0/Anticyclones"],
[
"$build_dir/Overlap/Tests/test_read_eddy",
"$tests_old_dir/Region_5_15_days/SHPC"
]
],
"input": "&main_nml ishape = 330 /\n"
},
{
"input": "&config_graph_nml cyclone = f/\n&main_nml /\n",
"title": "Read_snapshot_15",
"description": "Read a snapshot from an SHPC on a very small region with a sufficient number of dates: 15. $tests_old_dir/Extraction_eddies_region_4/SHPC used by the test Read_snapshot has only 2 dates.",
"commands": [
[
"mkdir", "-p", "SHPC/Slice_0/Anticyclones",
"SHPC/Slice_0/Cyclones"
],
[
"$build_dir/Overlap/Tests/test_read_snapshot",
"$tests_old_dir/Region_4_15_days/SHPC"
]
]
},
{
"input": "&config_graph_nml cyclone = f/\n&main_nml k = 20461/\n",
"title": "Read_snapshot_middle",
"description": "Like Read_snapshot_15, but we read a date other than the first date.",
"commands": [
[
"mkdir", "-p", "SHPC/Slice_0/Anticyclones",
"SHPC/Slice_0/Cyclones"
],
[
"$build_dir/Overlap/Tests/test_read_snapshot",
"$tests_old_dir/Region_4_15_days/SHPC"
]
]
},
{
"input": "&config_graph_nml cyclone = f/\n&main_nml k = 20461/\n",
"title": "Read_snapshot_several",
"description": "Like Read_snapshot_middle, but we read from several slices. The 3 slices are just the result from splitting Inst_eddies_10.",
"commands": [
[
"mkdir", "-p", "SHPC/Slice_0/Anticyclones",
"SHPC/Slice_0/Cyclones"
],
[
"$build_dir/Overlap/Tests/test_read_snapshot",
"$PWD/Inst_eddies_10_splitted"
]
]
},
{
"title": "EG_15_region_4",
"description":
"Testing eddy_graph with a sufficient number of dates, 15, on a very small region.",
"env": {"mpiexec": "$mpiexec"},
"command":
[
"$build_dir/Overlap/eddy_graph.sh", "1",
"$tests_old_dir/Region_4_15_days/SHPC"
],
"input": "&CONFIG_GRAPH_NML MAX_DELTA=4, cyclone = f/\n&MAIN_NML /\n"
},
{
"title": "EG_15_3_SHPC",
"description":
"As EG_15_region_4 but with 3 slices which are just the result of splitting Inst_eddies_10.",
"env": {"mpiexec": "$mpiexec"},
"command":
[
"$build_dir/Overlap/eddy_graph.sh", "1",
"$PWD/Inst_eddies_10_splitted"
],
"input": "&CONFIG_GRAPH_NML MAX_DELTA=4, cyclone = f/\n&MAIN_NML /\n"
},
{
"title": "Plot_components_date",
"description": "plot_components.py with option node and option label with an integer value, so is_node_type is called with an integer value for label.",
"command":
[
"$src_dir/Overlap/plot_components.py",
"$PWD/EGr2nd15md4np3/edgelist.csv",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC",
"Anticyclones", "--save=png", "--node=204618", "--label_date=20461"
]
},
{
"title": "Greece_graph",
"description":
"This is a case where the speed is not defined on a whole segment.",
"command":
[
"$build_dir/Overlap/eddy_graph.sh", "1",
"$tests_old_dir/Greece/SHPC"
],
"input": "&CONFIG_GRAPH_NML max_delta = 4, cyclone = f/\n&MAIN_NML /\n"
},
{
"title": "Report_graph_node",
"description": "Test option --node of report_graph.py.",
"command":
[
"$src_dir/Overlap/report_graph.py", "--gv", "--merging",
"--node=286461", "$tests_old_dir/EGr2nd15md4np3_cyclo/edgelist.csv"
]
},
{
"title": "Read_extr_proj",
"description": "Read shapefile extr_proj.",
"commands":
[
["mkdir", "-p", "SHPC/Slice_0/Cyclones"],
[
"$build_dir/Overlap/Tests/test_read_eddy",
"$tests_old_dir/Extr_proj/SHPC"
]
],
"input": "&main_nml cyclone = t, grid_lon_lat = f/\n"
}
]