fre.cmor.tests package
Submodules
- fre.cmor.tests.test_cmor_config_subtool module
- fre.cmor.tests.test_cmor_find_subtool module
- fre.cmor.tests.test_cmor_finder_make_simple_varlist module
empty_dir()temp_netcdf_dir()temp_netcdf_dir_single_file()test_make_simple_varlist_dedup_across_datetimes()test_make_simple_varlist_deduplicates()test_make_simple_varlist_index_error_on_datetime()test_make_simple_varlist_invalid_output_path()test_make_simple_varlist_mip_table_filter()test_make_simple_varlist_mip_table_no_match()test_make_simple_varlist_no_files()test_make_simple_varlist_no_files_matching_pattern()test_make_simple_varlist_no_matching_pattern()test_make_simple_varlist_return_value_only()test_make_simple_varlist_single_file_hits_warning()test_make_simple_varlist_single_file_warning()test_make_simple_varlist_success()
- fre.cmor.tests.test_cmor_helpers module
test_create_lev_bnds_length_mismatch()test_create_lev_bnds_length_mismatch_too_long()test_create_tmp_dir_oserror()test_create_tmp_dir_success()test_create_tmp_dir_with_exp_config()test_filter_brands_all_eliminated()test_filter_brands_multiple_remain()test_filter_brands_time_filter_selects_inst()test_filter_brands_time_filter_selects_mean()test_filter_brands_vertical_filter()test_find_gold_ocean_statics_file_archive_missing()test_find_gold_ocean_statics_file_mock_copy()test_find_gold_ocean_statics_file_none_arg()test_find_statics_file_nothing_found()test_find_statics_file_success()test_get_bronx_freq_from_mip_table_invalid_freq()test_get_bronx_freq_from_mip_table_no_freq()test_get_bronx_freq_from_mip_table_success()test_get_iso_datetime_ranges_no_filter()test_get_iso_datetime_ranges_no_matches_raises()test_get_iso_datetime_ranges_none_arr_raises()test_get_iso_datetime_ranges_with_start()test_get_iso_datetime_ranges_with_start_and_stop()test_get_iso_datetime_ranges_with_stop()test_get_json_file_data_invalid_json()test_get_json_file_data_nonexistent()test_get_json_file_data_success()test_iso_to_bronx_chunk()test_print_data_minmax_no_exception_case1()test_print_data_minmax_no_exception_case2()test_print_data_minmax_no_exception_case3()test_update_grid_and_label_none_grid()test_update_grid_and_label_none_grid_label()test_update_grid_and_label_none_nom_res()
- fre.cmor.tests.test_cmor_helpers_update_calendar module
temp_json_file()temp_jsondecodeerr_json_file()temp_keyerr_json_file()test_update_calendar_type_jsonDNE_raise()test_update_calendar_type_jsondecode_raise()test_update_calendar_type_keyerror_raise()test_update_calendar_type_success()test_update_calendar_type_unknown_err()test_update_calendar_type_valerr_raise()
- fre.cmor.tests.test_cmor_helpers_update_grid_label module
- fre.cmor.tests.test_cmor_mixer_calendar_integration module
- fre.cmor.tests.test_cmor_run_subtool module
test_cmor_run_subtool_raise_value_error()test_fre_cmor_run_subtool_case1()test_fre_cmor_run_subtool_case1_output_compare_data()test_fre_cmor_run_subtool_case1_output_compare_metadata()test_fre_cmor_run_subtool_case2()test_fre_cmor_run_subtool_case2_output_compare_data()test_fre_cmor_run_subtool_case2_output_compare_metadata()test_fre_cmor_run_subtool_empty_varlist()test_fre_cmor_run_subtool_missing_mip_era()test_fre_cmor_run_subtool_no_exp_config()test_fre_cmor_run_subtool_opt_var_name_not_in_table()test_fre_cmor_run_subtool_unsupported_mip_era()test_git_cleanup()test_setup_cmor_cmip_table_repo()test_setup_fre_cmor_run_subtool()test_setup_fre_cmor_run_subtool_case2()
- fre.cmor.tests.test_cmor_run_subtool_further_examples module
- fre.cmor.tests.test_cmor_yamler module
- fre.cmor.tests.test_cmor_yamler_freq_validation module
- fre.cmor.tests.test_cmor_yamler_subtool module
test_cmip6_freq_none_derivation_exception_caught()test_cmip6_freq_none_derivation_succeeds()test_cmip6_freq_none_no_derivation_raises()test_cmip7_freq_none_raises()test_cmor_yaml_subtool_dry_run_false()test_dry_run_prints_cli_call()test_dry_run_prints_python_call()test_exp_json_does_not_exist()test_gridding_dict_has_none_value_raises()test_mip_table_file_does_not_exist()test_outdir_creation_failure_raises_oserror()test_outdir_creation_when_missing()test_pp_dir_does_not_exist()test_start_stop_calendar_missing_from_yaml()test_table_dir_does_not_exist()test_yamlfile_does_not_exist()yamler_env()