|
Point Data Documentation
|
/repository/point/json?entryid=<entry id>&numpoints=500If numpoints is specified then RAMADDA will set a skip factor when processing the data and decimate the results to approximate the numpoints. Example on RAMADDA
The call returns a map with a name, a list of the data fields provided and a set of data records.
{
"name": "name of the data",
"fields": [list of field definitions],
"data": [list of data records]
}
Where a field definition is as follows.
These properties correspond to the field properties in the text data facility.
{
"index":0,
"id":"field1",
"label":"Field 1",
"type":"double",
"missing":-999.0,
"unit":"m"
}
Each data record has geolocation, date and a set of values:
{
"latitude":-64.77,
"longitude":-64.06,
"elevation":45,
"date":null,
"values":[8.0,1000]
}
Putting it all together:
{"fields":[
{"index":0,
"id":"field1",
"label":"Field 1",
"type":"double",
"missing":"-999.0",
"unit":"m"},
{"index":1,
"id":"field2",
"label":"Field 2",
"type":"double",
"missing":"-999.0",
"unit":"m"}
]
,"data": [
{"values":[8.0,1000]},
{"values":[9.0,1500]},
{"values":[10.0,2000]}
]
}
{"fields":[
{"index":0,
"id":"field1",
"label":"Field 1",
"type":"double",
"missing":"-999.0",
"unit":"m"},
{"index":1,
"id":"field2",
"label":"Field 2",
"type":"double",
"missing":"-999.0",
"unit":"m"}
]
,"data": [
{"latitude":-64.77,"longitude":-64.06,"elevation":45, "date":null,"values":[8.0,1000]},
{"latitude":-54.77,"longitude":-54.06,"elevation":45, "date":null,"values":[9.0,1500]},
{"latitude":-54.77,"longitude":-54.06,"elevation":45, "date":null,"values":[10.0,2000]}
]
}