{
    "version":"0.1.0",
    "id":"mitgcm-run-model",
    "use_case":"Catalunya",
    "title":"MITgcm Model Run",
    "description":"Model Run phase of the AquaINFRA marine modeling chain. A simulation for the Catalan marine model is run, using the MITgcm modeling code, for the selected time period. Inputs are initial and boundary conditions files and atmospheric forcing files (output from the Preprocessing phase), bathymetry and configured namelists. Outputs are 3D timeseries of sea temperature, salinity, currents and sea surface height.",
    "jobControlOptions":[
        "sync-execute",
        "async-execute"
    ],
    "keywords":[
        "AquaINFRA",
        "catalunya 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-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-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-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",
                "catalunya 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_files":{
            "title":"NetCDF outputs (not zipped)",
            "description":"Directory containing the simulation results in NetCDF files for each of the output variables: temperature (T), salinity (S), sea currents(U, V, W) and sea surface height(Eta)",
            "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"
            }
        },
        "model_stderr":{
            "title":"Log file STDERR",
            "description":"Model run log file STDERR.0000",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        },
        "model_stdout":{
            "title":"Log file STDOUT",
            "description":"Model run log file STDOUT.0000",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        },
        "bathymetry":{
            "title":"Bathymetry file",
            "description":"Bathymetry file: bathy_interCATSEA_lowres.nc",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        },
        "depths":{
            "title":"Depths file",
            "description":"Depths file: depths.dat",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        },
        "river_discharges":{
            "title":"River discharges file",
            "description":"River discharges CSV file: river_discharges_M3000L015.csv",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        },
        "configure_inc":{
            "title":"Configure.inc file",
            "description":"Configure.inc file",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        }
    },
    "example":{
        "inputs":{
            "preprocessing_output_directory":"https://aquainfra.de/download/out/mitgcm-prep/job_8e41f4bd",
            "RUN_DATE":"2024-01-01",
            "PREDICTION_DAYS":2
        }
    },
    "outputTransmission":[
        "value"
    ]
}