dataio.export.rms.grid_model_static module

export_grid_model_static(project, gridname, zonation, regions, porosity, permeability, saturation_water, facies=None, net_to_gross=None, volume_shale=None, permeability_vertical=None)[source]

Simplified interface when exporting a grid model with common properties from RMS.

Parameters:
  • project (Any) – The ‘magic’ project variable in RMS.

  • gridname (str) – Name of the grid model.

  • zonation (str) – Name of the zone property.

  • regions (str) – Name of the regions property.

  • porosity (str) – Name of the porosity property.

  • permeability (str) – Name of the permeability property.

  • saturation_water (str) – Name of the water saturation property.

  • facies (str | None) – Name of the facies property.

  • net_to_gross (str | None) – Name of the net to gross property.

  • volume_shale (str | None) – Name of the volume shale property.

  • permeability_vertical (str | None) – Name of the vertical permeability property.

Return type:

ExportResult

Examples

Example usage in an RMS script:

from fmu.dataio.export.rms import export_grid_model_static

export_results = export_grid_model_static(
    project,
    gridname="Geogrid",
    zonation="Zone",
    regions="Region",
    porosity="PHIT",
    permeability="KLOGH",
    saturation_water="SW",
    facies="FACIES",
    )

for result in export_results.items:
    print(f"Exported item to {result.absolute_path}")