-
Lionel GUEZ authored
In particular for several SHPC.
Lionel GUEZ authoredIn particular for several SHPC.
short_tests.json 19.06 KiB
[
{
"title": "Weight",
"command": "$build_dir/Overlap/Tests/test_weight"
},
{
"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", "SHPC"],
[
"$build_dir/Overlap/Tests/test_read_eddy",
"$tests_old_dir/Extraction_eddies_region_4/SHPC_anti"
]
],
"input": "&main_nml /\n"
},
{
"input": "&main_nml /\n",
"title": "Read_snapshot",
"commands": [
[
"mkdir",
"SHPC"
],
[
"$build_dir/Overlap/Tests/test_read_snapshot",
"$tests_old_dir/Extraction_eddies_region_4/SHPC_anti"
]
]
},
{
"input": "&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_anti"
]
},
{
"input": "&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",
"$PWD/Inst_eddies_4_anti"
]
},
{
"stdin_filename": "$src_dir/Overlap/Tests/Input/successive_overlap_periodic_in.txt",
"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_cyclo"
]
},
{
"input": "&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_anti"
]
},
{
"input": "&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_anti"
]
},
{
"input": "&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",
"$PWD/Inst_eddies_4_anti"
]
},
{
"input": "&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_anti"
]
},
{
"input": "&MAIN_NML max_delta = 3, 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_anti"
]
},
{
"input": "&MAIN_NML max_delta = 3, 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_anti"
]
},
{
"input": "&MAIN_NML max_delta = 3, 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",
"$PWD/Inst_eddies_4_anti"
]
},
{
"input": "&MAIN_NML max_delta = 3, 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_anti"
]
},
{
"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_anti"
]
},
{
"input": "&main_nml /\n",
"description": "Send and receive an eddy.",
"title": "Send_recv",
"stdout": "test_send_recv_stdout.txt",
"commands": [
[
"mkdir",
"SHPC"
],
[
"$mpiexec",
"-n",
"2",
"$build_dir/Overlap/Tests/test_send_recv",
"$tests_old_dir/Extraction_eddies_region_4/SHPC_anti"
]
]
},
{
"input":
"&MAIN_NML CORNER = 5.125, -36.375, NLON = 29, NLAT = 17, k = 20454 /\n",
"title": "Get_dispatch_snap",
"stdout": "test_get_dispatch_snap_stdout.txt",
"commands": [
[
"mkdir",
"SHPC"
],
[
"$mpiexec",
"-n",
"1",
"$build_dir/Overlap/Tests/test_get_dispatch_snap",
"$tests_old_dir/Inst_eddies_loop/SHPC_cyclo"
]
]
},
{
"input": "&MAIN_NML CORNER = 5.125, -36.375, NLON = 29, NLAT = 17, 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",
"SHPC"
],
[
"$mpiexec",
"-n",
"2",
"$build_dir/Overlap/Tests/test_get_dispatch_snap",
"$tests_old_dir/Inst_eddies_loop/SHPC_cyclo"
]
]
},
{
"input": "&MAIN_NML /\n",
"title": "Eddy_graph",
"stdout": "eddy_graph_stdout.txt",
"command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Inst_eddies_loop/SHPC_cyclo"
]
},
{
"input": "&MAIN_NML /\n",
"description": "Same as Eddy_graph but with 2 processes.",
"title": "Eddy_graph_2",
"stdout": "eddy_graph_stdout.txt",
"command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/Overlap/eddy_graph.sh",
"2",
"$tests_old_dir/Inst_eddies_loop/SHPC_cyclo"
]
},
{
"input": "&MAIN_NML MAX_DELTA = 2 /\n",
"description": "Same as Eddy_graph but with max_delta = 2.",
"title": "Eddy_graph_md2",
"stdout": "eddy_graph_stdout.txt",
"command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Inst_eddies_loop/SHPC_cyclo"
]
},
{
"input": "&MAIN_NML n_dates = 4/\n",
"description": "Eddy_graph with a larger region.",
"title": "Eddy_graph_region_2",
"stdout": "eddy_graph_stdout.txt",
"command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC_anti"
]
},
{
"input": "&MAIN_NML n_dates = 4/\n",
"description": "Same as Eddy_graph_region_2 but with 2 processes.",
"title": "Eddy_graph_region_2_2",
"stdout": "eddy_graph_stdout.txt",
"command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/Overlap/eddy_graph.sh",
"2",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC_anti"
]
},
{
"input": "&MAIN_NML n_dates = 4, max_delta = 2/\n",
"description": "Same as Eddy_graph_region_2 but with max_delta = 2.",
"title": "Eddy_graph_r2md2",
"stdout": "eddy_graph_stdout.txt",
"command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC_anti"
]
},
{
"input": "&MAIN_NML n_dates = 4, max_delta = 3/\n",
"description": "Same as Eddy_graph_region_2 but with max_delta = 3.",
"title": "Eddy_graph_r2md3",
"stdout": "eddy_graph_stdout.txt",
"command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC_anti"
]
},
{
"input": "&MAIN_NML n_dates = 5, max_delta = 3/\n",
"description": "Same as Eddy_graph_r2md3 but with n_dates = 5.",
"title": "Eddy_graph_r2nd5md3",
"stdout": "eddy_graph_stdout.txt",
"command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC_anti"
]
},
{
"input": "&MAIN_NML n_dates = 5, max_delta = 4/\n",
"description": "Same as Eddy_graph_r2nd5md3 but with max_delta = 4.",
"title": "EGr2nd5md4",
"stdout": "eddy_graph_stdout.txt",
"command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC_anti"
]
},
{
"input": "&MAIN_NML n_dates = 6, max_delta = 4/\n",
"description": "Same as EGr2nd5md4 but with n_dates = 6.",
"title": "EGr2nd6md4",
"stdout": "eddy_graph_stdout.txt",
"command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC_anti"
]
},
{
"input": "&MAIN_NML n_dates = 6/\n",
"description": "Same as EGr2nd6md4 but with max_delta = 1.",
"title": "EGr2nd6md1",
"stdout": "eddy_graph_stdout.txt",
"command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC_anti"
]
},
{
"input": "&MAIN_NML n_dates = 6/\n",
"description": "Same as EGr2nd6md1 but with 2 processes.",
"title": "EGr2nd6md1np2",
"stdout": "eddy_graph_stdout.txt",
"command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/Overlap/eddy_graph.sh",
"2",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC_anti"
]
},
{
"input": "&MAIN_NML n_dates = 6/\n",
"description": "Same as EGr2nd6md1 but with 3 processes.",
"title": "EGr2nd6md1np3",
"stdout": "eddy_graph_stdout.txt",
"command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/Overlap/eddy_graph.sh",
"3",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC_anti"
]
},
{
"input": "&MAIN_NML /\n",
"description": "Same as EGr2nd6md1 but with all the 15 dates.",
"title": "EGr2nd15md1",
"stdout": "eddy_graph_stdout.txt",
"command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC_anti"
]
},
{
"input": "&MAIN_NML max_delta = 2 /\n",
"description": "Same as EGr2nd15md1 but with max_delta = 2.",
"title": "EGr2nd15md2",
"stdout": "eddy_graph_stdout.txt",
"command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC_anti"
]
},
{
"input": "&MAIN_NML max_delta = 3 /\n",
"description": "Same as EGr2nd15md1 but with max_delta = 3.",
"title": "EGr2nd15md3",
"stdout": "eddy_graph_stdout.txt",
"command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC_anti"
]
},
{
"input": "&MAIN_NML max_delta = 4 /\n",
"description": "Same as EGr2nd15md1 but with max_delta = 4.",
"title": "EGr2nd15md4",
"stdout": "eddy_graph_stdout.txt",
"command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC_anti"
]
},
{
"input": "&MAIN_NML max_delta = 4 /\n",
"description": "Same as EGr2nd15md4 but with 2 processes.",
"title": "EGr2nd15md4np2",
"stdout": "eddy_graph_stdout.txt",
"command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/Overlap/eddy_graph.sh",
"2",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC_anti"
]
},
{
"input": "&MAIN_NML max_delta = 4 /\n",
"description": "Same as EGr2nd15md4 but with 3 processes.",
"title": "EGr2nd15md4np3",
"stdout": "eddy_graph_stdout.txt",
"command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/Overlap/eddy_graph.sh",
"3",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC_anti"
]
},
{
"input": "&MAIN_NML max_delta = 4 /\n",
"description": "Same as EGr2nd15md4np3 but for cyclones.",
"title": "EGr2nd15md4np3_cyclo",
"stdout": "eddy_graph_stdout.txt",
"command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/Overlap/eddy_graph.sh",
"3",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC_cyclo"
]
},
{
"input": "&MAIN_NML max_delta = 4 /\n",
"description": "Same as EGr2nd15md4 but with a larger region.",
"title": "EGr5np1",
"stdout": "eddy_graph_stdout.txt",
"command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/Overlap/eddy_graph.sh",
"1",
"$PWD/Inst_eddies_4_anti"
]
},
{
"input": "&MAIN_NML max_delta = 4 /\n",
"description": "Same as EGr5np1 but with 3 processes.",
"title": "EGr5np3",
"stdout": "eddy_graph_stdout.txt",
"command": [
"env",
"mpiexec=$mpiexec",
"$build_dir/Overlap/eddy_graph.sh",
"3",
"$PWD/Inst_eddies_4_anti"
]
},
{
"title": "Report_graph_cyclo",
"command":
[
"$src_dir/Overlap/report_graph.py", "--gv", "--merging"
],
"required":
[
"$PWD/EGr2nd15md4np3_cyclo/edgelist.csv",
"$PWD/EGr2nd15md4np3_cyclo/node_id_param.json"
]
},
{
"title": "Report_graph_anti",
"command":
[
"$src_dir/Overlap/report_graph.py", "--gv", "--merging"
],
"required":
[
"$PWD/EGr2nd15md4np3/edgelist.csv",
"$PWD/EGr2nd15md4np3/node_id_param.json"
]
},
{
"title": "Plot_traj",
"command":
[
"$src_dir/Overlap/plot_traj.py",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC_anti",
"--save=png"
],
"required":
[
"$PWD/EGr2nd15md4np3/edgelist.csv",
"$PWD/EGr2nd15md4np3/node_id_param.json"
]
},
{
"title": "Report_graph_int",
"command":
["$src_dir/Overlap/report_graph.py", "--gv", "--merging"],
"required":
[
"$tests_old_dir/Graph_from_Matlab_v6_anti/edgelist.csv",
"$tests_old_dir/Graph_from_Matlab_v6_anti/node_id_param.json"
]
},
{
"title": "Read_eddy_missing_speed",
"commands":
[
["mkdir", "SHPC"],
[
"$build_dir/Overlap/Tests/test_read_eddy",
"$PWD/Inst_eddies_4_anti"
]
],
"input": "&main_nml ishape = 330 /\n"
},
{
"input": "&main_nml /\n",
"title": "Read_snapshot_15",
"description": "Read a snapshot from an SHPC with a sufficient number of dates: 15. $tests_old_dir/Extraction_eddies_region_4/SHPC_anti used by the test Read_snapshot has only 2 dates.",
"commands": [
[
"mkdir",
"SHPC"
],
[
"$build_dir/Overlap/Tests/test_read_snapshot",
"$PWD/Inst_eddies_10_anti"
]
]
},
{
"input": "&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",
"SHPC"
],
[
"$build_dir/Overlap/Tests/test_read_snapshot",
"$PWD/Inst_eddies_10_anti"
]
]
},
{
"input": "&main_nml k = 20461/\n",
"title": "Read_snapshot_several",
"description": "Like Read_snapshot_middle, but we read from several SHPC. The 3 SHPC are just the result from splitting Inst_eddies_10_anti.",
"commands": [
[
"mkdir",
"SHPC"
],
[
"$build_dir/Overlap/Tests/test_read_snapshot",
"$PWD/Inst_eddies_10_anti_1", "$PWD/Inst_eddies_10_anti_2",
"$PWD/Inst_eddies_10_anti_3"
]
]
}
]