a class to represent a day of kp data. Extends gme.base.gmeBase.gmeData Insight on the class members can be obtained from the NOAA FTP site
Note
If any of the members have a value of None, this means that they could not be read for that specific date
emptyKpObj = gme.ind.kpDay()
written by AJ, 20130123
This method is used to convert a line of kp data read from the GFZ-Potsdam FTP site into a kpDay object. In general, users will not need to worry about this.
Belongs to: gme.ind.kp.kpDay
myKpDayObj.parseFtp(ftpLine,2009)
written by AJ, 20130123
This function reads kp data from the GFZ Potsdam FTP server via anonymous FTP connection and maps it to the mongodb.
Warning
In general, nobody except the database admins will need to use this function
gme.ind.mapKpMongo(1985,eTime=1986)
written by AJ, 20130123
This function reads kp data. First, it will try to get it from the mongodb, and if it can’t find it, it will look on the GFZ ftp server using gme.ind.kp.readKpFtp()
import datetime as dt
kpList = gme.ind.readKp(sTime=dt.datetime(2011,1,1),eTime=dt.datetime(2011,6,1),kpMin=2,apMin=1,kpSum=[0,10],apMean=[0,50],sunspot=[6,100])
written by AJ, 20130123
This function reads kp data from the GFZ Potsdam FTP server via anonymous FTP connection. This cannot read across year boundaries.
Warning
You should not be using this function. use readKp instead.
import datetime as dt
kpList = gme.ind.readKpFtp(sTime=dt.datetime(2011,1,1),eTime=dt.datetime(2011,6,1))
written by AJ, 20130123
alias of gme.ind.kp