import pickle
from pathlib import Path


def load_obs_fcst(fls_path):
    """Load obs and fcst from existing pickled dataframes.

    Args:
        obs_path (str): obs
        fcst_path (str): fcst

    Returns:
        2 dataframes: obs, fcst

    """
    obs = pickle.load(open(Path(fls_path, "obs.p"), "rb"))
    fcst = pickle.load(open(Path(fls_path, "fcst.p"), "rb"))
    return obs, fcst