CPGridSpecification

pydantic model CPGridSpecification[source]

Specifies relevant values describing a corner point grid object.

Fields:
field xshift: float [Required]

Shift along the x-axis.

Constraints:
  • allow_inf_nan = False

field yshift: float [Required]

Shift along the y-axis.

Constraints:
  • allow_inf_nan = False

field zshift: float [Required]

Shift along the z-axis.

Constraints:
  • allow_inf_nan = False

field xscale: float [Required]

Scaling factor for the x-axis.

Constraints:
  • allow_inf_nan = False

field yscale: float [Required]

Scaling factor for the y-axis.

Constraints:
  • allow_inf_nan = False

field zscale: float [Required]

Scaling factor for the z-axis.

Constraints:
  • allow_inf_nan = False

field zonation: Optional[List[ZoneDefinition]] = None

Zone names and corresponding layer index ranges. The list is ordered from shallowest to deepest zone. Note the layer indices are zero-based; add 1 to convert to corresponding layer number.

field nlay: int [Required]

The number of layers.

Constraints:
  • ge = 0

field nrow: int [Required]

The number of rows.

Constraints:
  • ge = 0

field ncol: int [Required]

The number of columns.

Constraints:
  • ge = 0