Repository navigation
Add parent model time in experiment-metadata. #75
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
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -171,4 +171,4 @@ | |
| "long_description" | ||
| ], | ||
| "additionalProperties": false | ||
| } | ||
| } | ||
184 changes: 184 additions & 0 deletions
184
au.org.access-nri/model/output/experiment-metadata/1-0-4.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,184 @@ | ||
| { | ||
| "$id": "https://raw.githubusercontent.com/ACCESS-NRI/schema/main/au.org.access-nri/model/output/experiment-metadata/1-0-4.json", | ||
| "$schema": "https://json-schema.org/draft/2020-12/schema", | ||
| "title": "Experiment metadata", | ||
| "description": "The metadata associated with a model experiment", | ||
| "type": "object", | ||
| "properties": { | ||
| "schema_version": { | ||
| "const": "1-0-4", | ||
| "description": "The version of the schema (string)" | ||
| }, | ||
| "name": { | ||
| "type": "string", | ||
| "description": "The name of the experiment (string)" | ||
| }, | ||
| "experiment_uuid": { | ||
| "type": "string", | ||
| "format": "uuid", | ||
| "description": "Unique uuid for the experiment (string)" | ||
| }, | ||
| "description": { | ||
| "type": "string", | ||
| "description": "Short description of the experiment (string, < 150 char)" | ||
| }, | ||
| "long_description": { | ||
| "type": "string", | ||
| "description": "Long description of the experiment (string)" | ||
| }, | ||
| "model": { | ||
| "oneOf": [ | ||
| {"type": ["string", "null"]}, | ||
| { | ||
| "type": "array", | ||
| "items": {"type": ["string", "null"]} | ||
| } | ||
| ], | ||
| "description": "The name(s) of the model(s) used in the experiment (string or array of strings)" | ||
| }, | ||
| "realm": { | ||
| "type": "array", | ||
| "items": { | ||
| "oneOf": [ | ||
| {"type": "null"}, | ||
| { | ||
| "type": "string", | ||
| "enum": [ | ||
| "aerosol", | ||
| "atmos", | ||
| "atmosChem", | ||
| "land", | ||
| "landIce", | ||
| "none", | ||
| "ocean", | ||
| "ocnBgchem", | ||
| "seaIce", | ||
| "unknown", | ||
| "wave" | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| "description": "The realm(s) included in the experiment (array of strings)" | ||
| }, | ||
| "frequency": { | ||
| "type": "array", | ||
| "items": { | ||
| "oneOf": [ | ||
| {"type": "null"}, | ||
| { | ||
| "type": "string", | ||
| "oneOf": [ | ||
| { | ||
| "pattern": "^fx$" | ||
| }, | ||
| { | ||
| "pattern": "^subhr$" | ||
| }, | ||
| { | ||
| "pattern": "^\\d+hr$" | ||
| }, | ||
| { | ||
| "pattern": "^\\d+day$" | ||
| }, | ||
| { | ||
| "pattern": "^\\d+mon$" | ||
| }, | ||
| { | ||
| "pattern": "^\\d+yr$" | ||
| }, | ||
| { | ||
| "pattern": "^\\d+dec$" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| "description": "The frequency(/ies) included in the experiment (array of strings)" | ||
| }, | ||
| "variable": { | ||
| "type": "array", | ||
| "items": { | ||
| "type": ["string", "null"] | ||
| }, | ||
| "description": "The variable(s) included in the experiment (array of strings)" | ||
| }, | ||
| "nominal_resolution": { | ||
| "oneOf": [ | ||
| {"type": ["string", "null"]}, | ||
| { | ||
| "type": "array", | ||
| "items": {"type": ["string", "null"]} | ||
| } | ||
| ], | ||
| "description": "The nominal resolution(s) of model(s) used in the experiment (string or array of strings), e.g. 10km" | ||
| }, | ||
| "version": { | ||
| "type": ["number", "string", "null"], | ||
| "description": "The version of the experiment (number, string)" | ||
| }, | ||
| "contact": { | ||
| "type": ["string", "null"], | ||
| "description": "Contact name for the experiment (string)" | ||
| }, | ||
| "email": { | ||
| "type": ["string", "null"], | ||
| "description": "Email address of the contact for the experiment (string)" | ||
| }, | ||
| "created": { | ||
| "type": ["string", "null"], | ||
| "description": "Initial creation date of experiment (string)" | ||
| }, | ||
| "reference": { | ||
| "type": ["string", "null"], | ||
| "description": "Citation or reference information (string)" | ||
| }, | ||
| "license": { | ||
| "type": ["string", "null"], | ||
| "description": "License of the experiment (string, SPDX preferred)" | ||
| }, | ||
| "url": { | ||
| "type": ["string", "null"], | ||
| "description": "Relevant url, e.g. github repo for experiment configuration (string)" | ||
| }, | ||
| "parent_experiment": { | ||
| "type": ["string", "null"], | ||
| "description": "experiment_uuid for parent experiment if appropriate (string)" | ||
| }, | ||
| "related_experiments": { | ||
| "type": "array", | ||
| "items": { | ||
| "type": ["string", "null"] | ||
| }, | ||
| "description": "experiment_uuids for any related experiment(s) (array of strings)" | ||
| }, | ||
| "notes": { | ||
| "type": ["string", "null"], | ||
| "description": "Additional notes (string)" | ||
| }, | ||
| "keywords": { | ||
| "type": "array", | ||
| "items": { | ||
| "type": ["string", "null"] | ||
| }, | ||
| "description": "Keyword(s) associated with experiment (array of strings)" | ||
| }, | ||
| "parent_experiment_branch_time": { | ||
| "type": ["string", "null"], | ||
| "format": "date-time", | ||
| "description": "The model time corresponding to the restart path used to create this branch, e.g., 1951-02-01T00:00:00 (string)" | ||
| }, | ||
| "parent_experiment_branch_commit": { | ||
| "type": ["string", "null"], | ||
| "minLength": 40, | ||
| "description": "Git commit hash of the source branch when this new branch was created (string)" | ||
| } | ||
| }, | ||
| "required": [ | ||
| "name", | ||
| "experiment_uuid", | ||
| "description", | ||
| "long_description" | ||
| ], | ||
| "additionalProperties": false | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.