fre.cmor.tests.test_cmor_run_subtool module
tests for fre.cmor.cmor_run_subtool
- fre.cmor.tests.test_cmor_run_subtool.test_fre_cmor_run_subtool_case1(capfd)
fre cmor run, test-use case
- fre.cmor.tests.test_cmor_run_subtool.test_fre_cmor_run_subtool_case1_output_compare_data(capfd)
I/O data-only comparison of test case1
- fre.cmor.tests.test_cmor_run_subtool.test_fre_cmor_run_subtool_case1_output_compare_metadata(capfd)
I/O metadata-only comparison of test case1
- fre.cmor.tests.test_cmor_run_subtool.test_fre_cmor_run_subtool_case2(capfd)
fre cmor run, test-use case2
- fre.cmor.tests.test_cmor_run_subtool.test_fre_cmor_run_subtool_case2_output_compare_data(capfd)
I/O data-only comparison of test case2
- fre.cmor.tests.test_cmor_run_subtool.test_fre_cmor_run_subtool_case2_output_compare_metadata(capfd)
I/O metadata-only comparison of test case2
- fre.cmor.tests.test_cmor_run_subtool.test_setup_cmor_cmip_table_repo()
setup routine, make sure the recursively cloned tables exist
- fre.cmor.tests.test_cmor_run_subtool.test_setup_fre_cmor_run_subtool(capfd)
The routine generates a netCDF file from an ascii (cdl) file. It also checks for a ncgen output file from prev pytest runs, removes it if it’s present, and ensures the new file is created without error.
- fre.cmor.tests.test_cmor_run_subtool.test_setup_fre_cmor_run_subtool_case2(capfd)
make a copy of the input file to the slightly different name. checks for outputfile from prev pytest runs, removes it if it’s present. this routine also checks to make sure the desired input file is present