Point Data Access API
RAMADDA Record Package
Point Data Documentation
 
4.5 Time Series JSON Format
One of the point data formats provided by RAMADDA is JSON. The JSON is accessed through the point data API,
/repository/point/json?entryid=<entry id>&numpoints=500
If 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:
testpoint1.json
{"fields":          "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":   class="wiki-link-external"  href="{"values":  >[1]},
               {"values":               {"values": adding geospatial and temporal information to the records:




 

Point Data Access API
RAMADDA Record Package