0.1.2 • Published 8 years ago

weathernormalize v0.1.2

Weekly downloads
1
License
MIT
Repository
-
Last release
8 years ago

Weather Normalize Energy Data

Install

npm i --save weathernormalize

Normalize Energy Data

Requries data, monthly temperature, and montly climate normal. Returns array of temperature, energy, normalization Ratios and normalized energy data at monthly levels

normalized requires choice between 'heating', 'cooling' and 'electricity' modes

const {normalize} = require('weathernormalize');
var data = [{ 
	date: 1422766800000,
    temperature: 27.34794642857143,
    climateNormal: 47.4,
    energy: 39800.48199884797
    }, ...];
// normalize(data, type, startDate)
let normalizedData = normalize(data, 'electricity', new Date(1422766800000));
console.log(normalizedData);

Test

npm test

© Nicholas Mattise, 2017

MIT LICENSE

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago