Skip to content
Snippets Groups Projects
test_output.json 3.68 KiB
Newer Older
    "n_dates_1":
    {
	"command":
	[
	    "$src_dir/Inst_eddies/Analysis/write_date_range.py",
	    "$my_data_dir/Global_1993_2023/SHPC", "SHPC", "20454"
	],
	"description": "Only useful as input to other tests."
    },
    "n_dates_14":
    {
	"command":
	[
	    "$src_dir/Inst_eddies/Analysis/write_date_range.py",
	    "$my_data_dir/Global_1993_2023/SHPC", "SHPC", "20454", "-n", "14"
	],
	"description": "Only useful as input to other tests."
    },
Lionel GUEZ's avatar
Lionel GUEZ committed
    "Medium_mix": {
GUEZ Lionel's avatar
GUEZ Lionel committed
	"description":
	"Append to medium-sized SHPC, mixing output to the three shapefiles.",
Lionel GUEZ's avatar
Lionel GUEZ committed
	"input": "&main_nml /\n",
	"command": [
            "time",
            "$build_dir/test_write_null"
Lionel GUEZ's avatar
Lionel GUEZ committed
	],
	"copy": [
            [
		"$tests_old_dir/n_dates_14/SHPC",
Lionel GUEZ's avatar
Lionel GUEZ committed
		"SHPC"
            ]
	],
	"stdout": "test_write_null_stdout.txt",
	"sel_diff_args": {"exclude": ["test_write_null_stderr.txt"]}
Lionel GUEZ's avatar
Lionel GUEZ committed
    },
    "Small_mix": {
	"description": "Append to small SHPC, mixing output to the three shapefiles.",
	"input": "&main_nml /\n",
	"command": [
            "time",
            "$build_dir/test_write_null"
Lionel GUEZ's avatar
Lionel GUEZ committed
	],
	"copy": [
            [
		"$tests_old_dir/n_dates_1/SHPC",
Lionel GUEZ's avatar
Lionel GUEZ committed
		"SHPC"
            ]
	],
	"stdout": "test_write_null_stdout.txt",
	"sel_diff_args": {"exclude": ["test_write_null_stderr.txt"]}
Lionel GUEZ's avatar
Lionel GUEZ committed
    },
    "Medium_sep": {
	"description": "Append to medium-sized SHPC, separating output to the three shapefiles.",
	"input": "&main_nml mixed = f/\n",
	"command": [
            "time",
            "$build_dir/test_write_null"
	],
	"copy": [
            [
		"$tests_old_dir/n_dates_14/SHPC",
Lionel GUEZ's avatar
Lionel GUEZ committed
		"SHPC"
            ]
	],
	"stdout": "test_write_null_stdout.txt",
	"sel_diff_args": {"exclude": ["test_write_null_stderr.txt"]}
Lionel GUEZ's avatar
Lionel GUEZ committed
    },
    "Small_sep": {
	"description": "Append to small SHPC, separating output to the three shapefiles.",
	"input": "&main_nml mixed = f/\n",
	"command": [
            "time",
            "$build_dir/test_write_null"
	],
	"copy": [
            [
		"$tests_old_dir/n_dates_1/SHPC",
Lionel GUEZ's avatar
Lionel GUEZ committed
		"SHPC"
            ]
	],
	"stdout": "test_write_null_stdout.txt",
	"sel_diff_args": {"exclude": ["test_write_null_stderr.txt"]}
Lionel GUEZ's avatar
Lionel GUEZ committed
    },
    "Create_mix": {
	"description": "Create SHPC, mixing output to the three shapefiles.",
	"input": "&main_nml /\n",
	"commands": [
            [
		"mkdir",
		"-p",
		"SHPC/Slice_0/Cyclones"
            ],
            [
		"time",
		"$build_dir/test_write_null"
            ]
	],
	"stdout": "test_write_null_stdout.txt",
	"sel_diff_args": {"exclude": ["test_write_null_stderr.txt"]}
Lionel GUEZ's avatar
Lionel GUEZ committed
    },
    "Create_sep": {
	"description": "Create SHPC, separating output to the three shapefiles.",
	"input": "&main_nml mixed = f/\n",
	"commands": [
            [
		"mkdir",
		"-p",
		"SHPC/Slice_0/Cyclones"
            ],
            [
		"time",
		"$build_dir/test_write_null"
            ]
	],
	"stdout": "test_write_null_stdout.txt",
	"sel_diff_args": {"exclude": ["test_write_null_stderr.txt"]}
Lionel GUEZ's avatar
Lionel GUEZ committed
    },
    "Big_mix": {
	"description": "Append to big SHPC, mixing output to the three shapefiles.",
	"input": "&main_nml /\n",
	"command": [
            "time",
            "$build_dir/test_write_null"
	],
	"copy": [
            [
		"$my_data_dir/Global_1993_2023/SHPC/Slice_0",
Lionel GUEZ's avatar
Lionel GUEZ committed
		"SHPC/Slice_0"
            ]
	],
	"stdout": "test_write_null_stdout.txt",
	"sel_diff_args": {"exclude": ["test_write_null_stderr.txt", "*.shp"]}
Lionel GUEZ's avatar
Lionel GUEZ committed
    },
    "Big_sep": {
	"description": "Append to big SHPC, separating output to the three shapefiles.",
	"input": "&main_nml mixed = f/\n",
	"command": [
            "time",
            "$build_dir/test_write_null"
	],
	"copy": [
            [
		"$my_data_dir/Global_1993_2023/SHPC/Slice_0",
Lionel GUEZ's avatar
Lionel GUEZ committed
		"SHPC/Slice_0"
            ]
	],
	"stdout": "test_write_null_stdout.txt",
	"sel_diff_args": {"exclude": ["test_write_null_stderr.txt", "*.shp"]}
Lionel GUEZ's avatar
Lionel GUEZ committed
    }
}