A hydrodynamic characterization of saltmarsh ecosystems