You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`boolean (default: false)`. Indicates that the string's case must be preserved. The MF6 parser uppercases strings by default.
311
312
313
+
###### `time_series`
314
+
315
+
`boolean (default: false)`. Marks fields where the parser accepts either a string literal or a time-series name (referencing a `utl-ts` object).
316
+
312
317
###### `pk`
313
318
314
319
`boolean (default: false)`. Marks this scalar as the primary key of its containing list's item record. Valid only on integer or string scalars that are columns in a list item record. Exactly one column per list item may be marked pk.
@@ -327,10 +332,6 @@ Type `integer`.
327
332
328
333
##### Type-specific attributes
329
334
330
-
###### `tagged`
331
-
332
-
`boolean (default: true)`. Indicates that the field value should be preceded by the field name.
333
-
334
335
###### `valid`
335
336
336
337
`[integer] | null`. Permitted values (enumeration constraint). Empty list is treated as absent.
@@ -357,17 +358,13 @@ Type `double`.
357
358
358
359
##### Type-specific attributes
359
360
360
-
###### `tagged`
361
-
362
-
`boolean (default: true)`. Indicates that the field value should be preceded by the field name.
363
-
364
361
###### `time_series`
365
362
366
363
`boolean (default: false)`. Marks fields where the parser accepts either a numeric literal or a time-series name (referencing a `utl-ts` object). Not inferable from structural type. Also appears on array fields (where it references a `utl-tas` object instead). Note that `utl-tas` currently only works with layered arrays, not full-grid arrays, though generalizing has been considered.
367
364
368
-
#### Path
365
+
#### File
369
366
370
-
Type `path`.
367
+
Type `file`.
371
368
372
369
##### Type-specific attributes
373
370
@@ -472,13 +469,14 @@ And a `scope` (see [Scope and resolution](#scope-and-resolution)) that controls
472
469
473
470
Self-sizing `array` fields (those with `shape: []`) may also serve as dimension sources: any such array's name may appear in a `shape` expression to mean "one element per item in this array." These are registered in `dims` with `field` pointing to the array name.
474
471
475
-
Shape expressions for non-string arrays may use one of three structural forms. All three may additionally carry a bound annotation:
472
+
Shape expressions for non-string arrays may use one of four structural forms. Dim references may additionally carry a bound annotation:
476
473
477
474
- **Dim reference** (`^[A-Za-z_]\w*$`): a plain identifier resolved via the scope chain (explicit → derived → inherited dims). When the array is a subfield of a record and the identifier does not resolve globally, resolution falls back to intra-record sibling scope (see below).
478
475
- **Intra-record sibling reference**: a dim reference that names a sibling `integer` in the same enclosing record. Makes the record a variadic tuple whose width varies per row. Valid only when the array is a subfield of a record. See below.
476
+
- **Arithmetic offset** (`dim [+-] integer`): a dim reference with an integer offset, e.g. `nlay + 1`. Only the dim portion is validated; the offset is accepted as-is.
479
477
- **Row-level column lookup** (`block.column(fk_field)`): a cross-list per-row quantity, valid only for array subfields of records. See below.
480
478
481
-
Any dim reference (either of the first two forms) may carry a **bound annotation** prefix (`<`, `>`, `<=`, or `>=`). The dim portion validates normally; the bound is advisory and is not enforced by the MF6 parser.
479
+
Any dim reference (including the dim portion of an arithmetic offset) may carry a **bound annotation** prefix (`<`, `>`, `<=`, or `>=`). The dim portion validates normally; the bound is advisory and is not enforced by the MF6 parser.
482
480
483
481
A shape expression that does not match one of these forms is a schema validation error. String arrays (`dtype: "string"`) must have empty `shape`.
0 commit comments