example.sh 528 B

123456789
  1. #!/bin/bash
  2. oref0-calculate-iob pumphistory.json profile.json clock.json autosens.json > iob.json
  3. oref0-meal pumphistory.json profile.json clock.json glucose.json basal_profile.json carbhistory.json > meal.json
  4. oref0-determine-basal iob.json temp_basal.json glucose.json profile.json --auto-sens autosens.json --meal meal.json --microbolus --currentTime 1527924300000 > suggested.json
  5. cat suggested.json | jq -C -c '. | del(.predBGs) | del(.reason)'
  6. cat suggested.json | jq -C -c .reason
  7. cat suggested.json | jq -C -c .predBGs