Skip to content
Snippets Groups Projects
long_tests.json 5.6 KiB
Newer Older
GUEZ Lionel's avatar
GUEZ Lionel committed
  "Set_all_outerm": {
    "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_region_3.nc",
        "$src_dir/Inst_eddies/Tests/Input/uv_region_3.nc"
      ]
    ],
    "create_file": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml min_radius = 20./\n&input_ssh_nml /\n"
    ],
    "stdin_filename": "inst_eddies_nml.txt",
GUEZ Lionel's avatar
GUEZ Lionel committed
    "sel_diff_args": {
      "exclude": [
        "timings.txt"
      ]
Lionel GUEZ's avatar
Lionel GUEZ committed
    }
GUEZ Lionel's avatar
GUEZ Lionel committed
  },
  "Extraction_eddies_region_3": {
    "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_region_3.nc",
        "$src_dir/Inst_eddies/Tests/Input/uv_region_3.nc"
      ]
    ],
    "create_file": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml min_amp = 0./\n&input_ssh_nml /\n"
    ],
    "stdin_filename": "inst_eddies_nml.txt",
GUEZ Lionel's avatar
GUEZ Lionel committed
    "description": "Larger region, 120 x 120. Includes degenerate extrema.",
    "sel_diff_args": {
      "exclude": [
        "timings.txt"
      ]
    }
  },
  "Extraction_eddies_region_3_min": {
    "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_region_3.nc",
        "$src_dir/Inst_eddies/Tests/Input/uv_region_3.nc"
      ]
    ],
    "create_file": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml /\n&input_ssh_nml /\n"
    ],
    "stdin_filename": "inst_eddies_nml.txt",
GUEZ Lionel's avatar
GUEZ Lionel committed
    "description": "Same as Extraction_eddies_region_3 except with 1 mm minimum amplitude.",
    "sel_diff_args": {
      "exclude": [
        "timings.txt"
      ]
    }
  },
  "Extraction_eddies_region_5": {
    "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_region_5.nc",
        "$src_dir/Inst_eddies/Tests/Input/uv_region_5.nc"
      ],
      "mv grid_nml.txt SHPC"
    ],
    "main_command": 1,
    "create_file": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml /\n&input_ssh_nml /\n"
    ],
    "stdin_filename": "inst_eddies_nml.txt",
GUEZ Lionel's avatar
GUEZ Lionel committed
    "description": "Same as Extraction_eddies_region_4 with larger domain.",
    "sel_diff_args": {
      "exclude": [
        "n_slices.txt",
        "timings.txt"
      ]
    }
  },
  "Extraction_eddies_region_2_noise": {
    "create_file": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml /\n&input_ssh_nml /\n"
    ],
    "commands": [
      [
        "$build_dir/Inst_eddies/inst_eddies_Aviso.py",
        "-b",
        "1.625",
        "15.625",
        "-38.375",
        "-30.375",
        "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"
      ],
      "mv grid_nml.txt SHPC"
    ],
    "main_command": 0,
    "sel_diff_args": {
      "exclude": [
        "timings.txt",
        "perf_report.csv"
      ]
    }
  },
  "Region_6": {
    "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",
        "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
        "-b",
        "5.875",
        "12.125",
        "-32.125",
        "-26.875"
      ],
      "mv grid_nml.txt SHPC"
    ],
    "main_command": 0,
    "sel_diff_args": {
      "exclude": [
        "timings.txt",
        "perf_report.csv"
      ]
    }
  },
  "Missing_file": {
    "create_file": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml /\n&input_ssh_nml /\n"
    ],
    "command": [
      "$build_dir/Inst_eddies/inst_eddies_Aviso.py",
      "SHPC",
      "$Eurec4A_NRT_dir/dataset-duacs-global-allsat-phy-%Y-%m-%d.nc",
      "2020-01-31",
      "2020-02-02"
    ],
    "description": "Date 2020-02-01 is missing. Test of the script with a missing date.",
    "sel_diff_args": {
      "exclude": [
        "timings.txt",
        "perf_report.csv"
      ]
    }
  },
  "Greece": {
    "description": "This is a case where the speed is not defined on a whole segment.",
    "commands": [
      [
        "$build_dir/Inst_eddies/inst_eddies_Aviso.py",
        "SHPC",
        "$Aviso_DT_dir/1993/%m/dt_global_allsat_phy_l4_%Y%m%d_20210726.nc",
GUEZ Lionel's avatar
GUEZ Lionel committed
        "1993-01-01",
        "1993-03-31",
        "--bbox",
        "20",
        "30",
        "35",
        "42"
      ],
      "mv grid_nml.txt SHPC"
    ],
    "main_command": 0,
    "create_file": [
      "inst_eddies_nml.txt",
      "&main_nml /\n&config_nml /\n&input_ssh_nml /\n"
    ],
    "sel_diff_args": {
      "exclude": [
        "timings.txt",
        "perf_report.csv"
      ]
    }
  },
  "Region_5_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",
        "0.125",
        "29.875",
        "-59.875",
        "-15.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"
    ],
    "sel_diff_args": {
      "exclude": [
        "timings.txt",
        "perf_report.csv"
      ]
    }
  }