This function reads poes data from the NOAA NGDC 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.sat.mapPoesMongo(2004)
written by AJ, 20130131
This function reads POES TED data with in +/- 45min of the given time, fits the auroral oval boundaries and overlays them on a map object. The poleward boundary is not accurate all the times due to lesser number of satellite passes identifying it.
startTime (datetime or None): the starttime you want data for. If endTime is not given overlays data from satellites with in +/- 45 min of the startTime
[coords] (list or None): Coordinates of the map object on which you want data to be overlayed on. Default ‘geo’
[hemi] (list or None): Hemisphere of the map object on which you want data to be overlayed on. Value is 1 for northern hemisphere and -1 for the southern hemisphere.Default 1
import datetime as dt
poesList = gme.sat.overlayPoesTed(MapObj, sTime=dt.datetime(2011,3,4,4))
written by Bharat Kunduri, 20130216
This function overlays POES TED data onto a map object.
[folat] (list or None): if this is not None, it must be a 2-element list of numbers, [a,b]. In this case, only data with latitude values in the range [a,b] will be returned. default = None
import datetime as dt
poesList = gme.sat.overlayPoesTed(MapObj, sTime=dt.datetime(2011,3,4,4))
written by Bharat Kunduri, 20130216
a class to represent a record of poes data. Extends gmeBase.gmeData. Insight on the class members can be obtained from the NOAA NGDC site. Note that Poes data is available from 1998-present day (or whatever the latest NOAA has uploaded is). The data are the 16-second averages
Note
If any of the members have a value of None, this means that they could not be read for that specific time
emptyPoesObj = gme.sat.poesRec()
written by AJ, 20130131
This method is used to convert a line of poes data read from the NOAA NGDC FTP site into a poesRec object.
Note
In general, users will not need to worry about this.
Belongs to: poesRec
myPoesObj.parseFtp(ftpLine)
written by AJ, 20130131
This function reads poes data. First, it will try to get it from the mongodb, and if it can’t find it, it will look on the NOAA NGDC FTP server using readPoesFtp(). The data are 16-second averages
import datetime as dt
poesList = gme.sat.readPoes(sTime=dt.datetime(2011,1,1),eTime=dt.datetime(2011,6,1),folat=[60,80])
written by AJ, 20130131
This function reads poes data from the NOAA NGDC server via anonymous FTP connection.
Warning
You should not use this. Use the general function readPoes() instead.
import datetime as dt
poesList = gme.sat.readpoesFtp(dt.datetime(2011,1,1,1,50),eTime=dt.datetime(2011,1,1,10,0))
written by AJ, 20130128
alias of gme.sat.poes