def test_get_pathless_file_name_prefixes_narr(self):
        """Ensures correct output from _get_pathless_file_name_prefixes.

        In this case, model is NARR.
        """

        these_prefixes = nwp_model_io._get_pathless_file_name_prefixes(
            model_name=nwp_model_utils.NARR_MODEL_NAME)
        self.assertTrue(
            set(these_prefixes) == set(PATHLESS_FILE_NAME_PREFIXES_NARR))
    def test_get_pathless_file_name_prefixes_rap252(self):
        """Ensures correct output from _get_pathless_file_name_prefixes.

        In this case, model is RAP on the 252 grid.
        """

        these_prefixes = nwp_model_io._get_pathless_file_name_prefixes(
            model_name=nwp_model_utils.RAP_MODEL_NAME,
            grid_id=nwp_model_utils.ID_FOR_252GRID)
        self.assertTrue(
            set(these_prefixes) == set(PATHLESS_FILE_NAME_PREFIXES_RAP252))
    def test_get_pathless_file_name_prefixes_ruc130(self):
        """Ensures correct output from _get_pathless_file_name_prefixes.

        In this case, model is RUC on the 130 grid.
        """

        these_prefixes = nwp_model_io._get_pathless_file_name_prefixes(
            model_name=nwp_model_utils.RUC_MODEL_NAME,
            grid_id=nwp_model_utils.ID_FOR_130GRID)
        self.assertTrue(
            set(these_prefixes) == set(PATHLESS_FILE_NAME_PREFIXES_RUC130))