-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make "time", "dt", "timeOffset" and "timeUnitSI" optional #201
base: upcoming-2.0.0
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -233,9 +233,10 @@ Required Attributes for the `basePath` | |
-------------------------------------- | ||
|
||
In addition to holding information about the iteration, each series of | ||
files (`fileBased`) or series of groups (`groupBased`) should have | ||
attributes that describe the current time and the last | ||
time step. | ||
files (`fileBased`) or series of groups (`groupBased`) can have | ||
attributes that describe the current time and the last time step. (In the | ||
case where each iteration corresponds to a different time.) Thus, the | ||
following attributes are *optional*: | ||
|
||
- `time` | ||
- type: *(floatX)* | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. let's fix the typo in line 264 at the same time: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
@@ -661,6 +662,7 @@ Reminder: for scalar records the `record` itself is also the `component`. | |
|
||
- `timeOffset` | ||
- type: *(floatX)* | ||
- scope: *optional* (only used if `time` and `dt` are used) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe let's move this from Required for each |
||
- description: the offset between the time at which this record is | ||
defined and the `time` attribute of the `basePath` level. | ||
This should be written in the same unit system as `time` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The title in line 232 still reads "Required" :)
Do we want to make this optional or recommended?