{
    "Edgelist_Isic_1": {
	"command": [
            "$src_dir/Trajectories/segments.py",
            "$src_dir/Trajectories/Tests/edgelist_Isic_1.csv",
            "segments.graphml"
	]
    },
    "Edgelist_Isic_2": {
	"command": [
            "$src_dir/Trajectories/segments.py",
            "$src_dir/Trajectories/Tests/edgelist_Isic_2.csv",
            "segments.graphml"
	]
    },
    "Edgelist_Isic_1_nx": {
	"description": "Same as Edgelist_Isic_1, except with networkx instead of graph-tool.",
	"command": [
            "$src_dir/Trajectories/Tests/segments_networkx.py",
            "$src_dir/Trajectories/Tests/edgelist_Isic_1.csv",
            "segments.gv"
	]
    },
    "Edgelist_Isic_2_nx": {
	"command": [
            "$src_dir/Trajectories/Tests/segments_networkx.py",
            "$src_dir/Trajectories/Tests/edgelist_Isic_2.csv",
            "segments.gv"
	]
    },
    "Segments": {
	"command":
	[
            "$src_dir/Trajectories/segments.py",
            "$tests_old_dir/EGr2nd15md4/edgelist.csv",
            "segments.graphml"
	],
	"exclude_cmp": ["timings_segments.txt"],
	"description": "This is a case with only isolated segments."
    },
    "Cost_functions": {
	"command": [
            "$src_dir/Trajectories/cost_function.py",
            "$tests_old_dir/Extraction_eddies_region_2_noise/SHPC",
            "Anticyclones",
            "$tests_old_dir/Segments/segments.graphml",
            "segments_cost_functions.graphml", "--debug"
	],
	"exclude_cmp": [
            "timings.txt"
	],
	"description": "This is a case with only isolated segments."
    },
    "Greece_segments": {
	"description": "This is a case where the speed is not defined on a whole segment.",
	"command": [
            "$src_dir/Trajectories/segments.py",
            "$tests_old_dir/Greece_graph/edgelist.csv",
            "segments.graphml"
	]
    },
    "Greece_cost_function": {
	"description": "This is a case where the speed is not defined on a whole segment. It can be seen in the properties first_av_ros or last_av_ros.",
	"command": [
            "$src_dir/Trajectories/cost_function.py",
            "$tests_old_dir/Greece/SHPC",
            "Anticyclones",
            "$tests_old_dir/Greece_segments/segments.graphml",
            "segments_cost_functions.graphml", "--debug"
	],
	"exclude_cmp": [
            "timings.txt"
	]
    },
    "Cost_function_no_debug":
    {
	"description": "Like Greece_cost_function but without option --debug.",
	"command":
	[
            "$src_dir/Trajectories/cost_function.py",
	    "$tests_old_dir/Greece/SHPC", "Anticyclones",
            "$tests_old_dir/Greece_segments/segments.graphml",
            "segments_cost_functions.graphml"
	],
	"exclude_cmp": ["timings.txt"]
    },
    "Trajectories": {
	"command": [
            "$src_dir/Trajectories/trajectories.py",
            "$tests_old_dir/Cost_functions/segments_cost_functions.graphml"
	],
	"description": "This is a case with only isolated segments."
    },
    "Greece_trajectories": {
	"description": "A larger case than Trajectories.",
	"command": [
            "$src_dir/Trajectories/trajectories.py",
            "$tests_old_dir/Cost_function_no_debug/segments_cost_functions.graphml"
	]
    },
    "Draw_segments":
    {
	"command":
	[
            "$src_dir/Trajectories/Analysis/draw_segments.py",
            "$my_data_dir/Eurec4A/Graph_anti/segments_cost.gt",
            "segments.gv",
            "-t", "$my_data_dir/Eurec4A/Graph_anti/traj_segm.json"
	]
    },
    "Plot_traj": {
	"command": [
            "$src_dir/Trajectories/Analysis/plot_traj.py",
            "$tests_old_dir/Trajectories/expanded_traj.json",
            "$tests_old_dir/Extraction_eddies_region_2_noise/SHPC",
            "--save=png",
            "--annotate"
	]
    },
    "Plot_traj_Greece": {
	"command": [
            "$src_dir/Trajectories/Analysis/plot_traj.py",
            "$tests_old_dir/Greece_trajectories/expanded_traj.json",
            "$tests_old_dir/Greece/SHPC",
            "--save=png",
            "--annotate"
	]
    },
    "Division_fusion":
    {
	"command":
	[
	    "$src_dir/Trajectories/trajectories.py",
	    "$src_dir/Trajectories/Tests/segments_cost.graphml"
	],
	"description": "A toy case of division followed by fusion. Note this is a phantom pattern."
    },
    "Test_order_edges":
    {
	"command":
	[
	    "$src_dir/Trajectories/trajectories.py",
	    "$src_dir/Trajectories/Tests/example_2.graphml"
	],
	"description": "A toy case to test the algorithm in trajectories.py, specifically to test the order in which edges are processed."
    },
    "Draw_component":
    {
	"description": "draw_segments.py from a graph containing an extracted component.",
	"command":
	[
            "$src_dir/Trajectories/Analysis/draw_segments.py",
            "$tests_old_dir/Extract_component/component_1980897.graphml",
            "component_1980897.gv",
            "-t", "$my_data_dir/Eurec4A/Graph_anti/traj_segm.json"
	]
    },
    "Draw_segments_no_traj":
    {
	"description": "draw_segments.py without the option -t.",
	"command":
	[
            "$src_dir/Trajectories/Analysis/draw_segments.py",
            "$tests_old_dir/Cost_function_no_debug/segments_cost_functions.graphml",
            "segments.gv"
	]
    },
    "Traj_component":
    {
	"description": "Recompute trajectories on an extracted component. This is also an example where we have a splitting event immediately followed by a merging, but not a phantom pattern because the date interval is > 6.",
	"command":
	[
	    "$src_dir/Trajectories/trajectories.py",
	    "$tests_old_dir/Extract_component/component_1980897.graphml"
	]
    },
    "Component_60148580":
    {
	"description": "The input file is extracted from Global_1993_2023/Graph_anti. This is a case where the test on in-degrees and out-degrees in trajectories.py is important.",
	"command":
	[
	    "$src_dir/Trajectories/trajectories.py",
	    "$src_dir/Trajectories/Tests/component_60148580.graphml"
	]
    },
    "Swapping":
    {
	"description": "The input file is a component extracted from Eurec4A/Graph_anti. This is a case where, in a phantom pattern, we swap the trajectories of pred[0] and pred[1].",
	"command":
	[
	    "$src_dir/Trajectories/trajectories.py",
	    "$src_dir/Trajectories/Tests/Eurec4_1993179.graphml"
	]
    },
    "Geodesic":
    {
	"description": "The input file is a component extracted from Global_1993_2023/Graph_anti. This is a rare example of a trajectory which is not a geodesic.",
	"command":
	[
	    "$src_dir/Trajectories/trajectories.py",
	    "$src_dir/Trajectories/Tests/component_69684840.graphml"
	]
    }
}