Skip to content

Commit

Permalink
Add more data exploration scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
adeveloper-wq committed Nov 24, 2023
1 parent e349e5f commit faeabee
Show file tree
Hide file tree
Showing 5 changed files with 117 additions and 8 deletions.
10 changes: 8 additions & 2 deletions studies/db/go_rewrite/main.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
package main

import (
"studies/runner"
"studies/things"
)

func main() {
runner.Run()
// runner.Run()
// times.DebugPrint()
//times.DebugPrint()
// Wait forever.
// select {}

tp := things.NewThingsProvider(false)
tp.FilterOnlyPrimarySignalSecondarySignalAndCycleSecondDatastreams()
tldThings := tp.Things
println("Processing", len(tldThings), "things")

}
5 changes: 5 additions & 0 deletions studies/db/go_rewrite/notebooks/meta_stats.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"cs_observation_count_total": 961136904,
"ps_observation_count_total": 1171647438,
"things_with_observations": 18104
}
4 changes: 2 additions & 2 deletions studies/db/go_rewrite/notebooks/studies_charts_meta.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 2,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -50,7 +50,7 @@
"import collections\n",
"import matplotlib.gridspec as gridspec\n",
"\n",
"with open('processed_things_2023_11_21_2.json') as f:\n",
"with open('processed_things_2023_11_24.json') as f:\n",
" processed_things = json.load(f)\n",
"\n",
"# Stats\n",
Expand Down
Loading

0 comments on commit faeabee

Please sign in to comment.