Grid/coordinate/tracer fingerprint validated on read. Distinct from the decomposition metadata (px/py/dims) so a file built with a different vertical resolution, ghost width, vcoord, or tracer set is rejected loudly rather than silently mis-mapped.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public | :: | idx_salinity | = | 0 |
tracers(:) index of salinity (0 = none). |
|
| integer, | public | :: | idx_temperature | = | 0 |
tracers(:) index of temperature (0 = none). |
|
| integer, | public | :: | n_tracers | = | 0 |
Registered tracer count. |
|
| integer, | public | :: | nghost | = | 0 |
Ghost width. |
|
| integer, | public | :: | nz_ml | = | 0 |
Multilayer layer count. |
|
| character(len=32), | public | :: | vcoord_name | = | "" |
Human-readable vcoord tag (for the mismatch message). |
|
| integer, | public | :: | vcoord_type | = | 0 |
Vertical-coordinate enum (VCOORD_*). |
type :: ocean_restart_metadata_t !! Grid/coordinate/tracer fingerprint validated on read. Distinct !! from the decomposition metadata (px/py/dims) so a file built with !! a different vertical resolution, ghost width, vcoord, or tracer !! set is rejected loudly rather than silently mis-mapped. integer :: nz_ml = 0 !! Multilayer layer count. integer :: nghost = 0 !! Ghost width. integer :: vcoord_type = 0 !! Vertical-coordinate enum (VCOORD_*). character(len=32) :: vcoord_name = "" !! Human-readable vcoord tag (for the mismatch message). integer :: n_tracers = 0 !! Registered tracer count. integer :: idx_salinity = 0 !! tracers(:) index of salinity (0 = none). integer :: idx_temperature = 0 !! tracers(:) index of temperature (0 = none). end type ocean_restart_metadata_t