{
    "version":"0.2.0",
    "id":"ww3-retriever-process",
    "title":"WW3 Wave Retriever",
    "description":"Collect wave data from the WW3 model for a given time range and location bounds.",
    "jobControlOptions":[
        "sync-execute",
        "async-execute"
    ],
    "keywords":[
        "safer process"
    ],
    "inputs":{
        "token":{
            "title":"secret token",
            "description":"identify yourself",
            "schema":{
                "type":"string"
            }
        },
        "lat_range":{
            "title":"Latitude range",
            "description":"The latitude range in format [lat_min, lat_max]. Values must be in EPSG:4326 crs. If no latitude range is provided, all latitudes will be returned",
            "schema":{}
        },
        "long_range":{
            "title":"Longitude range",
            "description":"The longitude range in format [long_min, long_max]. Values must be in EPSG:4326 crs. If no longitude range is provided, all longitudes will be returned",
            "schema":{}
        },
        "station_ids":{
            "title":"Station IDs",
            "description":"The station IDs to be used for the request. If no station IDs are provided, all stations will be returned",
            "schema":{}
        },
        "time_range":{
            "title":"Time range",
            "description":"The time range in format [time_start, time_end]. Both time_start and time_end must be in ISO-Format and related to at least one week ago. If no time range is provided, all times will be returned",
            "schema":{}
        },
        "strict_time_range":{
            "title":"Strict time range",
            "description":"Enable strict time range to check data avaliability until requested end time. Can be valued as true or false. Default is false",
            "schema":{}
        },
        "out_format":{
            "title":"Return format type",
            "description":"The return format type. Possible values are \"netcdf\", \"json\", \"dataframe\"",
            "schema":{}
        },
        "debug":{
            "title":"Debug",
            "description":"Enable Debug mode. Can be valued as true or false",
            "schema":{}
        }
    },
    "outputs":{
        "status":{
            "title":"status",
            "description":"Staus of the process execution [OK or KO]",
            "schema":{}
        },
        "s3_uri":{
            "title":"S3 Uri",
            "description":"S3 Uri of the merged timestamp multiband raster",
            "schema":{}
        },
        "data":{
            "title":"Time series dataset",
            "description":"Dataset with wave direction forecast data time series in requested \"out_format\"",
            "schema":{}
        }
    },
    "example":{
        "inputs":{
            "debug":true,
            "token":"ABC123XYZ666",
            "lat_range":[
                44,
                44.5
            ],
            "long_range":[
                12.2,
                12.8
            ],
            "time_range":[
                "2025-01-21T08:00:00.000",
                "2025-01-22T23:10:00.000"
            ],
            "out_format":"netcdf"
        }
    },
    "outputTransmission":[
        "value"
    ],
    "links":[
        {
            "type":"application/json",
            "rel":"self",
            "href":"http://pygeoapi-directed-lb-1795156461.us-east-1.elb.amazonaws.com/processes/ww3-retriever-process?f=json",
            "title":"Process description as JSON",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"alternate",
            "href":"http://pygeoapi-directed-lb-1795156461.us-east-1.elb.amazonaws.com/processes/ww3-retriever-process?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":"http://pygeoapi-directed-lb-1795156461.us-east-1.elb.amazonaws.com/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":"http://pygeoapi-directed-lb-1795156461.us-east-1.elb.amazonaws.com/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":"http://pygeoapi-directed-lb-1795156461.us-east-1.elb.amazonaws.com/processes/ww3-retriever-process/execution?f=json",
            "title":"Execution for this process as JSON",
            "hreflang":"en-US"
        }
    ]
}