def test_convert_csv_to_hdf_yearindex(self):
		a = BACIConstructor(source_dir=SOURCE_DIR, src_class="HS02", skip_setup=True, verbose=True)
		a.convert_csv_to_hdf_yearindex(years=[2005,2006]) 																#hdf_fn='test_csv_to_hdf_yearindex.h5'
		b = BACIConstructor(source_dir=SOURCE_DIR, src_class="HS02", years=[2005,2006], verbose=True)


	# @classmethod
	# def tearDownClass(cls):
	# 	"""
	# 	Remove Generated Test Files if named differently to defaults
	# 	"""
	# 	pass
示例#2
0
    def test_convert_csv_to_hdf_yearindex(self):
        a = BACIConstructor(source_dir=SOURCE_DIR,
                            src_class="HS02",
                            skip_setup=True,
                            verbose=True)
        a.convert_csv_to_hdf_yearindex(
            years=[2005, 2006])  #hdf_fn='test_csv_to_hdf_yearindex.h5'
        b = BACIConstructor(source_dir=SOURCE_DIR,
                            src_class="HS02",
                            years=[2005, 2006],
                            verbose=True)

    # @classmethod
    # def tearDownClass(cls):
    # 	"""
    # 	Remove Generated Test Files if named differently to defaults
    # 	"""
    # 	pass