ppegusii / egauge-data Goto Github PK
View Code? Open in Web Editor NEWGreen computing project
License: GNU General Public License v2.0
Green computing project
License: GNU General Public License v2.0
For those who haven't used it before or who want a refresher, this is a nice short tutorial.
@toaditipatel
@sansaldo
@Seth14
@TylerBeauregard
@toaditipatel
@Seth14
@GithubVik
What format will the metadata (Label, egauge name, and such) be in, I don't really have a preference, so which ever is better for you guys.
Please take a look at some sample CSV files uploaded here. Think about how we can parse these files (representing one eGauge) to create one file for each device connected to the eGauge. So, step by step, how would you do it? Remember we will need to translate or map the description of the device to a label, like description="A/C" to label="air conditioner". What parts of the existing code can be reused?
Let's discuss this tomorrow 7/7 when everyone gets in.
# example class
In [1]: class Metadata():
def __init__(self,attr1,attr2):
self.attr1 = attr1
self.attr2 = attr2
...:
# construct object
In [2]: m = Metadata('test1','test2')
# convert object to JSON
In [3]: import json
In [4]: json.dumps(m.__dict__)
Out[4]: '{"attr2": "test2", "attr1": "test1"}'
In [5]:
Here is last summer's code from Tyler.
@toaditipatel
@sansaldo
@Seth14
@TylerBeauregard
I dug up some example code on reading a CSV file:
with open(fileName, 'rb') as csvFile:
reader = csv.reader(csvFile, delimiter=',', quotechar='"')
@Seth14
@akdhankh12
@toaditipatel
Try specifying Z=LST5LDT4%2CM3.2.0%2F02%3A00%2CM11.1.0%2F02%3A00
in the query.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.