{
    "version":"0.1.0",
    "id":"swatplus-lulc-change",
    "use_case":"Catalunya Inland",
    "title":"Land Use Land Cover Change for SWAT+ Models",
    "description":"A lightweight tool for rapidly reassigning land use to selected Hydrological Response Units (HRUs) in a SWAT+ model. The user provides a CSV file specifying the target HRUs and their new land cover classes; the tool then updates the land_use field (lu_mgt) in the hru_data.hru file within the provided TxtInOut directory, and returns an updated TxtInOut ready to run on a remote server or download for local execution. Designed as a first approximation for exploring land use/land cover (LULC) change scenarios in watershed modelling, this tool offers a quick and accessible entry point before committing to more complex LULC change workflows.",
    "jobControlOptions":[
        "sync-execute",
        "async-execute"
    ],
    "keywords":[
        "tordera use case",
        "AquaINFRA",
        "R",
        "LUCC"
    ],
    "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/swatplus-lulc-change?f=json",
            "title":"Process description as JSON",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"alternate",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/processes/swatplus-lulc-change?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/swatplus-lulc-change/execution?f=json",
            "title":"Execution for this process as JSON",
            "hreflang":"en-US"
        }
    ],
    "inputs":{
        "input_project_url":{
            "title":"URL to TxtInOut folder",
            "description":"Provide URL to zipped TxtInOut SWAT+ project folder. Important: Do not include the SWAT executable to that folder \u2014 AquaINFRA has integrated the executable version rev60.5.7_64rel_linux for SWAT+ and rev688_64rel_linux for SWAT2012.",
            "schema":{
                "type":"string"
            },
            "minOccurs":1,
            "maxOccurs":1,
            "keywords":[]
        },
        "lulc_changes_csv_url":{
            "title":"URL to csv listing HRU LULC changes",
            "description":"A two-column, comma-separated file where the first column contains the HRU IDs and the second column contains the new Land Use Land Cover (LULC) code to be assigned to each HRU. LULC codes must correspond to valid entries in the plants.plt file of the SWAT+ project. For an example of the expected format, see: https://github.com/AmandaBatlle/AquaINFRA_CaseUse_MedInlandModel/blob/main/example_inputs/lulc_changes.csv",
            "schema":{
                "type":"object",
                "contentMediaType":"application/zip"
            },
            "minOccurs":1,
            "maxOccurs":1,
            "keywords":[]
        }
    },
    "outputs":{
        "updated_txtinout":{
            "title":"Updated TxtInOut",
            "description":"Updated TxtInOut directory containing a modified hru_data.hru file, with the newly assigned LULC values reflected in the lu_mgt column for the selected HRUs.",
            "schema":{
                "type":"object",
                "contentMediaType":"application/zip"
            }
        }
    },
    "example":{
        "inputs":{
            "input_project_url":"https://raw.githubusercontent.com/AmandaBatlle/AquaINFRA_CaseUse_MedInlandModel/refs/heads/main/example_inputs/project.zip",
            "lulc_changes_csv_url":"https://raw.githubusercontent.com/AmandaBatlle/AquaINFRA_CaseUse_MedInlandModel/refs/heads/main/example_inputs/lulc_changes.csv"
        }
    },
    "outputTransmission":[
        "value"
    ]
}