Skip to content
Snippets Groups Projects
Commit 3375a841 authored by Peter Morstein's avatar Peter Morstein
Browse files

initial upload

parents
No related branches found
No related tags found
No related merge requests found
File added
File added
File added
File added
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Jun 22 23:30:28 2021
@author: geopeter
"""
import unittest
import pickle
import numpy as np
import DwdAcquisition as cut
class TestDwdAcquisition(unittest.TestCase):
def _testLoadTemperatureFromDWDGauges(self):
global annualData
cut.loadTemperatureFromDWDGauges()
with open("stationList_temps.pickle", "rb") as pickleFile:
annualData = pickle.load(pickleFile)
def _testLoadDWDGauges(self):
global stationList
stationList = cut.loadDWDGauges()
def _testFillMissingData(self):
with open("annualData.pickle", "rb") as testFile:
global annualData
annualData = pickle.load(testFile)
annualData = cut.fillMissingData(annualData)
print(annualData)
if __name__ == '__main__':
unittest.main()
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment