def clip_using_gdf(gdf, dataset):
    """
    Returns data from raster dataset that intersects gdf.geometry

    Parameters:
    -----------

    gdf     :   gpd.GeoDataFrame
        Single polygon geodataframe to use to clip dataset raster

    dataset :   rioxarray.DataArray
        Global dataset of read by rioxarray for data to be clipped 


    Returns:
    --------

    dataset_clip    :   rioxarray.DataArray
        Dataset of input dataset clipped by input gdf
    """
    dataset_clip = dataset.rio.clip(gdf.geometry, gdf.crs, from_disk=True)
    return dataset_clip