Spaces:
Running
Running
Commit
·
144f309
1
Parent(s):
45bee81
fix data model changes
Browse files- pages/5_Anomaly_Detection_Consumption.py +1 -1
- samples/1_short_term_consumption.json +376 -374
- samples/2_long_term_consumption.json +12 -8
- samples/3_short_term_production.json +70 -42
- samples/4_NILM.json +6 -11
- samples/5_anomaly_detection_consumption.json +0 -0
- samples/6_anomaly_detection_production.json +5 -3
- utils.py +5 -5
pages/5_Anomaly_Detection_Consumption.py
CHANGED
@@ -8,7 +8,7 @@ import plotly.graph_objects as go
|
|
8 |
|
9 |
|
10 |
if 'api_token' not in st.session_state:
|
11 |
-
st.session_state.api_token =
|
12 |
|
13 |
page_id = 5
|
14 |
if 'current_page' not in st.session_state:
|
|
|
8 |
|
9 |
|
10 |
if 'api_token' not in st.session_state:
|
11 |
+
st.session_state.api_token = os.getenv('NILM_API_TOKEN')
|
12 |
|
13 |
page_id = 5
|
14 |
if 'current_page' not in st.session_state:
|
samples/1_short_term_consumption.json
CHANGED
@@ -15,10 +15,10 @@
|
|
15 |
"@type": "datacellar:DatasetField",
|
16 |
"datacellar:datasetFieldID": 1,
|
17 |
"datacellar:fieldName": "outdoorTemperature",
|
18 |
-
"datacellar:
|
19 |
"datacellar:type": {
|
20 |
"@type": "datacellar:FieldType",
|
21 |
-
"datacellar:
|
22 |
"datacellar:averagable": true,
|
23 |
"datacellar:summable": false,
|
24 |
"datacellar:anonymizable": false
|
@@ -28,10 +28,10 @@
|
|
28 |
"@type": "datacellar:DatasetField",
|
29 |
"datacellar:datasetFieldID": 2,
|
30 |
"datacellar:fieldName": "consumedPower",
|
31 |
-
"datacellar:
|
32 |
"datacellar:type": {
|
33 |
"@type": "datacellar:FieldType",
|
34 |
-
"datacellar:
|
35 |
"datacellar:averagable": true,
|
36 |
"datacellar:summable": false,
|
37 |
"datacellar:anonymizable": false
|
@@ -44,9 +44,11 @@
|
|
44 |
"@type": "datacellar:TimeSeries",
|
45 |
"datacellar:datasetFieldID": 1,
|
46 |
"datacellar:startDate": "2006-12-17 01:00:00",
|
47 |
-
"datacellar:endDate": "2006-12-
|
|
|
|
|
48 |
"datacellar:granularity": "1 hour",
|
49 |
-
"datacellar:
|
50 |
{
|
51 |
"@type": "datacellar:DataPoint",
|
52 |
"datacellar:timeStamp": "2006-12-17 01:00:00",
|
@@ -409,375 +411,375 @@
|
|
409 |
}
|
410 |
]
|
411 |
},
|
412 |
-
{
|
413 |
-
"@type": "datacellar:TimeSeries",
|
414 |
-
"datacellar:datasetFieldID": 2,
|
415 |
-
"datacellar:startDate": "2006-12-17 01:00:00",
|
416 |
-
"datacellar:endDate": "2006-12-20 00:00:00",
|
417 |
-
"datacellar:granularity": "1 hour",
|
418 |
-
"datacellar:dataPoints": [
|
419 |
-
{
|
420 |
-
"@type": "datacellar:DataPoint",
|
421 |
-
"datacellar:timeStamp": "2006-12-17 01:00:00",
|
422 |
-
"datacellar:value": 0.293
|
423 |
-
},
|
424 |
-
{
|
425 |
-
"@type": "datacellar:DataPoint",
|
426 |
-
"datacellar:timeStamp": "2006-12-17 02:00:00",
|
427 |
-
"datacellar:value": 0.347
|
428 |
-
},
|
429 |
-
{
|
430 |
-
"@type": "datacellar:DataPoint",
|
431 |
-
"datacellar:timeStamp": "2006-12-17 03:00:00",
|
432 |
-
"datacellar:value": 0.240
|
433 |
-
},
|
434 |
-
{
|
435 |
-
"@type": "datacellar:DataPoint",
|
436 |
-
"datacellar:timeStamp": "2006-12-17 04:00:00",
|
437 |
-
"datacellar:value": 0.293
|
438 |
-
},
|
439 |
-
{
|
440 |
-
"@type": "datacellar:DataPoint",
|
441 |
-
"datacellar:timeStamp": "2006-12-17 05:00:00",
|
442 |
-
"datacellar:value": 0.500
|
443 |
-
},
|
444 |
-
{
|
445 |
-
"@type": "datacellar:DataPoint",
|
446 |
-
"datacellar:timeStamp": "2006-12-17 06:00:00",
|
447 |
-
"datacellar:value": 0.800
|
448 |
-
},
|
449 |
-
{
|
450 |
-
"@type": "datacellar:DataPoint",
|
451 |
-
"datacellar:timeStamp": "2006-12-17 07:00:00",
|
452 |
-
"datacellar:value": 2.500
|
453 |
-
},
|
454 |
-
{
|
455 |
-
"@type": "datacellar:DataPoint",
|
456 |
-
"datacellar:timeStamp": "2006-12-17 08:00:00",
|
457 |
-
"datacellar:value": 2.700
|
458 |
-
},
|
459 |
-
{
|
460 |
-
"@type": "datacellar:DataPoint",
|
461 |
-
"datacellar:timeStamp": "2006-12-17 09:00:00",
|
462 |
-
"datacellar:value": 0.875
|
463 |
-
},
|
464 |
-
{
|
465 |
-
"@type": "datacellar:DataPoint",
|
466 |
-
"datacellar:timeStamp": "2006-12-17 10:00:00",
|
467 |
-
"datacellar:value": 0.920
|
468 |
-
},
|
469 |
-
{
|
470 |
-
"@type": "datacellar:DataPoint",
|
471 |
-
"datacellar:timeStamp": "2006-12-17 11:00:00",
|
472 |
-
"datacellar:value": 0.860
|
473 |
-
},
|
474 |
-
{
|
475 |
-
"@type": "datacellar:DataPoint",
|
476 |
-
"datacellar:timeStamp": "2006-12-17 12:00:00",
|
477 |
-
"datacellar:value": 0.950
|
478 |
-
},
|
479 |
-
{
|
480 |
-
"@type": "datacellar:DataPoint",
|
481 |
-
"datacellar:timeStamp": "2006-12-17 13:00:00",
|
482 |
-
"datacellar:value": 0.880
|
483 |
-
},
|
484 |
-
{
|
485 |
-
"@type": "datacellar:DataPoint",
|
486 |
-
"datacellar:timeStamp": "2006-12-17 14:00:00",
|
487 |
-
"datacellar:value": 0.850
|
488 |
-
},
|
489 |
-
{
|
490 |
-
"@type": "datacellar:DataPoint",
|
491 |
-
"datacellar:timeStamp": "2006-12-17 15:00:00",
|
492 |
-
"datacellar:value": 0.920
|
493 |
-
},
|
494 |
-
{
|
495 |
-
"@type": "datacellar:DataPoint",
|
496 |
-
"datacellar:timeStamp": "2006-12-17 16:00:00",
|
497 |
-
"datacellar:value": 1.500
|
498 |
-
},
|
499 |
-
{
|
500 |
-
"@type": "datacellar:DataPoint",
|
501 |
-
"datacellar:timeStamp": "2006-12-17 17:00:00",
|
502 |
-
"datacellar:value": 2.000
|
503 |
-
},
|
504 |
-
{
|
505 |
-
"@type": "datacellar:DataPoint",
|
506 |
-
"datacellar:timeStamp": "2006-12-17 18:00:00",
|
507 |
-
"datacellar:value": 3.000
|
508 |
-
},
|
509 |
-
{
|
510 |
-
"@type": "datacellar:DataPoint",
|
511 |
-
"datacellar:timeStamp": "2006-12-17 19:00:00",
|
512 |
-
"datacellar:value": 3.125
|
513 |
-
},
|
514 |
-
{
|
515 |
-
"@type": "datacellar:DataPoint",
|
516 |
-
"datacellar:timeStamp": "2006-12-17 20:00:00",
|
517 |
-
"datacellar:value": 3.250
|
518 |
-
},
|
519 |
-
{
|
520 |
-
"@type": "datacellar:DataPoint",
|
521 |
-
"datacellar:timeStamp": "2006-12-17 21:00:00",
|
522 |
-
"datacellar:value": 3.125
|
523 |
-
},
|
524 |
-
{
|
525 |
-
"@type": "datacellar:DataPoint",
|
526 |
-
"datacellar:timeStamp": "2006-12-17 22:00:00",
|
527 |
-
"datacellar:value": 1.300
|
528 |
-
},
|
529 |
-
{
|
530 |
-
"@type": "datacellar:DataPoint",
|
531 |
-
"datacellar:timeStamp": "2006-12-17 23:00:00",
|
532 |
-
"datacellar:value": 0.700
|
533 |
-
},
|
534 |
-
{
|
535 |
-
"@type": "datacellar:DataPoint",
|
536 |
-
"datacellar:timeStamp": "2006-12-18 00:00:00",
|
537 |
-
"datacellar:value": 0.400
|
538 |
-
},
|
539 |
-
{
|
540 |
-
"@type": "datacellar:DataPoint",
|
541 |
-
"datacellar:timeStamp": "2006-12-18 01:00:00",
|
542 |
-
"datacellar:value": 0.293
|
543 |
-
},
|
544 |
-
{
|
545 |
-
"@type": "datacellar:DataPoint",
|
546 |
-
"datacellar:timeStamp": "2006-12-18 02:00:00",
|
547 |
-
"datacellar:value": 0.347
|
548 |
-
},
|
549 |
-
{
|
550 |
-
"@type": "datacellar:DataPoint",
|
551 |
-
"datacellar:timeStamp": "2006-12-18 03:00:00",
|
552 |
-
"datacellar:value": 0.240
|
553 |
-
},
|
554 |
-
{
|
555 |
-
"@type": "datacellar:DataPoint",
|
556 |
-
"datacellar:timeStamp": "2006-12-18 04:00:00",
|
557 |
-
"datacellar:value": 0.293
|
558 |
-
},
|
559 |
-
{
|
560 |
-
"@type": "datacellar:DataPoint",
|
561 |
-
"datacellar:timeStamp": "2006-12-18 05:00:00",
|
562 |
-
"datacellar:value": 0.500
|
563 |
-
},
|
564 |
-
{
|
565 |
-
"@type": "datacellar:DataPoint",
|
566 |
-
"datacellar:timeStamp": "2006-12-18 06:00:00",
|
567 |
-
"datacellar:value": 0.800
|
568 |
-
},
|
569 |
-
{
|
570 |
-
"@type": "datacellar:DataPoint",
|
571 |
-
"datacellar:timeStamp": "2006-12-18 07:00:00",
|
572 |
-
"datacellar:value": 2.500
|
573 |
-
},
|
574 |
-
{
|
575 |
-
"@type": "datacellar:DataPoint",
|
576 |
-
"datacellar:timeStamp": "2006-12-18 08:00:00",
|
577 |
-
"datacellar:value": 2.700
|
578 |
-
},
|
579 |
-
{
|
580 |
-
"@type": "datacellar:DataPoint",
|
581 |
-
"datacellar:timeStamp": "2006-12-18 09:00:00",
|
582 |
-
"datacellar:value": 0.875
|
583 |
-
},
|
584 |
-
{
|
585 |
-
"@type": "datacellar:DataPoint",
|
586 |
-
"datacellar:timeStamp": "2006-12-18 10:00:00",
|
587 |
-
"datacellar:value": 0.920
|
588 |
-
},
|
589 |
-
{
|
590 |
-
"@type": "datacellar:DataPoint",
|
591 |
-
"datacellar:timeStamp": "2006-12-18 11:00:00",
|
592 |
-
"datacellar:value": 0.860
|
593 |
-
},
|
594 |
-
{
|
595 |
-
"@type": "datacellar:DataPoint",
|
596 |
-
"datacellar:timeStamp": "2006-12-18 12:00:00",
|
597 |
-
"datacellar:value": 0.950
|
598 |
-
},
|
599 |
-
{
|
600 |
-
"@type": "datacellar:DataPoint",
|
601 |
-
"datacellar:timeStamp": "2006-12-18 13:00:00",
|
602 |
-
"datacellar:value": 0.880
|
603 |
-
},
|
604 |
-
{
|
605 |
-
"@type": "datacellar:DataPoint",
|
606 |
-
"datacellar:timeStamp": "2006-12-18 14:00:00",
|
607 |
-
"datacellar:value": 0.850
|
608 |
-
},
|
609 |
-
{
|
610 |
-
"@type": "datacellar:DataPoint",
|
611 |
-
"datacellar:timeStamp": "2006-12-18 15:00:00",
|
612 |
-
"datacellar:value": 0.920
|
613 |
-
},
|
614 |
-
{
|
615 |
-
"@type": "datacellar:DataPoint",
|
616 |
-
"datacellar:timeStamp": "2006-12-18 16:00:00",
|
617 |
-
"datacellar:value": 1.500
|
618 |
-
},
|
619 |
-
{
|
620 |
-
"@type": "datacellar:DataPoint",
|
621 |
-
"datacellar:timeStamp": "2006-12-18 17:00:00",
|
622 |
-
"datacellar:value": 2.000
|
623 |
-
},
|
624 |
-
{
|
625 |
-
"@type": "datacellar:DataPoint",
|
626 |
-
"datacellar:timeStamp": "2006-12-18 18:00:00",
|
627 |
-
"datacellar:value": 3.000
|
628 |
-
},
|
629 |
-
{
|
630 |
-
"@type": "datacellar:DataPoint",
|
631 |
-
"datacellar:timeStamp": "2006-12-18 19:00:00",
|
632 |
-
"datacellar:value": 3.125
|
633 |
-
},
|
634 |
-
{
|
635 |
-
"@type": "datacellar:DataPoint",
|
636 |
-
"datacellar:timeStamp": "2006-12-18 20:00:00",
|
637 |
-
"datacellar:value": 3.250
|
638 |
-
},
|
639 |
-
{
|
640 |
-
"@type": "datacellar:DataPoint",
|
641 |
-
"datacellar:timeStamp": "2006-12-18 21:00:00",
|
642 |
-
"datacellar:value": 3.125
|
643 |
-
},
|
644 |
-
{
|
645 |
-
"@type": "datacellar:DataPoint",
|
646 |
-
"datacellar:timeStamp": "2006-12-18 22:00:00",
|
647 |
-
"datacellar:value": 1.300
|
648 |
-
},
|
649 |
-
{
|
650 |
-
"@type": "datacellar:DataPoint",
|
651 |
-
"datacellar:timeStamp": "2006-12-18 23:00:00",
|
652 |
-
"datacellar:value": 0.700
|
653 |
-
},
|
654 |
-
{
|
655 |
-
"@type": "datacellar:DataPoint",
|
656 |
-
"datacellar:timeStamp": "2006-12-19 00:00:00",
|
657 |
-
"datacellar:value": 0.400
|
658 |
-
},
|
659 |
-
{
|
660 |
-
"@type": "datacellar:DataPoint",
|
661 |
-
"datacellar:timeStamp": "2006-12-19 01:00:00",
|
662 |
-
"datacellar:value": 0.293
|
663 |
-
},
|
664 |
-
{
|
665 |
-
"@type": "datacellar:DataPoint",
|
666 |
-
"datacellar:timeStamp": "2006-12-19 02:00:00",
|
667 |
-
"datacellar:value": 0.347
|
668 |
-
},
|
669 |
-
{
|
670 |
-
"@type": "datacellar:DataPoint",
|
671 |
-
"datacellar:timeStamp": "2006-12-19 03:00:00",
|
672 |
-
"datacellar:value": 0.240
|
673 |
-
},
|
674 |
-
{
|
675 |
-
"@type": "datacellar:DataPoint",
|
676 |
-
"datacellar:timeStamp": "2006-12-19 04:00:00",
|
677 |
-
"datacellar:value": 0.293
|
678 |
-
},
|
679 |
-
{
|
680 |
-
"@type": "datacellar:DataPoint",
|
681 |
-
"datacellar:timeStamp": "2006-12-19 05:00:00",
|
682 |
-
"datacellar:value": 0.500
|
683 |
-
},
|
684 |
-
{
|
685 |
-
"@type": "datacellar:DataPoint",
|
686 |
-
"datacellar:timeStamp": "2006-12-19 06:00:00",
|
687 |
-
"datacellar:value": 0.800
|
688 |
-
},
|
689 |
-
{
|
690 |
-
"@type": "datacellar:DataPoint",
|
691 |
-
"datacellar:timeStamp": "2006-12-19 07:00:00",
|
692 |
-
"datacellar:value": 2.500
|
693 |
-
},
|
694 |
-
{
|
695 |
-
"@type": "datacellar:DataPoint",
|
696 |
-
"datacellar:timeStamp": "2006-12-19 08:00:00",
|
697 |
-
"datacellar:value": 2.700
|
698 |
-
},
|
699 |
-
{
|
700 |
-
"@type": "datacellar:DataPoint",
|
701 |
-
"datacellar:timeStamp": "2006-12-19 09:00:00",
|
702 |
-
"datacellar:value": 0.875
|
703 |
-
},
|
704 |
-
{
|
705 |
-
"@type": "datacellar:DataPoint",
|
706 |
-
"datacellar:timeStamp": "2006-12-19 10:00:00",
|
707 |
-
"datacellar:value": 0.920
|
708 |
-
},
|
709 |
-
{
|
710 |
-
"@type": "datacellar:DataPoint",
|
711 |
-
"datacellar:timeStamp": "2006-12-19 11:00:00",
|
712 |
-
"datacellar:value": 0.860
|
713 |
-
},
|
714 |
-
{
|
715 |
-
"@type": "datacellar:DataPoint",
|
716 |
-
"datacellar:timeStamp": "2006-12-19 12:00:00",
|
717 |
-
"datacellar:value": 0.950
|
718 |
-
},
|
719 |
-
{
|
720 |
-
"@type": "datacellar:DataPoint",
|
721 |
-
"datacellar:timeStamp": "2006-12-19 13:00:00",
|
722 |
-
"datacellar:value": 0.880
|
723 |
-
},
|
724 |
-
{
|
725 |
-
"@type": "datacellar:DataPoint",
|
726 |
-
"datacellar:timeStamp": "2006-12-19 14:00:00",
|
727 |
-
"datacellar:value": 0.850
|
728 |
-
},
|
729 |
-
{
|
730 |
-
"@type": "datacellar:DataPoint",
|
731 |
-
"datacellar:timeStamp": "2006-12-19 15:00:00",
|
732 |
-
"datacellar:value": 0.920
|
733 |
-
},
|
734 |
-
{
|
735 |
-
"@type": "datacellar:DataPoint",
|
736 |
-
"datacellar:timeStamp": "2006-12-19 16:00:00",
|
737 |
-
"datacellar:value": 1.500
|
738 |
-
},
|
739 |
-
{
|
740 |
-
"@type": "datacellar:DataPoint",
|
741 |
-
"datacellar:timeStamp": "2006-12-19 17:00:00",
|
742 |
-
"datacellar:value": 2.000
|
743 |
-
},
|
744 |
-
{
|
745 |
-
"@type": "datacellar:DataPoint",
|
746 |
-
"datacellar:timeStamp": "2006-12-19 18:00:00",
|
747 |
-
"datacellar:value": 3.000
|
748 |
-
},
|
749 |
-
{
|
750 |
-
"@type": "datacellar:DataPoint",
|
751 |
-
"datacellar:timeStamp": "2006-12-19 19:00:00",
|
752 |
-
"datacellar:value": 3.125
|
753 |
-
},
|
754 |
-
|
755 |
-
|
756 |
-
{
|
757 |
-
"@type": "datacellar:DataPoint",
|
758 |
-
"datacellar:timeStamp": "2006-12-19 20:00:00",
|
759 |
-
"datacellar:value": 3.250
|
760 |
-
},
|
761 |
-
{
|
762 |
-
"@type": "datacellar:DataPoint",
|
763 |
-
"datacellar:timeStamp": "2006-12-19 21:00:00",
|
764 |
-
"datacellar:value": 3.125
|
765 |
-
},
|
766 |
-
{
|
767 |
-
"@type": "datacellar:DataPoint",
|
768 |
-
"datacellar:timeStamp": "2006-12-19 22:00:00",
|
769 |
-
"datacellar:value": 1.300
|
770 |
-
},
|
771 |
-
{
|
772 |
-
"@type": "datacellar:DataPoint",
|
773 |
-
"datacellar:timeStamp": "2006-12-19 23:00:00",
|
774 |
-
"datacellar:value": 0.700
|
775 |
-
},
|
776 |
{
|
777 |
-
"@type": "datacellar:
|
778 |
-
"datacellar:
|
779 |
-
"datacellar:
|
780 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
781 |
]
|
782 |
}
|
783 |
],
|
|
|
15 |
"@type": "datacellar:DatasetField",
|
16 |
"datacellar:datasetFieldID": 1,
|
17 |
"datacellar:fieldName": "outdoorTemperature",
|
18 |
+
"datacellar:fieldDescription": "Temperature readings",
|
19 |
"datacellar:type": {
|
20 |
"@type": "datacellar:FieldType",
|
21 |
+
"datacellar:unit": "Celsius",
|
22 |
"datacellar:averagable": true,
|
23 |
"datacellar:summable": false,
|
24 |
"datacellar:anonymizable": false
|
|
|
28 |
"@type": "datacellar:DatasetField",
|
29 |
"datacellar:datasetFieldID": 2,
|
30 |
"datacellar:fieldName": "consumedPower",
|
31 |
+
"datacellar:fieldDescription": "Power consumption readings",
|
32 |
"datacellar:type": {
|
33 |
"@type": "datacellar:FieldType",
|
34 |
+
"datacellar:unit": "W",
|
35 |
"datacellar:averagable": true,
|
36 |
"datacellar:summable": false,
|
37 |
"datacellar:anonymizable": false
|
|
|
44 |
"@type": "datacellar:TimeSeries",
|
45 |
"datacellar:datasetFieldID": 1,
|
46 |
"datacellar:startDate": "2006-12-17 01:00:00",
|
47 |
+
"datacellar:endDate": "2006-12-25 07:00:00",
|
48 |
+
"datacellar:latitude": 48.7786,
|
49 |
+
"datacellar:longitude": 2.2906,
|
50 |
"datacellar:granularity": "1 hour",
|
51 |
+
"datacellar:timeseriesDataPoints": [
|
52 |
{
|
53 |
"@type": "datacellar:DataPoint",
|
54 |
"datacellar:timeStamp": "2006-12-17 01:00:00",
|
|
|
411 |
}
|
412 |
]
|
413 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
414 |
{
|
415 |
+
"@type": "datacellar:TimeSeries",
|
416 |
+
"datacellar:datasetFieldID": 2,
|
417 |
+
"datacellar:startDate": "2006-12-17 01:00:00",
|
418 |
+
"datacellar:endDate": "2006-12-25 07:00:00",
|
419 |
+
"datacellar:latitude": 48.7786,
|
420 |
+
"datacellar:longitude": 2.2906,
|
421 |
+
"datacellar:granularity": "1 hour",
|
422 |
+
"datacellar:timeseriesDataPoints": [
|
423 |
+
{
|
424 |
+
"@type": "datacellar:DataPoint",
|
425 |
+
"datacellar:timeStamp": "2006-12-17 01:00:00",
|
426 |
+
"datacellar:value": -8.335
|
427 |
+
},
|
428 |
+
{
|
429 |
+
"@type": "datacellar:DataPoint",
|
430 |
+
"datacellar:timeStamp": "2006-12-17 02:00:00",
|
431 |
+
"datacellar:value": -17.78
|
432 |
+
},
|
433 |
+
{
|
434 |
+
"@type": "datacellar:DataPoint",
|
435 |
+
"datacellar:timeStamp": "2006-12-17 03:00:00",
|
436 |
+
"datacellar:value": -17.78
|
437 |
+
},
|
438 |
+
{
|
439 |
+
"@type": "datacellar:DataPoint",
|
440 |
+
"datacellar:timeStamp": "2006-12-17 04:00:00",
|
441 |
+
"datacellar:value": -17.78
|
442 |
+
},
|
443 |
+
{
|
444 |
+
"@type": "datacellar:DataPoint",
|
445 |
+
"datacellar:timeStamp": "2006-12-17 05:00:00",
|
446 |
+
"datacellar:value": -9.445
|
447 |
+
},
|
448 |
+
{
|
449 |
+
"@type": "datacellar:DataPoint",
|
450 |
+
"datacellar:timeStamp": "2006-12-17 06:00:00",
|
451 |
+
"datacellar:value": -17.78
|
452 |
+
},
|
453 |
+
{
|
454 |
+
"@type": "datacellar:DataPoint",
|
455 |
+
"datacellar:timeStamp": "2006-12-17 07:00:00",
|
456 |
+
"datacellar:value": -17.78
|
457 |
+
},
|
458 |
+
{
|
459 |
+
"@type": "datacellar:DataPoint",
|
460 |
+
"datacellar:timeStamp": "2006-12-17 08:00:00",
|
461 |
+
"datacellar:value": -17.78
|
462 |
+
},
|
463 |
+
{
|
464 |
+
"@type": "datacellar:DataPoint",
|
465 |
+
"datacellar:timeStamp": "2006-12-17 09:00:00",
|
466 |
+
"datacellar:value": -8.335
|
467 |
+
},
|
468 |
+
{
|
469 |
+
"@type": "datacellar:DataPoint",
|
470 |
+
"datacellar:timeStamp": "2006-12-17 10:00:00",
|
471 |
+
"datacellar:value": -17.78
|
472 |
+
},
|
473 |
+
{
|
474 |
+
"@type": "datacellar:DataPoint",
|
475 |
+
"datacellar:timeStamp": "2006-12-17 11:00:00",
|
476 |
+
"datacellar:value": 1.665
|
477 |
+
},
|
478 |
+
{
|
479 |
+
"@type": "datacellar:DataPoint",
|
480 |
+
"datacellar:timeStamp": "2006-12-17 12:00:00",
|
481 |
+
"datacellar:value": 3.335
|
482 |
+
},
|
483 |
+
{
|
484 |
+
"@type": "datacellar:DataPoint",
|
485 |
+
"datacellar:timeStamp": "2006-12-17 13:00:00",
|
486 |
+
"datacellar:value": 4.445
|
487 |
+
},
|
488 |
+
{
|
489 |
+
"@type": "datacellar:DataPoint",
|
490 |
+
"datacellar:timeStamp": "2006-12-17 14:00:00",
|
491 |
+
"datacellar:value": 6.11
|
492 |
+
},
|
493 |
+
{
|
494 |
+
"@type": "datacellar:DataPoint",
|
495 |
+
"datacellar:timeStamp": "2006-12-17 15:00:00",
|
496 |
+
"datacellar:value": 6.11
|
497 |
+
},
|
498 |
+
{
|
499 |
+
"@type": "datacellar:DataPoint",
|
500 |
+
"datacellar:timeStamp": "2006-12-17 16:00:00",
|
501 |
+
"datacellar:value": 6.11
|
502 |
+
},
|
503 |
+
{
|
504 |
+
"@type": "datacellar:DataPoint",
|
505 |
+
"datacellar:timeStamp": "2006-12-17 17:00:00",
|
506 |
+
"datacellar:value": 6.11
|
507 |
+
},
|
508 |
+
{
|
509 |
+
"@type": "datacellar:DataPoint",
|
510 |
+
"datacellar:timeStamp": "2006-12-17 18:00:00",
|
511 |
+
"datacellar:value": 5.0
|
512 |
+
},
|
513 |
+
{
|
514 |
+
"@type": "datacellar:DataPoint",
|
515 |
+
"datacellar:timeStamp": "2006-12-17 19:00:00",
|
516 |
+
"datacellar:value": 5.0
|
517 |
+
},
|
518 |
+
{
|
519 |
+
"@type": "datacellar:DataPoint",
|
520 |
+
"datacellar:timeStamp": "2006-12-17 20:00:00",
|
521 |
+
"datacellar:value": 3.89
|
522 |
+
},
|
523 |
+
{
|
524 |
+
"@type": "datacellar:DataPoint",
|
525 |
+
"datacellar:timeStamp": "2006-12-17 21:00:00",
|
526 |
+
"datacellar:value": 2.78
|
527 |
+
},
|
528 |
+
{
|
529 |
+
"@type": "datacellar:DataPoint",
|
530 |
+
"datacellar:timeStamp": "2006-12-17 22:00:00",
|
531 |
+
"datacellar:value": 2.5
|
532 |
+
},
|
533 |
+
{
|
534 |
+
"@type": "datacellar:DataPoint",
|
535 |
+
"datacellar:timeStamp": "2006-12-17 23:00:00",
|
536 |
+
"datacellar:value": 2.5
|
537 |
+
},
|
538 |
+
{
|
539 |
+
"@type": "datacellar:DataPoint",
|
540 |
+
"datacellar:timeStamp": "2006-12-18 00:00:00",
|
541 |
+
"datacellar:value": 2.5
|
542 |
+
},
|
543 |
+
{
|
544 |
+
"@type": "datacellar:DataPoint",
|
545 |
+
"datacellar:timeStamp": "2006-12-18 01:00:00",
|
546 |
+
"datacellar:value": 2.78
|
547 |
+
},
|
548 |
+
{
|
549 |
+
"@type": "datacellar:DataPoint",
|
550 |
+
"datacellar:timeStamp": "2006-12-18 02:00:00",
|
551 |
+
"datacellar:value": 2.78
|
552 |
+
},
|
553 |
+
{
|
554 |
+
"@type": "datacellar:DataPoint",
|
555 |
+
"datacellar:timeStamp": "2006-12-18 03:00:00",
|
556 |
+
"datacellar:value": 2.78
|
557 |
+
},
|
558 |
+
{
|
559 |
+
"@type": "datacellar:DataPoint",
|
560 |
+
"datacellar:timeStamp": "2006-12-18 04:00:00",
|
561 |
+
"datacellar:value": 2.78
|
562 |
+
},
|
563 |
+
{
|
564 |
+
"@type": "datacellar:DataPoint",
|
565 |
+
"datacellar:timeStamp": "2006-12-18 05:00:00",
|
566 |
+
"datacellar:value": 2.5
|
567 |
+
},
|
568 |
+
{
|
569 |
+
"@type": "datacellar:DataPoint",
|
570 |
+
"datacellar:timeStamp": "2006-12-18 06:00:00",
|
571 |
+
"datacellar:value": 2.78
|
572 |
+
},
|
573 |
+
{
|
574 |
+
"@type": "datacellar:DataPoint",
|
575 |
+
"datacellar:timeStamp": "2006-12-18 07:00:00",
|
576 |
+
"datacellar:value": 2.78
|
577 |
+
},
|
578 |
+
{
|
579 |
+
"@type": "datacellar:DataPoint",
|
580 |
+
"datacellar:timeStamp": "2006-12-18 08:00:00",
|
581 |
+
"datacellar:value": 2.78
|
582 |
+
},
|
583 |
+
{
|
584 |
+
"@type": "datacellar:DataPoint",
|
585 |
+
"datacellar:timeStamp": "2006-12-18 09:00:00",
|
586 |
+
"datacellar:value": 2.78
|
587 |
+
},
|
588 |
+
{
|
589 |
+
"@type": "datacellar:DataPoint",
|
590 |
+
"datacellar:timeStamp": "2006-12-18 10:00:00",
|
591 |
+
"datacellar:value": 2.78
|
592 |
+
},
|
593 |
+
{
|
594 |
+
"@type": "datacellar:DataPoint",
|
595 |
+
"datacellar:timeStamp": "2006-12-18 11:00:00",
|
596 |
+
"datacellar:value": 2.78
|
597 |
+
},
|
598 |
+
{
|
599 |
+
"@type": "datacellar:DataPoint",
|
600 |
+
"datacellar:timeStamp": "2006-12-18 12:00:00",
|
601 |
+
"datacellar:value": 3.89
|
602 |
+
},
|
603 |
+
{
|
604 |
+
"@type": "datacellar:DataPoint",
|
605 |
+
"datacellar:timeStamp": "2006-12-18 13:00:00",
|
606 |
+
"datacellar:value": 3.89
|
607 |
+
},
|
608 |
+
{
|
609 |
+
"@type": "datacellar:DataPoint",
|
610 |
+
"datacellar:timeStamp": "2006-12-18 14:00:00",
|
611 |
+
"datacellar:value": 3.89
|
612 |
+
},
|
613 |
+
{
|
614 |
+
"@type": "datacellar:DataPoint",
|
615 |
+
"datacellar:timeStamp": "2006-12-18 15:00:00",
|
616 |
+
"datacellar:value": 5.0
|
617 |
+
},
|
618 |
+
{
|
619 |
+
"@type": "datacellar:DataPoint",
|
620 |
+
"datacellar:timeStamp": "2006-12-18 16:00:00",
|
621 |
+
"datacellar:value": 5.0
|
622 |
+
},
|
623 |
+
{
|
624 |
+
"@type": "datacellar:DataPoint",
|
625 |
+
"datacellar:timeStamp": "2006-12-18 17:00:00",
|
626 |
+
"datacellar:value": 5.0
|
627 |
+
},
|
628 |
+
{
|
629 |
+
"@type": "datacellar:DataPoint",
|
630 |
+
"datacellar:timeStamp": "2006-12-18 18:00:00",
|
631 |
+
"datacellar:value": 5.0
|
632 |
+
},
|
633 |
+
{
|
634 |
+
"@type": "datacellar:DataPoint",
|
635 |
+
"datacellar:timeStamp": "2006-12-18 19:00:00",
|
636 |
+
"datacellar:value": 4.445
|
637 |
+
},
|
638 |
+
{
|
639 |
+
"@type": "datacellar:DataPoint",
|
640 |
+
"datacellar:timeStamp": "2006-12-18 20:00:00",
|
641 |
+
"datacellar:value": 3.89
|
642 |
+
},
|
643 |
+
{
|
644 |
+
"@type": "datacellar:DataPoint",
|
645 |
+
"datacellar:timeStamp": "2006-12-18 21:00:00",
|
646 |
+
"datacellar:value": 3.89
|
647 |
+
},
|
648 |
+
{
|
649 |
+
"@type": "datacellar:DataPoint",
|
650 |
+
"datacellar:timeStamp": "2006-12-18 22:00:00",
|
651 |
+
"datacellar:value": 3.335
|
652 |
+
},
|
653 |
+
{
|
654 |
+
"@type": "datacellar:DataPoint",
|
655 |
+
"datacellar:timeStamp": "2006-12-18 23:00:00",
|
656 |
+
"datacellar:value": 2.22
|
657 |
+
},
|
658 |
+
{
|
659 |
+
"@type": "datacellar:DataPoint",
|
660 |
+
"datacellar:timeStamp": "2006-12-19 00:00:00",
|
661 |
+
"datacellar:value": 1.11
|
662 |
+
},
|
663 |
+
{
|
664 |
+
"@type": "datacellar:DataPoint",
|
665 |
+
"datacellar:timeStamp": "2006-12-19 01:00:00",
|
666 |
+
"datacellar:value": 1.665
|
667 |
+
},
|
668 |
+
{
|
669 |
+
"@type": "datacellar:DataPoint",
|
670 |
+
"datacellar:timeStamp": "2006-12-19 02:00:00",
|
671 |
+
"datacellar:value": 1.665
|
672 |
+
},
|
673 |
+
{
|
674 |
+
"@type": "datacellar:DataPoint",
|
675 |
+
"datacellar:timeStamp": "2006-12-19 03:00:00",
|
676 |
+
"datacellar:value": 1.11
|
677 |
+
},
|
678 |
+
{
|
679 |
+
"@type": "datacellar:DataPoint",
|
680 |
+
"datacellar:timeStamp": "2006-12-19 04:00:00",
|
681 |
+
"datacellar:value": 1.11
|
682 |
+
},
|
683 |
+
{
|
684 |
+
"@type": "datacellar:DataPoint",
|
685 |
+
"datacellar:timeStamp": "2006-12-19 05:00:00",
|
686 |
+
"datacellar:value": 1.11
|
687 |
+
},
|
688 |
+
{
|
689 |
+
"@type": "datacellar:DataPoint",
|
690 |
+
"datacellar:timeStamp": "2006-12-19 06:00:00",
|
691 |
+
"datacellar:value": 0.0
|
692 |
+
},
|
693 |
+
{
|
694 |
+
"@type": "datacellar:DataPoint",
|
695 |
+
"datacellar:timeStamp": "2006-12-19 07:00:00",
|
696 |
+
"datacellar:value": 0.555
|
697 |
+
},
|
698 |
+
{
|
699 |
+
"@type": "datacellar:DataPoint",
|
700 |
+
"datacellar:timeStamp": "2006-12-19 08:00:00",
|
701 |
+
"datacellar:value": 1.11
|
702 |
+
},
|
703 |
+
{
|
704 |
+
"@type": "datacellar:DataPoint",
|
705 |
+
"datacellar:timeStamp": "2006-12-19 09:00:00",
|
706 |
+
"datacellar:value": 1.11
|
707 |
+
},
|
708 |
+
{
|
709 |
+
"@type": "datacellar:DataPoint",
|
710 |
+
"datacellar:timeStamp": "2006-12-19 10:00:00",
|
711 |
+
"datacellar:value": 1.11
|
712 |
+
},
|
713 |
+
{
|
714 |
+
"@type": "datacellar:DataPoint",
|
715 |
+
"datacellar:timeStamp": "2006-12-19 11:00:00",
|
716 |
+
"datacellar:value": 1.665
|
717 |
+
},
|
718 |
+
{
|
719 |
+
"@type": "datacellar:DataPoint",
|
720 |
+
"datacellar:timeStamp": "2006-12-19 12:00:00",
|
721 |
+
"datacellar:value": 2.78
|
722 |
+
},
|
723 |
+
{
|
724 |
+
"@type": "datacellar:DataPoint",
|
725 |
+
"datacellar:timeStamp": "2006-12-19 13:00:00",
|
726 |
+
"datacellar:value": 3.89
|
727 |
+
},
|
728 |
+
{
|
729 |
+
"@type": "datacellar:DataPoint",
|
730 |
+
"datacellar:timeStamp": "2006-12-19 14:00:00",
|
731 |
+
"datacellar:value": 4.445
|
732 |
+
},
|
733 |
+
{
|
734 |
+
"@type": "datacellar:DataPoint",
|
735 |
+
"datacellar:timeStamp": "2006-12-19 15:00:00",
|
736 |
+
"datacellar:value": 5.0
|
737 |
+
},
|
738 |
+
{
|
739 |
+
"@type": "datacellar:DataPoint",
|
740 |
+
"datacellar:timeStamp": "2006-12-19 16:00:00",
|
741 |
+
"datacellar:value": 5.0
|
742 |
+
},
|
743 |
+
{
|
744 |
+
"@type": "datacellar:DataPoint",
|
745 |
+
"datacellar:timeStamp": "2006-12-19 17:00:00",
|
746 |
+
"datacellar:value": 3.89
|
747 |
+
},
|
748 |
+
{
|
749 |
+
"@type": "datacellar:DataPoint",
|
750 |
+
"datacellar:timeStamp": "2006-12-19 18:00:00",
|
751 |
+
"datacellar:value": 3.335
|
752 |
+
},
|
753 |
+
{
|
754 |
+
"@type": "datacellar:DataPoint",
|
755 |
+
"datacellar:timeStamp": "2006-12-19 19:00:00",
|
756 |
+
"datacellar:value": 2.78
|
757 |
+
},
|
758 |
+
{
|
759 |
+
"@type": "datacellar:DataPoint",
|
760 |
+
"datacellar:timeStamp": "2006-12-19 20:00:00",
|
761 |
+
"datacellar:value": 2.5
|
762 |
+
},
|
763 |
+
{
|
764 |
+
"@type": "datacellar:DataPoint",
|
765 |
+
"datacellar:timeStamp": "2006-12-19 21:00:00",
|
766 |
+
"datacellar:value": 2.22
|
767 |
+
},
|
768 |
+
{
|
769 |
+
"@type": "datacellar:DataPoint",
|
770 |
+
"datacellar:timeStamp": "2006-12-19 22:00:00",
|
771 |
+
"datacellar:value": 2.22
|
772 |
+
},
|
773 |
+
{
|
774 |
+
"@type": "datacellar:DataPoint",
|
775 |
+
"datacellar:timeStamp": "2006-12-19 23:00:00",
|
776 |
+
"datacellar:value": 2.22
|
777 |
+
},
|
778 |
+
{
|
779 |
+
"@type": "datacellar:DataPoint",
|
780 |
+
"datacellar:timeStamp": "2006-12-20 00:00:00",
|
781 |
+
"datacellar:value": 1.11
|
782 |
+
}
|
783 |
]
|
784 |
}
|
785 |
],
|
samples/2_long_term_consumption.json
CHANGED
@@ -15,10 +15,10 @@
|
|
15 |
"@type": "datacellar:DatasetField",
|
16 |
"datacellar:datasetFieldID": 1,
|
17 |
"datacellar:fieldName": "outdoorTemperature",
|
18 |
-
"datacellar:
|
19 |
"datacellar:type": {
|
20 |
"@type": "datacellar:FieldType",
|
21 |
-
"datacellar:
|
22 |
"datacellar:averagable": true,
|
23 |
"datacellar:summable": false,
|
24 |
"datacellar:anonymizable": false
|
@@ -28,10 +28,10 @@
|
|
28 |
"@type": "datacellar:DatasetField",
|
29 |
"datacellar:datasetFieldID": 2,
|
30 |
"datacellar:fieldName": "consumedPower",
|
31 |
-
"datacellar:
|
32 |
"datacellar:type": {
|
33 |
"@type": "datacellar:FieldType",
|
34 |
-
"datacellar:
|
35 |
"datacellar:averagable": true,
|
36 |
"datacellar:summable": false,
|
37 |
"datacellar:anonymizable": false
|
@@ -45,10 +45,12 @@
|
|
45 |
{
|
46 |
"@type": "datacellar:TimeSeries",
|
47 |
"datacellar:datasetFieldID": 1,
|
48 |
-
"datacellar:startDate": "
|
49 |
"datacellar:endDate": "2006-12-25 07:00:00",
|
|
|
|
|
50 |
"datacellar:granularity": "1 hour",
|
51 |
-
"datacellar:
|
52 |
{
|
53 |
"@type": "datacellar:DataPoint",
|
54 |
"datacellar:timeStamp": "2006-12-17 01:00:00",
|
@@ -1049,10 +1051,12 @@
|
|
1049 |
{
|
1050 |
"@type": "datacellar:TimeSeries",
|
1051 |
"datacellar:datasetFieldID": 2,
|
1052 |
-
"datacellar:startDate": "
|
1053 |
"datacellar:endDate": "2006-12-25 07:00:00",
|
|
|
|
|
1054 |
"datacellar:granularity": "1 hour",
|
1055 |
-
"datacellar:
|
1056 |
{
|
1057 |
"@type": "datacellar:DataPoint",
|
1058 |
"datacellar:timeStamp": "2006-12-17 01:00:00",
|
|
|
15 |
"@type": "datacellar:DatasetField",
|
16 |
"datacellar:datasetFieldID": 1,
|
17 |
"datacellar:fieldName": "outdoorTemperature",
|
18 |
+
"datacellar:fieldDescription": "Temperature readings",
|
19 |
"datacellar:type": {
|
20 |
"@type": "datacellar:FieldType",
|
21 |
+
"datacellar:unit": "Celsius",
|
22 |
"datacellar:averagable": true,
|
23 |
"datacellar:summable": false,
|
24 |
"datacellar:anonymizable": false
|
|
|
28 |
"@type": "datacellar:DatasetField",
|
29 |
"datacellar:datasetFieldID": 2,
|
30 |
"datacellar:fieldName": "consumedPower",
|
31 |
+
"datacellar:fieldDescription": "Power consumption readings",
|
32 |
"datacellar:type": {
|
33 |
"@type": "datacellar:FieldType",
|
34 |
+
"datacellar:unit": "kW",
|
35 |
"datacellar:averagable": true,
|
36 |
"datacellar:summable": false,
|
37 |
"datacellar:anonymizable": false
|
|
|
45 |
{
|
46 |
"@type": "datacellar:TimeSeries",
|
47 |
"datacellar:datasetFieldID": 1,
|
48 |
+
"datacellar:startDate": "2006-12-17 01:00:00",
|
49 |
"datacellar:endDate": "2006-12-25 07:00:00",
|
50 |
+
"datacellar:latitude": 48.7786,
|
51 |
+
"datacellar:longitude": 2.2906,
|
52 |
"datacellar:granularity": "1 hour",
|
53 |
+
"datacellar:timeseriesDataPoints": [
|
54 |
{
|
55 |
"@type": "datacellar:DataPoint",
|
56 |
"datacellar:timeStamp": "2006-12-17 01:00:00",
|
|
|
1051 |
{
|
1052 |
"@type": "datacellar:TimeSeries",
|
1053 |
"datacellar:datasetFieldID": 2,
|
1054 |
+
"datacellar:startDate": "2006-12-17 01:00:00",
|
1055 |
"datacellar:endDate": "2006-12-25 07:00:00",
|
1056 |
+
"datacellar:latitude": 48.7786,
|
1057 |
+
"datacellar:longitude": 2.2906,
|
1058 |
"datacellar:granularity": "1 hour",
|
1059 |
+
"datacellar:timeseriesDataPoints": [
|
1060 |
{
|
1061 |
"@type": "datacellar:DataPoint",
|
1062 |
"datacellar:timeStamp": "2006-12-17 01:00:00",
|
samples/3_short_term_production.json
CHANGED
@@ -15,10 +15,10 @@
|
|
15 |
"@type": "datacellar:DatasetField",
|
16 |
"datacellar:datasetFieldID": 1,
|
17 |
"datacellar:fieldName": "generatedPower",
|
18 |
-
"datacellar:
|
19 |
"datacellar:type": {
|
20 |
"@type": "datacellar:FieldType",
|
21 |
-
"datacellar:
|
22 |
"datacellar:averagable": true,
|
23 |
"datacellar:summable": false,
|
24 |
"datacellar:anonymizable": false
|
@@ -28,10 +28,10 @@
|
|
28 |
"@type": "datacellar:DatasetField",
|
29 |
"datacellar:datasetFieldID": 2,
|
30 |
"datacellar:fieldName": "outdoorTemperature",
|
31 |
-
"datacellar:
|
32 |
"datacellar:type": {
|
33 |
"@type": "datacellar:FieldType",
|
34 |
-
"datacellar:
|
35 |
"datacellar:averagable": true,
|
36 |
"datacellar:summable": false,
|
37 |
"datacellar:anonymizable": false
|
@@ -41,10 +41,10 @@
|
|
41 |
"@type": "datacellar:DatasetField",
|
42 |
"datacellar:datasetFieldID": 3,
|
43 |
"datacellar:fieldName": "dewPoint",
|
44 |
-
"datacellar:
|
45 |
"datacellar:type": {
|
46 |
"@type": "datacellar:FieldType",
|
47 |
-
"datacellar:
|
48 |
"datacellar:averagable": true,
|
49 |
"datacellar:summable": false,
|
50 |
"datacellar:anonymizable": false
|
@@ -54,10 +54,10 @@
|
|
54 |
"@type": "datacellar:DatasetField",
|
55 |
"datacellar:datasetFieldID": 4,
|
56 |
"datacellar:fieldName": "feelsLike",
|
57 |
-
"datacellar:
|
58 |
"datacellar:type": {
|
59 |
"@type": "datacellar:FieldType",
|
60 |
-
"datacellar:
|
61 |
"datacellar:averagable": true,
|
62 |
"datacellar:summable": false,
|
63 |
"datacellar:anonymizable": false
|
@@ -67,10 +67,10 @@
|
|
67 |
"@type": "datacellar:DatasetField",
|
68 |
"datacellar:datasetFieldID": 5,
|
69 |
"datacellar:fieldName": "minTemperature",
|
70 |
-
"datacellar:
|
71 |
"datacellar:type": {
|
72 |
"@type": "datacellar:FieldType",
|
73 |
-
"datacellar:
|
74 |
"datacellar:averagable": true,
|
75 |
"datacellar:summable": false,
|
76 |
"datacellar:anonymizable": false
|
@@ -80,10 +80,10 @@
|
|
80 |
"@type": "datacellar:DatasetField",
|
81 |
"datacellar:datasetFieldID": 6,
|
82 |
"datacellar:fieldName": "maxTemperature",
|
83 |
-
"datacellar:
|
84 |
"datacellar:type": {
|
85 |
"@type": "datacellar:FieldType",
|
86 |
-
"datacellar:
|
87 |
"datacellar:averagable": true,
|
88 |
"datacellar:summable": false,
|
89 |
"datacellar:anonymizable": false
|
@@ -93,10 +93,10 @@
|
|
93 |
"@type": "datacellar:DatasetField",
|
94 |
"datacellar:datasetFieldID": 7,
|
95 |
"datacellar:fieldName": "pressure",
|
96 |
-
"datacellar:
|
97 |
"datacellar:type": {
|
98 |
"@type": "datacellar:FieldType",
|
99 |
-
"datacellar:
|
100 |
"datacellar:averagable": true,
|
101 |
"datacellar:summable": false,
|
102 |
"datacellar:anonymizable": false
|
@@ -106,10 +106,10 @@
|
|
106 |
"@type": "datacellar:DatasetField",
|
107 |
"datacellar:datasetFieldID": 8,
|
108 |
"datacellar:fieldName": "humidity",
|
109 |
-
"datacellar:
|
110 |
"datacellar:type": {
|
111 |
"@type": "datacellar:FieldType",
|
112 |
-
"datacellar:
|
113 |
"datacellar:averagable": true,
|
114 |
"datacellar:summable": false,
|
115 |
"datacellar:anonymizable": false
|
@@ -119,10 +119,10 @@
|
|
119 |
"@type": "datacellar:DatasetField",
|
120 |
"datacellar:datasetFieldID": 9,
|
121 |
"datacellar:fieldName": "windSpeed",
|
122 |
-
"datacellar:
|
123 |
"datacellar:type": {
|
124 |
"@type": "datacellar:FieldType",
|
125 |
-
"datacellar:
|
126 |
"datacellar:averagable": true,
|
127 |
"datacellar:summable": false,
|
128 |
"datacellar:anonymizable": false
|
@@ -132,10 +132,10 @@
|
|
132 |
"@type": "datacellar:DatasetField",
|
133 |
"datacellar:datasetFieldID": 10,
|
134 |
"datacellar:fieldName": "windDeg",
|
135 |
-
"datacellar:
|
136 |
"datacellar:type": {
|
137 |
"@type": "datacellar:FieldType",
|
138 |
-
"datacellar:
|
139 |
"datacellar:averagable": true,
|
140 |
"datacellar:summable": false,
|
141 |
"datacellar:anonymizable": false
|
@@ -145,10 +145,10 @@
|
|
145 |
"@type": "datacellar:DatasetField",
|
146 |
"datacellar:datasetFieldID": 11,
|
147 |
"datacellar:fieldName": "windGust",
|
148 |
-
"datacellar:
|
149 |
"datacellar:type": {
|
150 |
"@type": "datacellar:FieldType",
|
151 |
-
"datacellar:
|
152 |
"datacellar:averagable": true,
|
153 |
"datacellar:summable": false,
|
154 |
"datacellar:anonymizable": false
|
@@ -158,10 +158,10 @@
|
|
158 |
"@type": "datacellar:DatasetField",
|
159 |
"datacellar:datasetFieldID": 12,
|
160 |
"datacellar:fieldName": "rain1H",
|
161 |
-
"datacellar:
|
162 |
"datacellar:type": {
|
163 |
"@type": "datacellar:FieldType",
|
164 |
-
"datacellar:
|
165 |
"datacellar:averagable": true,
|
166 |
"datacellar:summable": false,
|
167 |
"datacellar:anonymizable": false
|
@@ -171,10 +171,10 @@
|
|
171 |
"@type": "datacellar:DatasetField",
|
172 |
"datacellar:datasetFieldID": 13,
|
173 |
"datacellar:fieldName": "cloudsAll",
|
174 |
-
"datacellar:
|
175 |
"datacellar:type": {
|
176 |
"@type": "datacellar:FieldType",
|
177 |
-
"datacellar:
|
178 |
"datacellar:averagable": true,
|
179 |
"datacellar:summable": false,
|
180 |
"datacellar:anonymizable": false
|
@@ -184,10 +184,10 @@
|
|
184 |
"@type": "datacellar:DatasetField",
|
185 |
"datacellar:datasetFieldID": 14,
|
186 |
"datacellar:fieldName": "weatherDescription",
|
187 |
-
"datacellar:
|
188 |
"datacellar:type": {
|
189 |
"@type": "datacellar:FieldType",
|
190 |
-
"datacellar:
|
191 |
"datacellar:averagable": true,
|
192 |
"datacellar:summable": false,
|
193 |
"datacellar:anonymizable": false
|
@@ -201,8 +201,10 @@
|
|
201 |
"datacellar:datasetFieldID": 1,
|
202 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
203 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
|
|
|
|
204 |
"datacellar:granularity": "1 hour",
|
205 |
-
"datacellar:
|
206 |
{
|
207 |
"@type": "datacellar:DataPoint",
|
208 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
@@ -450,8 +452,10 @@
|
|
450 |
"datacellar:datasetFieldID": 2,
|
451 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
452 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
|
|
|
|
453 |
"datacellar:granularity": "1 hour",
|
454 |
-
"datacellar:
|
455 |
{
|
456 |
"@type": "datacellar:DataPoint",
|
457 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
@@ -699,8 +703,10 @@
|
|
699 |
"datacellar:datasetFieldID": 3,
|
700 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
701 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
|
|
|
|
702 |
"datacellar:granularity": "1 hour",
|
703 |
-
"datacellar:
|
704 |
{
|
705 |
"@type": "datacellar:DataPoint",
|
706 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
@@ -948,8 +954,10 @@
|
|
948 |
"datacellar:datasetFieldID": 4,
|
949 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
950 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
|
|
|
|
951 |
"datacellar:granularity": "1 hour",
|
952 |
-
"datacellar:
|
953 |
{
|
954 |
"@type": "datacellar:DataPoint",
|
955 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
@@ -1197,8 +1205,10 @@
|
|
1197 |
"datacellar:datasetFieldID": 5,
|
1198 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
1199 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
|
|
|
|
1200 |
"datacellar:granularity": "1 hour",
|
1201 |
-
"datacellar:
|
1202 |
{
|
1203 |
"@type": "datacellar:DataPoint",
|
1204 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
@@ -1446,8 +1456,10 @@
|
|
1446 |
"datacellar:datasetFieldID": 6,
|
1447 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
1448 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
|
|
|
|
1449 |
"datacellar:granularity": "1 hour",
|
1450 |
-
"datacellar:
|
1451 |
{
|
1452 |
"@type": "datacellar:DataPoint",
|
1453 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
@@ -1695,8 +1707,10 @@
|
|
1695 |
"datacellar:datasetFieldID": 7,
|
1696 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
1697 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
|
|
|
|
1698 |
"datacellar:granularity": "1 hour",
|
1699 |
-
"datacellar:
|
1700 |
{
|
1701 |
"@type": "datacellar:DataPoint",
|
1702 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
@@ -1944,8 +1958,10 @@
|
|
1944 |
"datacellar:datasetFieldID": 8,
|
1945 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
1946 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
|
|
|
|
1947 |
"datacellar:granularity": "1 hour",
|
1948 |
-
"datacellar:
|
1949 |
{
|
1950 |
"@type": "datacellar:DataPoint",
|
1951 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
@@ -2193,8 +2209,10 @@
|
|
2193 |
"datacellar:datasetFieldID": 9,
|
2194 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
2195 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
|
|
|
|
2196 |
"datacellar:granularity": "1 hour",
|
2197 |
-
"datacellar:
|
2198 |
{
|
2199 |
"@type": "datacellar:DataPoint",
|
2200 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
@@ -2442,8 +2460,10 @@
|
|
2442 |
"datacellar:datasetFieldID": 10,
|
2443 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
2444 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
|
|
|
|
2445 |
"datacellar:granularity": "1 hour",
|
2446 |
-
"datacellar:
|
2447 |
{
|
2448 |
"@type": "datacellar:DataPoint",
|
2449 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
@@ -2691,8 +2711,10 @@
|
|
2691 |
"datacellar:datasetFieldID": 11,
|
2692 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
2693 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
|
|
|
|
2694 |
"datacellar:granularity": "1 hour",
|
2695 |
-
"datacellar:
|
2696 |
{
|
2697 |
"@type": "datacellar:DataPoint",
|
2698 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
@@ -2940,8 +2962,10 @@
|
|
2940 |
"datacellar:datasetFieldID": 12,
|
2941 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
2942 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
|
|
|
|
2943 |
"datacellar:granularity": "1 hour",
|
2944 |
-
"datacellar:
|
2945 |
{
|
2946 |
"@type": "datacellar:DataPoint",
|
2947 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
@@ -3189,8 +3213,10 @@
|
|
3189 |
"datacellar:datasetFieldID": 13,
|
3190 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
3191 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
|
|
|
|
3192 |
"datacellar:granularity": "1 hour",
|
3193 |
-
"datacellar:
|
3194 |
{
|
3195 |
"@type": "datacellar:DataPoint",
|
3196 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
@@ -3438,8 +3464,10 @@
|
|
3438 |
"datacellar:datasetFieldID": 14,
|
3439 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
3440 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
|
|
|
|
3441 |
"datacellar:granularity": "1 hour",
|
3442 |
-
"datacellar:
|
3443 |
{
|
3444 |
"@type": "datacellar:DataPoint",
|
3445 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
|
|
15 |
"@type": "datacellar:DatasetField",
|
16 |
"datacellar:datasetFieldID": 1,
|
17 |
"datacellar:fieldName": "generatedPower",
|
18 |
+
"datacellar:fieldDescription": "Power generation readings",
|
19 |
"datacellar:type": {
|
20 |
"@type": "datacellar:FieldType",
|
21 |
+
"datacellar:unit": "kW",
|
22 |
"datacellar:averagable": true,
|
23 |
"datacellar:summable": false,
|
24 |
"datacellar:anonymizable": false
|
|
|
28 |
"@type": "datacellar:DatasetField",
|
29 |
"datacellar:datasetFieldID": 2,
|
30 |
"datacellar:fieldName": "outdoorTemperature",
|
31 |
+
"datacellar:fieldDescription": "Temperature",
|
32 |
"datacellar:type": {
|
33 |
"@type": "datacellar:FieldType",
|
34 |
+
"datacellar:unit": "K",
|
35 |
"datacellar:averagable": true,
|
36 |
"datacellar:summable": false,
|
37 |
"datacellar:anonymizable": false
|
|
|
41 |
"@type": "datacellar:DatasetField",
|
42 |
"datacellar:datasetFieldID": 3,
|
43 |
"datacellar:fieldName": "dewPoint",
|
44 |
+
"datacellar:fieldDescription": "Temperature at which condensation occurs",
|
45 |
"datacellar:type": {
|
46 |
"@type": "datacellar:FieldType",
|
47 |
+
"datacellar:unit": "K",
|
48 |
"datacellar:averagable": true,
|
49 |
"datacellar:summable": false,
|
50 |
"datacellar:anonymizable": false
|
|
|
54 |
"@type": "datacellar:DatasetField",
|
55 |
"datacellar:datasetFieldID": 4,
|
56 |
"datacellar:fieldName": "feelsLike",
|
57 |
+
"datacellar:fieldDescription": "Human perception of weather temperature",
|
58 |
"datacellar:type": {
|
59 |
"@type": "datacellar:FieldType",
|
60 |
+
"datacellar:unit": "K",
|
61 |
"datacellar:averagable": true,
|
62 |
"datacellar:summable": false,
|
63 |
"datacellar:anonymizable": false
|
|
|
67 |
"@type": "datacellar:DatasetField",
|
68 |
"datacellar:datasetFieldID": 5,
|
69 |
"datacellar:fieldName": "minTemperature",
|
70 |
+
"datacellar:fieldDescription": "Minimum temperature",
|
71 |
"datacellar:type": {
|
72 |
"@type": "datacellar:FieldType",
|
73 |
+
"datacellar:unit": "K",
|
74 |
"datacellar:averagable": true,
|
75 |
"datacellar:summable": false,
|
76 |
"datacellar:anonymizable": false
|
|
|
80 |
"@type": "datacellar:DatasetField",
|
81 |
"datacellar:datasetFieldID": 6,
|
82 |
"datacellar:fieldName": "maxTemperature",
|
83 |
+
"datacellar:fieldDescription": "Maximum temperature",
|
84 |
"datacellar:type": {
|
85 |
"@type": "datacellar:FieldType",
|
86 |
+
"datacellar:unit": "K",
|
87 |
"datacellar:averagable": true,
|
88 |
"datacellar:summable": false,
|
89 |
"datacellar:anonymizable": false
|
|
|
93 |
"@type": "datacellar:DatasetField",
|
94 |
"datacellar:datasetFieldID": 7,
|
95 |
"datacellar:fieldName": "pressure",
|
96 |
+
"datacellar:fieldDescription": "Pressure",
|
97 |
"datacellar:type": {
|
98 |
"@type": "datacellar:FieldType",
|
99 |
+
"datacellar:unit": "hPa",
|
100 |
"datacellar:averagable": true,
|
101 |
"datacellar:summable": false,
|
102 |
"datacellar:anonymizable": false
|
|
|
106 |
"@type": "datacellar:DatasetField",
|
107 |
"datacellar:datasetFieldID": 8,
|
108 |
"datacellar:fieldName": "humidity",
|
109 |
+
"datacellar:fieldDescription": "Humidity",
|
110 |
"datacellar:type": {
|
111 |
"@type": "datacellar:FieldType",
|
112 |
+
"datacellar:unit": "%",
|
113 |
"datacellar:averagable": true,
|
114 |
"datacellar:summable": false,
|
115 |
"datacellar:anonymizable": false
|
|
|
119 |
"@type": "datacellar:DatasetField",
|
120 |
"datacellar:datasetFieldID": 9,
|
121 |
"datacellar:fieldName": "windSpeed",
|
122 |
+
"datacellar:fieldDescription": "Wind speed",
|
123 |
"datacellar:type": {
|
124 |
"@type": "datacellar:FieldType",
|
125 |
+
"datacellar:unit": "m/s",
|
126 |
"datacellar:averagable": true,
|
127 |
"datacellar:summable": false,
|
128 |
"datacellar:anonymizable": false
|
|
|
132 |
"@type": "datacellar:DatasetField",
|
133 |
"datacellar:datasetFieldID": 10,
|
134 |
"datacellar:fieldName": "windDeg",
|
135 |
+
"datacellar:fieldDescription": "Wind direction",
|
136 |
"datacellar:type": {
|
137 |
"@type": "datacellar:FieldType",
|
138 |
+
"datacellar:unit": "deg",
|
139 |
"datacellar:averagable": true,
|
140 |
"datacellar:summable": false,
|
141 |
"datacellar:anonymizable": false
|
|
|
145 |
"@type": "datacellar:DatasetField",
|
146 |
"datacellar:datasetFieldID": 11,
|
147 |
"datacellar:fieldName": "windGust",
|
148 |
+
"datacellar:fieldDescription": "Wind gust",
|
149 |
"datacellar:type": {
|
150 |
"@type": "datacellar:FieldType",
|
151 |
+
"datacellar:unit": "m/s",
|
152 |
"datacellar:averagable": true,
|
153 |
"datacellar:summable": false,
|
154 |
"datacellar:anonymizable": false
|
|
|
158 |
"@type": "datacellar:DatasetField",
|
159 |
"datacellar:datasetFieldID": 12,
|
160 |
"datacellar:fieldName": "rain1H",
|
161 |
+
"datacellar:fieldDescription": "Rain volume for the last hour",
|
162 |
"datacellar:type": {
|
163 |
"@type": "datacellar:FieldType",
|
164 |
+
"datacellar:unit": "mm",
|
165 |
"datacellar:averagable": true,
|
166 |
"datacellar:summable": false,
|
167 |
"datacellar:anonymizable": false
|
|
|
171 |
"@type": "datacellar:DatasetField",
|
172 |
"datacellar:datasetFieldID": 13,
|
173 |
"datacellar:fieldName": "cloudsAll",
|
174 |
+
"datacellar:fieldDescription": "Cloudiness",
|
175 |
"datacellar:type": {
|
176 |
"@type": "datacellar:FieldType",
|
177 |
+
"datacellar:unit": "%",
|
178 |
"datacellar:averagable": true,
|
179 |
"datacellar:summable": false,
|
180 |
"datacellar:anonymizable": false
|
|
|
184 |
"@type": "datacellar:DatasetField",
|
185 |
"datacellar:datasetFieldID": 14,
|
186 |
"datacellar:fieldName": "weatherDescription",
|
187 |
+
"datacellar:fieldDescription": "Categorical weather conditions",
|
188 |
"datacellar:type": {
|
189 |
"@type": "datacellar:FieldType",
|
190 |
+
"datacellar:unit": "-",
|
191 |
"datacellar:averagable": true,
|
192 |
"datacellar:summable": false,
|
193 |
"datacellar:anonymizable": false
|
|
|
201 |
"datacellar:datasetFieldID": 1,
|
202 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
203 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
204 |
+
"datacellar:latitude": 40.7128,
|
205 |
+
"datacellar:longitude": -74.006,
|
206 |
"datacellar:granularity": "1 hour",
|
207 |
+
"datacellar:timeseriesDataPoints": [
|
208 |
{
|
209 |
"@type": "datacellar:DataPoint",
|
210 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
|
|
452 |
"datacellar:datasetFieldID": 2,
|
453 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
454 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
455 |
+
"datacellar:latitude": 40.7128,
|
456 |
+
"datacellar:longitude": -74.006,
|
457 |
"datacellar:granularity": "1 hour",
|
458 |
+
"datacellar:timeseriesDataPoints": [
|
459 |
{
|
460 |
"@type": "datacellar:DataPoint",
|
461 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
|
|
703 |
"datacellar:datasetFieldID": 3,
|
704 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
705 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
706 |
+
"datacellar:latitude": 40.7128,
|
707 |
+
"datacellar:longitude": -74.006,
|
708 |
"datacellar:granularity": "1 hour",
|
709 |
+
"datacellar:timeseriesDataPoints": [
|
710 |
{
|
711 |
"@type": "datacellar:DataPoint",
|
712 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
|
|
954 |
"datacellar:datasetFieldID": 4,
|
955 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
956 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
957 |
+
"datacellar:latitude": 40.7128,
|
958 |
+
"datacellar:longitude": -74.006,
|
959 |
"datacellar:granularity": "1 hour",
|
960 |
+
"datacellar:timeseriesDataPoints": [
|
961 |
{
|
962 |
"@type": "datacellar:DataPoint",
|
963 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
|
|
1205 |
"datacellar:datasetFieldID": 5,
|
1206 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
1207 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
1208 |
+
"datacellar:latitude": 40.7128,
|
1209 |
+
"datacellar:longitude": -74.006,
|
1210 |
"datacellar:granularity": "1 hour",
|
1211 |
+
"datacellar:timeseriesDataPoints": [
|
1212 |
{
|
1213 |
"@type": "datacellar:DataPoint",
|
1214 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
|
|
1456 |
"datacellar:datasetFieldID": 6,
|
1457 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
1458 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
1459 |
+
"datacellar:latitude": 40.7128,
|
1460 |
+
"datacellar:longitude": -74.006,
|
1461 |
"datacellar:granularity": "1 hour",
|
1462 |
+
"datacellar:timeseriesDataPoints": [
|
1463 |
{
|
1464 |
"@type": "datacellar:DataPoint",
|
1465 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
|
|
1707 |
"datacellar:datasetFieldID": 7,
|
1708 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
1709 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
1710 |
+
"datacellar:latitude": 40.7128,
|
1711 |
+
"datacellar:longitude": -74.006,
|
1712 |
"datacellar:granularity": "1 hour",
|
1713 |
+
"datacellar:timeseriesDataPoints": [
|
1714 |
{
|
1715 |
"@type": "datacellar:DataPoint",
|
1716 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
|
|
1958 |
"datacellar:datasetFieldID": 8,
|
1959 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
1960 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
1961 |
+
"datacellar:latitude": 40.7128,
|
1962 |
+
"datacellar:longitude": -74.006,
|
1963 |
"datacellar:granularity": "1 hour",
|
1964 |
+
"datacellar:timeseriesDataPoints": [
|
1965 |
{
|
1966 |
"@type": "datacellar:DataPoint",
|
1967 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
|
|
2209 |
"datacellar:datasetFieldID": 9,
|
2210 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
2211 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
2212 |
+
"datacellar:latitude": 40.7128,
|
2213 |
+
"datacellar:longitude": -74.006,
|
2214 |
"datacellar:granularity": "1 hour",
|
2215 |
+
"datacellar:timeseriesDataPoints": [
|
2216 |
{
|
2217 |
"@type": "datacellar:DataPoint",
|
2218 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
|
|
2460 |
"datacellar:datasetFieldID": 10,
|
2461 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
2462 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
2463 |
+
"datacellar:latitude": 40.7128,
|
2464 |
+
"datacellar:longitude": -74.006,
|
2465 |
"datacellar:granularity": "1 hour",
|
2466 |
+
"datacellar:timeseriesDataPoints": [
|
2467 |
{
|
2468 |
"@type": "datacellar:DataPoint",
|
2469 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
|
|
2711 |
"datacellar:datasetFieldID": 11,
|
2712 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
2713 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
2714 |
+
"datacellar:latitude": 40.7128,
|
2715 |
+
"datacellar:longitude": -74.006,
|
2716 |
"datacellar:granularity": "1 hour",
|
2717 |
+
"datacellar:timeseriesDataPoints": [
|
2718 |
{
|
2719 |
"@type": "datacellar:DataPoint",
|
2720 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
|
|
2962 |
"datacellar:datasetFieldID": 12,
|
2963 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
2964 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
2965 |
+
"datacellar:latitude": 40.7128,
|
2966 |
+
"datacellar:longitude": -74.006,
|
2967 |
"datacellar:granularity": "1 hour",
|
2968 |
+
"datacellar:timeseriesDataPoints": [
|
2969 |
{
|
2970 |
"@type": "datacellar:DataPoint",
|
2971 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
|
|
3213 |
"datacellar:datasetFieldID": 13,
|
3214 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
3215 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
3216 |
+
"datacellar:latitude": 40.7128,
|
3217 |
+
"datacellar:longitude": -74.006,
|
3218 |
"datacellar:granularity": "1 hour",
|
3219 |
+
"datacellar:timeseriesDataPoints": [
|
3220 |
{
|
3221 |
"@type": "datacellar:DataPoint",
|
3222 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
|
|
3464 |
"datacellar:datasetFieldID": 14,
|
3465 |
"datacellar:startDate": "2010-07-01 00:00:00",
|
3466 |
"datacellar:endDate": "2011-06-30 23:00:00",
|
3467 |
+
"datacellar:latitude": 40.7128,
|
3468 |
+
"datacellar:longitude": -74.006,
|
3469 |
"datacellar:granularity": "1 hour",
|
3470 |
+
"datacellar:timeseriesDataPoints": [
|
3471 |
{
|
3472 |
"@type": "datacellar:DataPoint",
|
3473 |
"datacellar:timeStamp": "2010-07-01 00:00:00",
|
samples/4_NILM.json
CHANGED
@@ -15,11 +15,10 @@
|
|
15 |
"@type": "datacellar:DatasetField",
|
16 |
"datacellar:datasetFieldID": 1,
|
17 |
"datacellar:fieldName": "consumedPower",
|
18 |
-
"datacellar:
|
19 |
-
"datacellar:timeseriesMetadataType": "datacellar:EnergyMeter",
|
20 |
"datacellar:type": {
|
21 |
"@type": "datacellar:FieldType",
|
22 |
-
"datacellar:
|
23 |
"datacellar:averagable": true,
|
24 |
"datacellar:summable": false,
|
25 |
"datacellar:anonymizable": false
|
@@ -33,9 +32,11 @@
|
|
33 |
"datacellar:datasetFieldID": 1,
|
34 |
"datacellar:startDate": "2013-05-26 09:00:30",
|
35 |
"datacellar:endDate": "2013-05-26 12:20:24",
|
|
|
|
|
36 |
"datacellar:timeZone": 0,
|
37 |
"datacellar:granularity": "6 seconds",
|
38 |
-
"datacellar:
|
39 |
{
|
40 |
"@type": "datacellar:DataPoint",
|
41 |
"datacellar:timeStamp": "2013-05-26 09:00:34",
|
@@ -9711,13 +9712,7 @@
|
|
9711 |
"datacellar:timeStamp": "2013-05-26 12:20:19",
|
9712 |
"datacellar:value": 408
|
9713 |
}
|
9714 |
-
]
|
9715 |
-
"datacellar:timeSeriesMetadata":{
|
9716 |
-
"@type":"datacellar:EnergyMeter",
|
9717 |
-
"datacellar:deviceID":1,
|
9718 |
-
"datacellar:loadType":"aggregate",
|
9719 |
-
"datacellar:programmable":false
|
9720 |
-
}
|
9721 |
}
|
9722 |
],
|
9723 |
"datacellar:datasetMetadataList": [
|
|
|
15 |
"@type": "datacellar:DatasetField",
|
16 |
"datacellar:datasetFieldID": 1,
|
17 |
"datacellar:fieldName": "consumedPower",
|
18 |
+
"datacellar:fieldDescription": "Aggregate consumption metric",
|
|
|
19 |
"datacellar:type": {
|
20 |
"@type": "datacellar:FieldType",
|
21 |
+
"datacellar:unit": "W",
|
22 |
"datacellar:averagable": true,
|
23 |
"datacellar:summable": false,
|
24 |
"datacellar:anonymizable": false
|
|
|
32 |
"datacellar:datasetFieldID": 1,
|
33 |
"datacellar:startDate": "2013-05-26 09:00:30",
|
34 |
"datacellar:endDate": "2013-05-26 12:20:24",
|
35 |
+
"datacellar:latitude": 40.7128,
|
36 |
+
"datacellar:longitude": -74.006,
|
37 |
"datacellar:timeZone": 0,
|
38 |
"datacellar:granularity": "6 seconds",
|
39 |
+
"datacellar:timeseriesDataPoints": [
|
40 |
{
|
41 |
"@type": "datacellar:DataPoint",
|
42 |
"datacellar:timeStamp": "2013-05-26 09:00:34",
|
|
|
9712 |
"datacellar:timeStamp": "2013-05-26 12:20:19",
|
9713 |
"datacellar:value": 408
|
9714 |
}
|
9715 |
+
]
|
|
|
|
|
|
|
|
|
|
|
|
|
9716 |
}
|
9717 |
],
|
9718 |
"datacellar:datasetMetadataList": [
|
samples/5_anomaly_detection_consumption.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
samples/6_anomaly_detection_production.json
CHANGED
@@ -15,11 +15,11 @@
|
|
15 |
"@type": "datacellar:DatasetField",
|
16 |
"datacellar:datasetFieldID": 1,
|
17 |
"datacellar:fieldName": "generatedEnergy",
|
18 |
-
"datacellar:
|
19 |
"datacellar:timeseriesMetadataType": "",
|
20 |
"datacellar:type": {
|
21 |
"@type": "datacellar:FieldType",
|
22 |
-
"datacellar:
|
23 |
"datacellar:averagable": true,
|
24 |
"datacellar:summable": false,
|
25 |
"datacellar:anonymizable": false
|
@@ -33,9 +33,11 @@
|
|
33 |
"datacellar:datasetFieldID": 1,
|
34 |
"datacellar:startDate": "2023-05-22 00:00:00",
|
35 |
"datacellar:endDate": "2023-06-05 23:00:00",
|
|
|
|
|
36 |
"datacellar:timeZone": 0,
|
37 |
"datacellar:granularity": "1 hour",
|
38 |
-
"datacellar:
|
39 |
{
|
40 |
"@type": "datacellar:DataPoint",
|
41 |
"datacellar:timeStamp": "2023-05-22 00:00:00",
|
|
|
15 |
"@type": "datacellar:DatasetField",
|
16 |
"datacellar:datasetFieldID": 1,
|
17 |
"datacellar:fieldName": "generatedEnergy",
|
18 |
+
"datacellar:fieldDescription": "Generated energy",
|
19 |
"datacellar:timeseriesMetadataType": "",
|
20 |
"datacellar:type": {
|
21 |
"@type": "datacellar:FieldType",
|
22 |
+
"datacellar:unit": "kWh",
|
23 |
"datacellar:averagable": true,
|
24 |
"datacellar:summable": false,
|
25 |
"datacellar:anonymizable": false
|
|
|
33 |
"datacellar:datasetFieldID": 1,
|
34 |
"datacellar:startDate": "2023-05-22 00:00:00",
|
35 |
"datacellar:endDate": "2023-06-05 23:00:00",
|
36 |
+
"datacellar:latitude": 40.7128,
|
37 |
+
"datacellar:longitude": -74.006,
|
38 |
"datacellar:timeZone": 0,
|
39 |
"datacellar:granularity": "1 hour",
|
40 |
+
"datacellar:timeseriesDataPoints": [
|
41 |
{
|
42 |
"@type": "datacellar:DataPoint",
|
43 |
"datacellar:timeStamp": "2023-05-22 00:00:00",
|
utils.py
CHANGED
@@ -22,7 +22,7 @@ def get_series_name_and_unit(series, dataset_description):
|
|
22 |
if f['datacellar:datasetFieldID'] == field_id), None)
|
23 |
|
24 |
name = field['datacellar:fieldName'] if field else f'Series {field_id}'
|
25 |
-
unit = field['datacellar:type']['datacellar:
|
26 |
|
27 |
# Override name if metadata contains loadType
|
28 |
if 'datacellar:timeSeriesMetadata' in series:
|
@@ -45,7 +45,7 @@ def process_series(series, dataset_description, is_input=False):
|
|
45 |
tuple: (DataFrame, unit, name) of the processed series
|
46 |
"""
|
47 |
name, unit = get_series_name_and_unit(series, dataset_description)
|
48 |
-
df = pd.DataFrame(series['datacellar:
|
49 |
|
50 |
# Convert timestamp to datetime and ensure values are numeric
|
51 |
df['datacellar:timeStamp'] = pd.to_datetime(df['datacellar:timeStamp'])
|
@@ -68,7 +68,7 @@ def load_and_process_data(json_data, input_data=None):
|
|
68 |
"@type": "datacellar:DatasetField",
|
69 |
"datacellar:datasetFieldID": 0,
|
70 |
"datacellar:fieldName": "anomaly",
|
71 |
-
"datacellar:
|
72 |
"datacellar:type": {
|
73 |
"@type": "datacellar:boolean",
|
74 |
"datacellar:unitText": "-"
|
@@ -79,7 +79,7 @@ def load_and_process_data(json_data, input_data=None):
|
|
79 |
try:
|
80 |
for series in json_data['datacellar:timeSeriesList']:
|
81 |
# Check if series has any data points
|
82 |
-
if series.get('datacellar:
|
83 |
df, unit, _ = process_series(series, dataset_description)
|
84 |
# Additional check for non-empty DataFrame
|
85 |
if not df.empty and df['datacellar:value'].notna().any():
|
@@ -93,7 +93,7 @@ def load_and_process_data(json_data, input_data=None):
|
|
93 |
if input_data:
|
94 |
input_description = input_data['datacellar:datasetSelfDescription']
|
95 |
for series in input_data['datacellar:timeSeriesList']:
|
96 |
-
if series.get('datacellar:
|
97 |
df, unit, _ = process_series(series, input_description, is_input=True)
|
98 |
if not df.empty and df['datacellar:value'].notna().any():
|
99 |
if unit not in series_by_unit:
|
|
|
22 |
if f['datacellar:datasetFieldID'] == field_id), None)
|
23 |
|
24 |
name = field['datacellar:fieldName'] if field else f'Series {field_id}'
|
25 |
+
unit = field['datacellar:type']['datacellar:unit'] if field else 'Unknown'
|
26 |
|
27 |
# Override name if metadata contains loadType
|
28 |
if 'datacellar:timeSeriesMetadata' in series:
|
|
|
45 |
tuple: (DataFrame, unit, name) of the processed series
|
46 |
"""
|
47 |
name, unit = get_series_name_and_unit(series, dataset_description)
|
48 |
+
df = pd.DataFrame(series['datacellar:timeseriesDataPoints'])
|
49 |
|
50 |
# Convert timestamp to datetime and ensure values are numeric
|
51 |
df['datacellar:timeStamp'] = pd.to_datetime(df['datacellar:timeStamp'])
|
|
|
68 |
"@type": "datacellar:DatasetField",
|
69 |
"datacellar:datasetFieldID": 0,
|
70 |
"datacellar:fieldName": "anomaly",
|
71 |
+
"datacellar:fieldDescription": "Anomalies",
|
72 |
"datacellar:type": {
|
73 |
"@type": "datacellar:boolean",
|
74 |
"datacellar:unitText": "-"
|
|
|
79 |
try:
|
80 |
for series in json_data['datacellar:timeSeriesList']:
|
81 |
# Check if series has any data points
|
82 |
+
if series.get('datacellar:timeseriesDataPoints'):
|
83 |
df, unit, _ = process_series(series, dataset_description)
|
84 |
# Additional check for non-empty DataFrame
|
85 |
if not df.empty and df['datacellar:value'].notna().any():
|
|
|
93 |
if input_data:
|
94 |
input_description = input_data['datacellar:datasetSelfDescription']
|
95 |
for series in input_data['datacellar:timeSeriesList']:
|
96 |
+
if series.get('datacellar:timeseriesDataPoints'):
|
97 |
df, unit, _ = process_series(series, input_description, is_input=True)
|
98 |
if not df.empty and df['datacellar:value'].notna().any():
|
99 |
if unit not in series_by_unit:
|