Skip to content
Snippets Groups Projects
short_tests.json 23.5 KiB
Newer Older
GUEZ Lionel's avatar
GUEZ Lionel committed
  "Extraction_eddies_region_1_noise": {
    "create_file": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml /\n&input_ssh_nml /\n"
GUEZ Lionel's avatar
GUEZ Lionel committed
    "commands": [
      "$build_dir/Inst_eddies/create_slice.py SHPC 20454",
GUEZ Lionel's avatar
GUEZ Lionel committed
      [
        "$build_dir/Inst_eddies/inst_eddies",
        "SHPC",
        "$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc"
      ]
    ],
    "stdin_filename": "inst_eddies_nml.txt",
GUEZ Lionel's avatar
GUEZ Lionel committed
    "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"
      ]
    ],
    "input": "&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."
  },
  "Get_1_outerm": {
    "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",
    "symlink": [
      "$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"
      ]
    }
  },
  "Get_1_outerm_noise_2_8": {
    "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"
    ],
    "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"
      ]
    }
  },
  "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",
    "command": [
      "$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"
GUEZ Lionel's avatar
GUEZ Lionel committed
    ]
  },
  "Mean_speed_alt": {
    "input": "&config_nml /\n&input_ssh_nml /\n&main_nml /\n",
    "command": [
      "$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"
GUEZ Lionel's avatar
GUEZ Lionel committed
    ]
  },
  "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/SHPC",
        "$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"
      ]
    }
  },
  "Set_max_speed_noise": {
    "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_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"
      ]
    }
  },
  "Extraction_eddies_region_2": {
    "create_file": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml min_amp = 0./\n&input_ssh_nml /\n"
GUEZ Lionel's avatar
GUEZ Lionel committed
    "commands": [
      "$build_dir/Inst_eddies/create_slice.py SHPC 20454",
GUEZ Lionel's avatar
GUEZ Lionel committed
      [
        "$build_dir/Inst_eddies/inst_eddies",
        "SHPC",
        "$src_dir/Inst_eddies/Tests/Input/huv_region_2.nc"
      ]
    ],
    "stdin_filename": "inst_eddies_nml.txt",
GUEZ Lionel's avatar
GUEZ Lionel committed
    "sel_diff_args": {
      "exclude": [
        "timings.txt",
        "n_slices.txt"
      ]
    }
  },
  "Extraction_eddies_region_4": {
    "description": "Part of the domain has missing values.",
    "create_file": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml /\n&input_ssh_nml /\n"
GUEZ Lionel's avatar
GUEZ Lionel committed
    ],
    "commands": [
      [
        "$build_dir/Inst_eddies/inst_eddies.py",
        "-b",
        "16.125",
        "20.875",
        "-38.875",
        "-34.125",
        "SHPC",
        "$Aviso_DT_dir/2006/01/dt_global_allsat_phy_l4_20060101_20210726.nc",
        "$Aviso_DT_dir/2006/01/dt_global_allsat_phy_l4_20060102_20210726.nc"
GUEZ Lionel's avatar
GUEZ Lionel committed
      ],
      "mv grid_nml.txt SHPC"
    ],
    "main_command": 0,
    "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": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml /\n&input_ssh_nml /\n"
GUEZ Lionel's avatar
GUEZ Lionel committed
    ],
    "command": [
      "$build_dir/Inst_eddies/inst_eddies.py",
      "-b",
      "16.125",
      "20.875",
      "-38.875",
      "-34.125",
      "SHPC",
      "$Aviso_DT_dir/2006/01/dt_global_allsat_phy_l4_20060101_20210726.nc"
GUEZ Lionel's avatar
GUEZ Lionel committed
    ],
    "sel_diff_args": {
      "exclude": [
        "timings.txt",
        "perf_report.csv"
      ]
    }
  },
  "Inst_eddies_loop": {
    "create_file": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml /\n&input_ssh_nml /\n"
GUEZ Lionel's avatar
GUEZ Lionel committed
    ],
    "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"
      ],
      "mv grid_nml.txt SHPC"
    ],
    "sel_diff_args": {
      "exclude": [
        "timings.txt",
        "perf_report.csv"
      ]
    },
    "main_command": 0
  },
  "Nearby_extr": {
    "command": [
      "$build_dir/Inst_eddies/Tests/test_nearby_extr",
      "$tests_old_dir/Inst_eddies_loop/SHPC"
    ],
    "input": "&main_nml /\n",
    "description": "We are using Inst_eddies_loop, which is a previous test."
  },
  "Set_all_outerm_periodic": {
    "description": "inst_eddies with periodicity.",
    "create_file": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml MAX_RADIUS = 4, 4, min_radius = 20./\n&input_ssh_nml periodic=t/\n"
GUEZ Lionel's avatar
GUEZ Lionel committed
    "commands": [
      "$build_dir/Inst_eddies/create_slice.py SHPC 1",
GUEZ Lionel's avatar
GUEZ Lionel committed
      [
        "$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"
      ]
    ],
    "stdin_filename": "inst_eddies_nml.txt",
GUEZ Lionel's avatar
GUEZ Lionel committed
    "sel_diff_args": {
      "exclude": [
        "timings.txt",
        "n_slices.txt"
      ]
    }
  },
  "Extraction_eddies_periodic": {
    "description": "Periodic domain.",
    "create_file": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml min_amp = 0., MAX_RADIUS = 4, 4/\n&input_ssh_nml periodic=t/\n"
GUEZ Lionel's avatar
GUEZ Lionel committed
    "commands": [
      "$build_dir/Inst_eddies/create_slice.py SHPC 20454",
GUEZ Lionel's avatar
GUEZ Lionel committed
      [
        "$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"
      ],
      "mv grid_nml.txt SHPC"
    ],
    "stdin_filename": "inst_eddies_nml.txt",
GUEZ Lionel's avatar
GUEZ Lionel committed
    "main_command": 1,
    "sel_diff_args": {
      "exclude": [
        "timings.txt",
        "n_slices.txt"
      ]
    }
  },
  "Extr_proj": {
    "description": "Create shapefile extr_proj.",
    "input": "&main_nml date = 20454/\n&config_nml /\n&input_ssh_nml uniform_lon_lat=f/\n",
    "symlink": [
      "$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"
      ],
      "mv grid_nml.txt SHPC"
    ],
    "main_command": 1,
    "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/2006/01/dt_global_allsat_phy_l4_%Y%m%d_20210726.nc",
GUEZ Lionel's avatar
GUEZ Lionel committed
        "2006-01-01",
        "2006-01-15",
        "--bbox",
        "16.125",
        "20.875",
        "-38.875",
        "-34.125"
      ],
      "mv grid_nml.txt SHPC"
    ],
    "main_command": 0,
    "create_file": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml /\n&input_ssh_nml /\n"
GUEZ Lionel's avatar
GUEZ Lionel committed
    ],
    "sel_diff_args": {
      "exclude": [
        "timings.txt",
        "perf_report.csv"
      ]
    }
  },
  "Complete_SSH": {
    "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"
      ]
    ],
    "input": "&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/2006/01/dt_global_allsat_phy_l4_20060112_20210726.nc",
GUEZ Lionel's avatar
GUEZ Lionel committed
        "--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"
      ]
    ],
    "input": "&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/2006/01/dt_global_allsat_phy_l4_20060103_20210726.nc",
GUEZ Lionel's avatar
GUEZ Lionel committed
        "--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"
      ]
    ],
    "input": "&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/h_region_5.nc",
        "$src_dir/Inst_eddies/Tests/Input/uv_region_5.nc"
      ]
    ],
    "input": "&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"
      ]
    ],
    "input": "&config_nml /\n&input_ssh_nml /\n&MAIN_NML CYCLONE=f DATE=20454 EDDY_I_TARGET=3/\n"
  },
  "Test_INALT60": {
    "description": "First test with non-uniform grid in the NetCDF file, although we process it as a uniform grid.",
    "create_file": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml min_radius=2.5 max_radius=150,150 /\n&input_ssh_nml /\n"
    ],
GUEZ Lionel's avatar
GUEZ Lionel committed
    "commands": [
      "$build_dir/Inst_eddies/create_slice.py SHPC 0",
GUEZ Lionel's avatar
GUEZ Lionel committed
      [
        "$build_dir/Inst_eddies/inst_eddies",
        "SHPC",
        "$src_dir/Inst_eddies/Tests/Input/adt_INALT60.nc",
        "$src_dir/Inst_eddies/Tests/Input/ugos_INALT60.nc",
        "$src_dir/Inst_eddies/Tests/Input/vgos_INALT60.nc"
GUEZ Lionel's avatar
GUEZ Lionel committed
      ]
    ],
    "stdin_filename": "inst_eddies_nml.txt",
GUEZ Lionel's avatar
GUEZ Lionel committed
    "sel_diff_args": {
      "exclude": [
        "timings.txt",
        "n_slices.txt"
      ]
    }
  },
  "Non_uniform": {
    "description": "Same test as Extraction_eddies_region_1_noise, except with uniform_lon_lat=f.",
    "create_file": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml /\n&input_ssh_nml uniform_lon_lat=f/\n"
GUEZ Lionel's avatar
GUEZ Lionel committed
    "commands": [
      "$build_dir/Inst_eddies/create_slice.py SHPC 20454",
GUEZ Lionel's avatar
GUEZ Lionel committed
      [
        "$build_dir/Inst_eddies/inst_eddies",
        "SHPC",
        "$src_dir/Inst_eddies/Tests/Input/Region_1/huv_region_1_2006_01_01.nc"
      ]
    ],
    "stdin_filename": "inst_eddies_nml.txt",
GUEZ Lionel's avatar
GUEZ Lionel committed
    "sel_diff_args": {
      "exclude": [
        "timings.txt",
        "n_slices.txt"
      ]
    }
  },
  "INALT60_non_uniform": {
    "description": "Same test as Test_INALT60 except with uniform_lon_lat=f.",
    "create_file": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml min_radius=2.5 max_radius=150,150 /\n&input_ssh_nml uniform_lon_lat=f/\n"
    ],
GUEZ Lionel's avatar
GUEZ Lionel committed
    "commands": [
      "$build_dir/Inst_eddies/create_slice.py SHPC 0",
GUEZ Lionel's avatar
GUEZ Lionel committed
      [
        "$build_dir/Inst_eddies/inst_eddies",
        "SHPC",
        "$src_dir/Inst_eddies/Tests/Input/adt_INALT60.nc",
        "$src_dir/Inst_eddies/Tests/Input/ugos_INALT60.nc",
        "$src_dir/Inst_eddies/Tests/Input/vgos_INALT60.nc"
GUEZ Lionel's avatar
GUEZ Lionel committed
      ]
    ],
    "stdin_filename": "inst_eddies_nml.txt",
GUEZ Lionel's avatar
GUEZ Lionel committed
    "sel_diff_args": {
      "exclude": [
        "timings.txt",
        "n_slices.txt"
      ]
GUEZ Lionel's avatar
GUEZ Lionel committed
  },
  "Days_non_uniform": {
    "description": "Same test as Inst_eddies_loop except with uniform_lon_lat=f.",
    "create_file": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml /\n&input_ssh_nml uniform_lon_lat=f/\n"
GUEZ Lionel's avatar
GUEZ Lionel committed
    ],
    "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"
      ],
      "mv grid_nml.txt SHPC"
    ],
    "sel_diff_args": {
      "exclude": [
        "timings.txt",
        "perf_report.csv"
      ]
    },
    "main_command": 0
GUEZ Lionel's avatar
GUEZ Lionel committed
  },
  "Staggering": {
    "description": "Same test as INALT60_non_uniform except with non-zero stag_u and stag_v.",
    "create_file": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml min_radius=2.5 max_radius=150,150 /\n&input_ssh_nml uniform_lon_lat=f stag_u=0.5 stag_v=0,0.5/\n"
    ],
GUEZ Lionel's avatar
GUEZ Lionel committed
    "commands": [
      "$build_dir/Inst_eddies/create_slice.py SHPC 0",
GUEZ Lionel's avatar
GUEZ Lionel committed
      [
        "$build_dir/Inst_eddies/inst_eddies",
        "SHPC",
        "$src_dir/Inst_eddies/Tests/Input/adt_INALT60.nc",
        "$src_dir/Inst_eddies/Tests/Input/ugos_INALT60.nc",
        "$src_dir/Inst_eddies/Tests/Input/vgos_INALT60.nc"
GUEZ Lionel's avatar
GUEZ Lionel committed
      ]
    ],
    "stdin_filename": "inst_eddies_nml.txt",
GUEZ Lionel's avatar
GUEZ Lionel committed
    "sel_diff_args": {
      "exclude": [
        "timings.txt",
        "n_slices.txt"
      ]
    }
GUEZ Lionel's avatar
GUEZ Lionel committed
  },
  "Append": {
    "description": "Running inst_eddies on an already started slice.",
    "input": "&main_nml leave_trace=f/\n&config_nml min_radius=2.5 max_radius=150,150 /\n&input_ssh_nml uniform_lon_lat=f stag_u=0.5 stag_v=0,0.5 nc_time=2/\n",
GUEZ Lionel's avatar
GUEZ Lionel committed
    "command": [
      "$build_dir/Inst_eddies/inst_eddies",
      "SHPC",
      "$src_dir/Inst_eddies/Tests/Input/adt_INALT60.nc",
      "$src_dir/Inst_eddies/Tests/Input/ugos_INALT60.nc",
      "$src_dir/Inst_eddies/Tests/Input/vgos_INALT60.nc"
GUEZ Lionel's avatar
GUEZ Lionel committed
    ],
    "sel_diff_args": {
      "exclude": [
        "timings.txt",
        "n_slices.txt"
      ]
    },
    "copy": [
      "$tests_old_dir/Staggering/SHPC"
    ]
Lionel GUEZ's avatar
Lionel GUEZ committed
  },
  "No_eddy": {
    "description": "No eddy found at that date. Same as test Staggering except we change min_radius.",
    "create_file": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml max_radius=150,150 /\n&input_ssh_nml uniform_lon_lat=f stag_u=0.5 stag_v=0,0.5/\n"
    ],
Lionel GUEZ's avatar
Lionel GUEZ committed
    "commands": [
      "$build_dir/Inst_eddies/create_slice.py SHPC 0",
Lionel GUEZ's avatar
Lionel GUEZ committed
      [
        "$build_dir/Inst_eddies/inst_eddies",
        "SHPC",
        "$src_dir/Inst_eddies/Tests/Input/adt_INALT60.nc",
        "$src_dir/Inst_eddies/Tests/Input/ugos_INALT60.nc",
        "$src_dir/Inst_eddies/Tests/Input/vgos_INALT60.nc"
      ]
    ],
    "stdin_filename": "inst_eddies_nml.txt",
Lionel GUEZ's avatar
Lionel GUEZ committed
    "sel_diff_args": {
      "exclude": [
        "timings.txt",
        "n_slices.txt"
      ]
    }
Lionel GUEZ's avatar
Lionel GUEZ committed
  },
  "Create_slice": {
    "command": "$build_dir/Inst_eddies/create_slice.py SHPC 0",
Lionel GUEZ's avatar
Lionel GUEZ committed
    "create_file": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml /\n&input_ssh_nml /\n"
    ]
GUEZ Lionel's avatar
GUEZ Lionel committed
  },
  "Loop_INALT60": {
    "create_file": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml min_radius=2.5 max_radius=150,150 /\n&input_ssh_nml uniform_lon_lat=f stag_u=0.5 stag_v=0,0.5/\n"
    ],
    "command": [
      "$build_dir/Inst_eddies/inst_eddies_INALT.py",
      "SHPC",
      "$src_dir/Inst_eddies/Tests/Input/adt_INALT60.nc",
      "$src_dir/Inst_eddies/Tests/Input/ugos_INALT60.nc",
      "$src_dir/Inst_eddies/Tests/Input/vgos_INALT60.nc",
      "0"
GUEZ Lionel's avatar
GUEZ Lionel committed
    ],
    "sel_diff_args": {
      "exclude": [
        "timings.txt",
        "perf_report.csv"
      ]
    }
GUEZ Lionel's avatar
GUEZ Lionel committed
  }
Lionel GUEZ's avatar
Lionel GUEZ committed
}