Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{
  "version" : "1.28",
  "parameterNodes" : [ {
    "id" : "subNode",
    "name" : "Wave Forecast Swell Direction",
    "parameters" : [ {
      "id" : "Wave.forecast.swell.dir"
    }, {
      "id" : "Wave.forecast.wind.dir"
    } ],
    "parent" : {
      "id" : "Wave Direction"
    }
  }, {
    "id" : "Wave Direction",
    "name" : "Wave Direction",
    "description" : "Wave Direction Description",
    "parameters" : [ {
      "id" : "Wave.obs.swell.dir"
    }, {
      "id" : "Wave.obs.wind.dir"
    } ],
    "parent" : {
      "id" : "Parameters"
    },
    "children" : [ {
      "id" : "subNode"
    } ]
  }, {
    "id" : "Constraint",
    "name" : "Constraint spectral density",
    "parameters" : [ {
      "id" : "2d_spectral_density"
    } ],
    "parent" : {
      "id" : "Parameters"
    }
  }, {
    "id" : "Parameters",
    "name" : "Tansley",
    "parameters" : [ {
      "id" : "TansleyX_PTB"
    }, {
      "id" : "TansleyS_PTB"
    }, {
      "id" : "TansleyS_XXX"
    }, {
      "id" : "Q.meting"
    }, {
      "id" : "H.voorspeld"
    }, {
      "id" : "Q.voorspeld"
    }, {
      "id" : "H.forecast.ensemble"
    }, {
      "id" : "frequency"
    }, {
      "id" : "direction"
    }, {
      "id" : "T-historical"
    }, {
      "id" : "Wave.forecast.total.dir"
    }, {
      "id" : "Wave.obs.total.dir"
    }, {
      "id" : "H.meting"
    }, {
      "id" : "H.voorspeld.daily"
    } ],
    "children" : [ {
      "id" : "Wave Direction"
    }, {
      "id" : "Constraint"
    } ]
  } ]
}

GET

...

topology

Returns the topology config of the fews system. At the moment only JSON is supported as a return type

...

Code Block
languagejs
titleTypical profile PI_JSON response
{
  "version" : "1.28",
  "timeZone" : "0.0",
  "timeSeries" : [ {
    "header" : {
      "type" : "instantaneous",
      "moduleInstanceId" : "kzn",
      "locationId" : "kzn",
      "parameterId" : "water_temperature",
      "timeStep" : {
        "unit" : "nonequidistant"
      },
      "startDate" : {
        "date" : "2010-04-15",
        "time" : "00:00:00"
      },
      "endDate" : {
        "date" : "2010-04-15",
        "time" : "00:00:00"
      },
      "forecastDate" : {
        "date" : "2019-10-10",
        "time" : "18:00:00"
      },
      "missVal" : "-999.0",
      "stationName" : "kzn",
      "units" : "degrees",
      "domainAxis" : [ {
        "parameterId" : "water_depth",
        "units" : "m"
      } ],
      "creationDate" : "2020-06-24",
      "creationTime" : "06:19:05",
      "approvedDate" : {
        "date" : "2020-06-24",
        "time" : "06:19:09"
      }
    },
    "domains" : [ {
      "domainAxisValues" : [ {
        "parameterId" : "water_depth",
        "values" : [ [ "36.49779" ], [ "109.4925" ], [ "182.48721" ], [ "255.48279" ], [ "328.4775" ], [ "401.4722" ], [ "474.4678" ], [ "547.4625" ], [ "620.4572" ], [ "693.4528" ], [ "766.4475" ], [ "839.4422" ] ]
      } ],
      "events" : [ {
        "date" : "2010-04-15",
        "time" : "00:00:00",
        "flag" : "2",
        "values" : [ [ "26.1" ], [ "21.0" ], [ "17.7" ], [ "15.2" ], [ "13.3" ], [ "11.7" ], [ "10.6" ], [ "10.0" ], [ "9.5" ], [ "8.8" ], [ "8.1" ], [ "7.4" ] ]
      } ]
    } ]
  } ]
}

GET topology

Get 




GET archive/parameters (2020.01)

...