0.0.6 • Published 8 years ago

aurora-probability-calculation v0.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

aurora-probability-calculation

A library to get the probability of an northern light event for a specific location and a given kpIndex #Installation

  npm install aurora-probability-calculation

#Example

import {predict} from "aurora-probability-calculation"

const gLat = 55.60; // Geomagnatic latitude Malmö, Schweden , see https://en.wikipedia.org/wiki/Geomagnetic_lat
const kpIndex = 6; // Kp Index see  http://www.swpc.noaa.gov/products/planetary-k-index

predict(gLat,kpIndex).then((result)=>{
  console.log("Probability for the gLat " + gLat + " and kpIndex of: " + kpIndex + " is ===> ", result)
}).catch((e)=>{
  console.error(e)
});

//Output: Probability for the gLat 55.6 and kpIndex of: 6 is ===>  0.8988385082835078

#Prediction method I tried several solutions all based on some kind of learning algorithm for example you find in this repository implementations of the following libaries:

#Licence

  • MIT
0.0.6

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