コード例 #1
0
def test_cluster():
    if config['DEFAULT']['cluster_cookie'] != 'none':
        probe = '2'
        starttime = datetime(2004, 6, 18, 11, 35, 0)
        endtime = datetime(2004, 6, 19, 18, 35, 0)
        cluster.fgm(probe, starttime, endtime)

        starttime = datetime(2009, 12, 22, 4, 0, 0)
        endtime = datetime(2009, 12, 22, 6)
        cluster.peace_moments(probe, starttime, endtime)

        probe = '3'
        starttime = datetime(2009, 1, 1, 0, 0, 0)
        endtime = datetime(2009, 1, 1, 2, 0, 0)
        cluster.cis_hia_onboard_moms(probe, starttime, endtime)
コード例 #2
0
ファイル: test_data.py プロジェクト: tulasinandan/heliopy
 def test_peace_moments(self):
     starttime = datetime(2009, 12, 22, 4, 0, 0)
     endtime = datetime(2009, 12, 22, 6)
     df = cluster.peace_moments(self.probe, starttime, endtime)
     check_data_output(df)