uncharted-aske / HMI

Apache License 2.0
1 stars 0 forks source link

integrate observational data #349

Closed mj3cheun closed 3 years ago

mj3cheun commented 3 years ago

integrate observational data into sim space (add new line, pink/purplish)

RosaRomeroGomez commented 3 years ago

Design sketches for observational data: https://docs.google.com/presentation/d/1HVwXKmwFG6YxpMrInNIOZpHhMpQ2FwILhYXz4P6f-xw/edit#slide=id.p

Sync-up with Nelson/Adam on the integration endpoints.

YohannParis commented 3 years ago

DONU API

listDatasetResponse = (await fetch(url, {
  body: JSON.stringify({
    command: 'list-datasets',
  }),
  method: 'POST',
})).json()
/*
 Response should contains three JSON so far:
 example.json, sir_sample.json, sir_noise.json
 */

getDatasetResponse = (await fetch(url, {
  body: JSON.stringify({
    command: 'get-dataset',
    source: {model: 'sir_noise.json'}
  }),
  method: 'POST',
})).json()
mj3cheun commented 3 years ago

This has been completed