Menu

#540 Need to think about modulo spaces again

open
nobody
None
5
2026-02-14
2016-11-02
No

It's come up at least twice this week, where it would be nice to identify the modulo of a space. For example, when plotting against MLT, you don't want to draw a line from 23:59 to 00:01, because this is 2 minutes away, not 23h58m. Likewise when averaging data, you don't want to average 23:59 to 00:01 and get 12:00. I've thought of adding a QDataSet property to describe this quality of the data, and it should be considered further.

Discussion

  • Jeremy Faden

    Jeremy Faden - 2016-11-03

    Here's some fake data to illustrate.

     
  • Jeremy Faden

    Jeremy Faden - 2016-11-05

    Here's a better one: vap+inline:temperature=getDataSet('vap+hapi:http://jfaden.net/HapiServerDemo/hapi?id=Iowa+City+Conditions&timerange=2015-09-21+through+2015-09-29&parameters=Time,Temperature')&time=getDataSet('vap+hapi:http://jfaden.net/HapiServerDemo/hapi?id=Iowa+City+Conditions&timerange=2015-09-21+through+2015-09-29&parameters=Time')&(time)=synchronize(temperature,(time))&link(mod(time,'24hr'),temperature)&timerange=Sep+2015

     
MongoDB Logo MongoDB