add conn argument to raster_extract_by_day