def from_epw(cls, buffer_or_path):
        """
        Parameters
        ----------
        buffer_or_path: buffer or path containing epw format.

        Returns
        -------
        WeatherData instance.
        """
        from .epw_parse import parse_epw
        _, buffer = to_buffer(buffer_or_path)
        with buffer as f:
            return parse_epw(f)
def from_epw(cls, buffer_or_path):
        """
        Parameters
        ----------
        buffer_or_path: buffer or path containing epw format.

        Returns
        -------
        WeatherData instance.
        """
        from .epw_parse import parse_epw
        _, buffer = to_buffer(buffer_or_path)
        with buffer as f:
            return parse_epw(f)
def from_epw ( cls , buffer_or_path ) : from . epw_parse import parse_epw _ , buffer = to_buffer ( buffer_or_path ) with buffer as f : return parse_epw ( f )
Parameters
        ----------
        buffer_or_path: buffer or path containing epw format.

        Returns
        -------
        WeatherData instance.
Parameters ---------- buffer_or_path : buffer or path containing epw format .