{
    "version":"0.1.0",
    "id":"mitgcm-compile-run-model",
    "use_case":"Mediterranean",
    "title":"MITgcm Model Compile and Run",
    "description":"Compilation and model execution (MITgcm) phase of the AquaINFRA marine modeling chain. The MITgcm code runs a simulation for the user-designed configuration over the selected time period. Inputs are initial and boundary condition files and atmospheric forcing files (output from the Preprocessing phase), bathymetry, configured namelists, and, if selected, RBCS files. Outputs are 3D time series of sea temperature, salinity, currents, and sea surface height.",
    "jobControlOptions":[
        "sync-execute",
        "async-execute"
    ],
    "keywords":[
        "AquaINFRA",
        "Mediterranean use case",
        "MITgcm"
    ],
    "links":[
        {
            "type":"text/html",
            "rel":"about",
            "title":"Website of MITgcm",
            "href":"https://mitgcm.org/",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"about",
            "title":"GitHub repo of MITgcm",
            "href":"https://github.com/MITgcm/MITgcm",
            "hreflang":"en-US"
        },
        {
            "type":"application/json",
            "rel":"self",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/processes/mitgcm-compile-run-model?f=json",
            "title":"Process description as JSON",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"alternate",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/processes/mitgcm-compile-run-model?f=html",
            "title":"Process description as HTML",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"http://www.opengis.net/def/rel/ogc/1.0/job-list",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/jobs?f=html",
            "title":"Jobs list as HTML",
            "hreflang":"en-US"
        },
        {
            "type":"application/json",
            "rel":"http://www.opengis.net/def/rel/ogc/1.0/job-list",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/jobs?f=json",
            "title":"Jobs list as JSON",
            "hreflang":"en-US"
        },
        {
            "type":"application/json",
            "rel":"http://www.opengis.net/def/rel/ogc/1.0/execute",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/processes/mitgcm-compile-run-model/execution?f=json",
            "title":"Execution for this process as JSON",
            "hreflang":"en-US"
        }
    ],
    "inputs":{
        "preprocessing_output_directory":{
            "title":"preprocessing_output_directory",
            "description":"Link to the directory containing the preprocessing output to use as input for the model run",
            "schema":{
                "type":"string"
            },
            "minOccurs":1,
            "maxOccurs":1,
            "keywords":[
                "mitgcm",
                "AquaINFRA",
                "Mediterranean use case"
            ]
        }
    },
    "outputs":{
        "zipped_output_files":{
            "title":"NetCDF outputs (zipped)",
            "description":"Zip file of the NetCDF files resulting from the model simulation",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        },
        "netcdf_output_file_Eta":{
            "title":"NetCDF file: Sea Surface Height",
            "description":"Simulation results NetCDF file for the output variable Sea Surface Height (Eta)",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        },
        "netcdf_output_file_T":{
            "title":"NetCDF file: Temperature",
            "description":"Simulation result NetCDF file for the output variable Temperature (T)",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        },
        "netcdf_output_file_S":{
            "title":"NetCDF file: Salinity",
            "description":"Simulation result NetCDF file for the output variable Salinity (S)",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        },
        "netcdf_output_file_U":{
            "title":"NetCDF file: Sea Current (U)",
            "description":"Simulation result NetCDF file for the output variable Sea Current (U)",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        },
        "netcdf_output_file_V":{
            "title":"NetCDF file: Sea Current (V)",
            "description":"Simulation result NetCDF file for the output variable Sea Current (V)",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        },
        "netcdf_output_file_W":{
            "title":"NetCDF file: Sea Current (W)",
            "description":"Simulation result NetCDF file for the output variable Sea Current (W)",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        },
        "log_file":{
            "title":"Log file RUN_MODEL.log",
            "description":"Model run log file",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        },
        "log_file_compile":{
            "title":"Log file of compilation",
            "description":"Compilation log file(s)",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        },
        "model_stderr":{
            "title":"Log file STDERR",
            "description":"MITgcm run log file STDERR.0000",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        },
        "model_stdout":{
            "title":"Log file STDOUT",
            "description":"MITgcm run log file STDOUT.0000",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        }
    },
    "example":{
        "inputs":{
            "preprocessing_output_directory":"https://aquainfra.de/download/out/mitgcm-prep/job_8e41f4bd"
        }
    },
    "outputTransmission":[
        "value"
    ]
}