Text this: Upscaling the porosity–permeability relationship of a microporous carbonate for Darcy-scale flow with machine learning