Skip to content
Snippets Groups Projects
Commit 7506392f authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Replace keyword `required` by `symlink`

Following update of `test_compare.py`.
parent d0f87918
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
"/data/lmd-oce/EUREC4A_OA/DATA_SAT_NewExport_Atalante/TOEddies/Eddies/adt_2019-12-15.mat",
"2019-12-16"
],
"required": ["$src_dir/Convert_Matlab/inst_eddies.m"]
"symlink": ["$src_dir/Convert_Matlab/inst_eddies.m"]
},
{
"title": "Inst_eddies_v6_global",
......@@ -18,7 +18,7 @@
"$src_dir/Convert_Matlab/inst_eddies_v6.py",
"/proju/lmd-oce/data/TOEddies/Global/Delayed-Time/Eddies/adt_19930102.mat"
],
"required":
"symlink":
[
"$src_dir/Convert_Matlab/inst_eddies.m",
"$src_dir/Convert_Matlab/Tests/node_id_param.json"
......
......@@ -2,7 +2,7 @@
{
"title": "Graph_from_Matlab_v6_cyclo",
"command": "$src_dir/Convert_Matlab/overlap_v6.py",
"required":
"symlink":
[
[
"$src_dir/Convert_Matlab/Tests/Eurec4A_OA/id_child_cyclo.mat",
......@@ -19,7 +19,7 @@
{
"title": "Graph_from_Matlab_v6_anti",
"command": "$src_dir/Convert_Matlab/overlap_v6.py",
"required":
"symlink":
[
[
"$src_dir/Convert_Matlab/Tests/Eurec4A_OA/id_child_anti.mat",
......@@ -43,7 +43,7 @@
},
{
"title": "Survival", "command": "$src_dir/Convert_Matlab/survival.py",
"required":
"symlink":
[
"$src_dir/Convert_Matlab/Tests/Eurec4A_OA/traj_anti.mat",
"$src_dir/Convert_Matlab/Tests/Eurec4A_OA/traj_cyclo.mat"
......
......@@ -46,7 +46,7 @@
"--grid", "--save=png"
],
"description": "With grid option.",
"required": [["$src_dir/Inst_eddies/Tests/Input/h_region_4.nc", "h.nc"]]
"symlink": [["$src_dir/Inst_eddies/Tests/Input/h_region_4.nc", "h.nc"]]
},
{
"title": "Plot_eddy_contours_wind",
......
......@@ -18,7 +18,7 @@
"$build_dir/Inst_eddies/inst_eddies"
],
"title": "Extraction_eddies_region_3",
"required":
"symlink":
[
["$src_dir/Inst_eddies/Tests/Input/h_region_3.nc", "h.nc"],
["$src_dir/Inst_eddies/Tests/Input/uv_region_3.nc", "uv.nc"]
......@@ -34,7 +34,7 @@
"$build_dir/Inst_eddies/inst_eddies"
],
"title": "Extraction_eddies_region_3_min",
"required":
"symlink":
[
["$src_dir/Inst_eddies/Tests/Input/h_region_3.nc", "h.nc"],
["$src_dir/Inst_eddies/Tests/Input/uv_region_3.nc", "uv.nc"]
......@@ -51,7 +51,7 @@
"$build_dir/Inst_eddies/inst_eddies"
],
"title": "Extraction_eddies_region_5",
"required":
"symlink":
[
["$src_dir/Inst_eddies/Tests/Input/h_region_5.nc", "h.nc"],
["$src_dir/Inst_eddies/Tests/Input/uv_region_5.nc", "uv.nc"]
......
......@@ -2,7 +2,7 @@
{
"input": "&main_nml /\n20454\n",
"title": "Get_1_outerm",
"required": [
"symlink": [
[
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
"h.nc"
......@@ -20,7 +20,7 @@
"Assume insufficient amplitude for extrema 2 and 8. Even if extremum 8 does not have a particularly small amplitude, we just want to see the target extremum, 6, grow its outermost contour compared to the case without minimum amplitude.",
"input": "&main_nml /\n20454\n",
"title": "Get_1_outerm_noise_2_8",
"required": [
"symlink": [
[
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
"h.nc"
......@@ -34,7 +34,7 @@
"description": "Negative value for extremum 2.",
"input": "&main_nml /\n20454\n",
"title": "Get_1_outerm_noise_2",
"required": [
"symlink": [
[
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
"h.nc"
......@@ -50,7 +50,7 @@
{
"description":
"3 contours at that level. 2 contain the inside point, one of which contains the 2 outside points.",
"required": [
"symlink": [
[
"$src_dir/Inst_eddies/Tests/Input/outside_points_1.csv",
"outside_points.csv"
......@@ -66,7 +66,7 @@
{
"description":
"Select another good contour. Case where one of the contours tested does not contain inside point.",
"required": [
"symlink": [
[
"$src_dir/Inst_eddies/Tests/Input/outside_points_2.csv",
"outside_points.csv"
......@@ -80,7 +80,7 @@
"stdin_filename": "$src_dir/Inst_eddies/Tests/Input/good_contour_2.txt"
},
{
"required": [
"symlink": [
[
"$src_dir/Inst_eddies/Tests/Input/outside_points_1.csv",
"outside_points.csv"
......@@ -192,7 +192,7 @@
{
"input": "&main_nml /\n",
"title": "Mean_speed",
"required":
"symlink":
[
[
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
......@@ -208,7 +208,7 @@
{
"input": "&main_nml /\n",
"title": "Mean_speed_alt",
"required":
"symlink":
[
[
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
......@@ -222,7 +222,7 @@
]
},
{
"required":
"symlink":
[
[
"$src_dir/Inst_eddies/Tests/Input/h_outermost.nc",
......@@ -248,7 +248,7 @@
]
},
{
"required":
"symlink":
[
[
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
......@@ -271,7 +271,7 @@
]
},
{
"required":
"symlink":
[
["$src_dir/Inst_eddies/Tests/Input/degenerated_SSH.nc", "h.nc"],
["$src_dir/Inst_eddies/Tests/Input/degenerated_SSH.nc", "uv.nc"],
......@@ -294,7 +294,7 @@
{
"create_file": ["main_nml.txt", "&main_nml min_amp = 0./\n"],
"input": "20454\n",
"required": [
"symlink": [
[
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
"h.nc"
......@@ -315,7 +315,7 @@
"Same as Extraction_eddies_region_1 but with non-zero minimal amplitude.",
"create_file": ["main_nml.txt", "&main_nml /\n"],
"input": "20454\n",
"required":
"symlink":
[
[
"$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc",
......@@ -335,7 +335,7 @@
{
"create_file": ["main_nml.txt", "&main_nml min_amp = 0./\n"],
"input": "20454\n",
"required": [
"symlink": [
["$src_dir/Inst_eddies/Tests/Input/h_region_2.nc", "h.nc"],
["$src_dir/Inst_eddies/Tests/Input/uv_region_2.nc", "uv.nc"]
],
......@@ -416,7 +416,7 @@
"&main_nml min_amp = 0., MAX_RADIUS_deg = 80., 72./\n"
],
"input": "20454\n",
"required": [
"symlink": [
[
"$src_dir/Inst_eddies/Tests/Input/h_2006_01_01_coarse.nc",
"h.nc"
......
......@@ -472,7 +472,7 @@
[
"$src_dir/Overlap/report_graph.py", "--gv", "--merging"
],
"required":
"symlink":
[
"$PWD/EGr2nd15md4np3_cyclo/edgelist.csv",
"$PWD/EGr2nd15md4np3_cyclo/node_id_param.json"
......@@ -484,7 +484,7 @@
[
"$src_dir/Overlap/report_graph.py", "--gv", "--merging"
],
"required":
"symlink":
[
"$PWD/EGr2nd15md4np3/edgelist.csv",
"$PWD/EGr2nd15md4np3/node_id_param.json"
......@@ -498,7 +498,7 @@
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC_anti",
"--save=png"
],
"required":
"symlink":
[
"$PWD/EGr2nd15md4np3/edgelist.csv",
"$PWD/EGr2nd15md4np3/node_id_param.json"
......@@ -508,7 +508,7 @@
"title": "Report_graph_int",
"command":
["$src_dir/Overlap/report_graph.py", "--gv", "--merging"],
"required":
"symlink":
[
"$tests_old_dir/Graph_from_Matlab_v6_anti/edgelist.csv",
"$tests_old_dir/Graph_from_Matlab_v6_anti/node_id_param.json"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment