{
    "version":"0.1.0",
    "id":"tordera-gloria-connection",
    "use_case":"Catalunya Inland",
    "title":"SWAT+ output to MITgcm input connection tool",
    "description":"This code converts SWAT output (https://swat.tamu.edu/) of water quantity (Flow out and Temperature) in sqlite format to date input for MITgcm in txt format.The tool uses R code al libraries DBI, RSQLite, and dplyr to correct the date format and dataframe structure.",
    "jobControlOptions":[
        "sync-execute",
        "async-execute"
    ],
    "keywords":[
        "tordera use case",
        "AquaINFRA",
        "R",
        "conversion",
        "MITgcm"
    ],
    "links":[
        {
            "type":"text/html",
            "rel":"about",
            "title":"GitHub repo",
            "href":"https://github.com/AmandaBatlle/AquaINFRA_CaseUse_MedInlandModel",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"about",
            "is_oer":"yes",
            "title":"How to use a OGC processing service with R",
            "href":"https://github.com/AmandaBatlle/AquaINFRA_CaseUse_MedInlandModel",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"about",
            "is_oer":"yes",
            "title":"How to use a OGC processing service with python",
            "href":"https://github.com/AmandaBatlle/AquaINFRA_CaseUse_MedInlandModel",
            "hreflang":"en-US"
        },
        {
            "type":"application/json",
            "rel":"self",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/processes/tordera-gloria-connection?f=json",
            "title":"Process description as JSON",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"alternate",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/processes/tordera-gloria-connection?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/tordera-gloria-connection/execution?f=json",
            "title":"Execution for this process as JSON",
            "hreflang":"en-US"
        }
    ],
    "inputs":{
        "swat_output_file":{
            "title":"SWAT+ Variable Outputs Database",
            "description":"SQLite database (thread_1.sqlite) storing the simulated output values based on the defined time range and time step (daily, monthly, yearly, or annual average).",
            "schema":{
                "type":"object",
                "contentMediaType":"application/x-sqlite3"
            },
            "minOccurs":1,
            "maxOccurs":1,
            "keywords":[]
        }
    },
    "outputs":{
        "output_file":{
            "title":"River water quantity MITgcm output",
            "description":"txt file containing a data frame with the correct formatting and structure to enter MITgcm model.",
            "schema":{
                "type":"object",
                "contentMediaType":"text/plain"
            }
        }
    },
    "example":{
        "inputs":{
            "swat_output_file":"https://raw.githubusercontent.com/AmandaBatlle/AquaINFRA_CaseUse_MedInlandModel/refs/heads/main/example_inputs/thread_1.sqlite"
        }
    },
    "outputTransmission":[
        "value"
    ]
}