Ejemplo n.º 1
0
 def __init__(self, **kwargs):  ## This function chooses how to initialize the time
     ## the program will use to download the data
     Grids.__init__(self, **kwargs)
     gmt = gmtime.gmtime()
     self.year = str(gmt[0])
     self.month = str(gmt[1]).zfill(2)
     self.day = str(gmt[2]).zfill(2)
     self.hour = str(gmt[3]).zfill(2)
     datestring = self.year[-2:] + self.month + self.day + self.hour
     self.cycle = datestring
Ejemplo n.º 2
0
 def __init__(
         self,
         **kwargs):  ## This function chooses how to initialize the time
     ## the program will use to download the data
     Grids.__init__(self, **kwargs)
     gmt = gmtime.gmtime()
     self.year = str(gmt[0])
     self.month = str(gmt[1]).zfill(2)
     self.day = str(gmt[2]).zfill(2)
     self.hour = str(gmt[3]).zfill(2)
     datestring = self.year[-2:] + self.month + self.day + self.hour
     self.cycle = datestring
Ejemplo n.º 3
0
 def __init__(self, **kwargs):
     Grids.__init__(self, **kwargs)
     self.area = kwargs.get('area', 'CONUS')
     self.StationIDs = self.StationDict.keys()
Ejemplo n.º 4
0
 def __init__( self, **kwargs ):
   Grids.__init__( self, **kwargs ) 
   self.area = kwargs.get( 'area', 'CONUS' )
   self.StationIDs = self.StationDict.keys()