Beispiel #1
0
def test_wind():
    """
    Tests for imporitng wind data.

    Currently only try to download a single day's data for each product.
    """
    starttime = datetime(2010, 1, 1, 0, 0, 0)
    endtime = datetime(2010, 1, 1, 23, 59, 59)

    wind.mfi_h0(starttime, endtime)
    wind.threedp_pm(starttime, endtime)
    wind.swe_h3(starttime, endtime)
Beispiel #2
0
 def test_threedp_pm(self):
     df = wind.threedp_pm(self.starttime, self.endtime)
     check_data_output(df)
Beispiel #3
0
 def test_threedp_pm(self):
     df = wind.threedp_pm(self.starttime, self.endtime)
     check_datetime_index(df)