Files
ResInsight/ApplicationLibCode/UnitTests/TestData/RimWorkflowDefinition/load_data.json
T

1 line
15 KiB
JSON
Raw Normal View History

{"format": 1, "name": "resinsight_load_data", "result_task": "import_grid_property", "editable": true, "readonly_reasons": [], "warnings": [], "source": {"workflow_yaml": "test_data/taskmaestro_workflows/resinsight_load_data/workflow.yaml", "input_yaml": "test_data/taskmaestro_workflows/resinsight_load_data/input.yaml", "registered_id": null}, "header_comment": "# ResInsight grid, property, and regular surface loading example.", "passthrough": {}, "nodes": [{"name": "connect_to_resinsight", "task": "resinsight.connect", "config_fields": []}, {"name": "load_model", "task": "resinsight.load_model", "config_fields": ["path"]}, {"name": "import_grid_property", "task": "resinsight.import_grid_property", "config_fields": ["paths"]}, {"name": "load_regular_surface", "task": "resinsight.load_regular_surface", "config_fields": ["path"]}], "edges": [{"from": "connect_to_resinsight", "output": null, "to": "load_model", "input": "resinsight"}, {"from": "connect_to_resinsight", "output": null, "to": "import_grid_property", "input": "resinsight"}, {"from": "load_model", "output": null, "to": "import_grid_property", "input": "grid_case"}, {"from": "connect_to_resinsight", "output": null, "to": "load_regular_surface", "input": "resinsight"}], "inputs": {"connect_to_resinsight": {}, "load_model": {"path": "/path/to/grid.roff"}, "import_grid_property": {"paths": ["/path/to/property.roffasc"]}, "load_regular_surface": {"path": "/path/to/surface.irap"}}, "task_types": {"resinsight.connect": {"id": "resinsight.connect", "name": "connect_to_resinsight", "python_type": "taskmaestro_resinsight.connect_to_resinsight.ConnectToResInsight", "description": "Connect to a running ResInsight instance.", "timeout_seconds": null, "input_schema": {"description": "Sentinel config for workflows where all root tasks use JobConfiguration.", "properties": {}, "title": "EmptyConfig", "type": "object", "x-ri-python-bases": ["taskmaestro.job.EmptyConfig"], "x-ri-python-type": "taskmaestro.job.EmptyConfig"}, "output_schema": {"description": "Active connection to a running ResInsight application.", "properties": {"value": {"not": {}, "title": "Value", "x-ri-python-bases": ["rips.instance.Instance"], "x-ri-python-type": "rips.instance.Instance", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.instance.Instance"}}, "required": ["value"], "title": "RipsInstance", "type": "object", "x-ri-python-bases": ["taskmaestro_resinsight.models.RipsInstance", "taskmaestro.object_model.ObjectModel[Instance]", "taskmaestro.object_model.ObjectModel"], "x-ri-python-type": "taskmaestro_resinsight.models.RipsInstance"}}, "resinsight.load_model": {"id": "resinsight.load_model", "name": "load_model", "python_type": "taskmaestro_resinsight.load_model.LoadModel", "description": "Open an Eclipse case from a file path and wrap it as a GridCase.", "timeout_seconds": null, "input_schema": {"$defs": {"RipsInstance": {"description": "Active connection to a running ResInsight application.", "properties": {"value": {"not": {}, "title": "Value", "x-ri-python-bases": ["rips.instance.Instance"], "x-ri-python-type": "rips.instance.Instance", "x-taskmaestro-opaque": true, "x-taskmaestro-python-type": "rips.instance.Instance"}}, "required": ["value"], "title": "RipsInstance", "type": "object", "x-ri-python-bases": ["taskmaestro_resinsight.models.RipsInstance", "taskmaestro.object_model.ObjectModel[Instance]", "taskmaestro.object_model.ObjectModel"], "x-ri-python-type": "taskmaestro_resinsight.models.RipsInstance"}}, "description": "Input for LoadModel: RipsInstance from upstream, path from config.", "properties": {"resinsight": {"$ref": "#/$defs/RipsInstance"}, "path": {"description": "Path to the .EGRID file to load", "title": "Path", "type": "string"}}, "required": ["resinsight", "path"], "title": "LoadModelInput", "type": "object", "x-ri-python-bases": ["taskmaestro_resinsight.models.LoadModelInput"], "x-ri-python-type": "taskmaestro_resinsight.models.LoadModelInput"}, "output_schema": {"description": "Loaded Eclipse reservoir grid case.", "properties": {"value": {"not": {}, "title"