Example #1
0
 def setUp(self):
     '''Set the reference values for eaBase
     '''
     self.tMin = 18
     self.tMax=25
     self.rhmean=0.68
     self.eapoor=eaPoor(self.tMin,self.tMax,self.rhmean)
Example #2
0
 def calculateEaPoor(self):
  '''This method will calculate the
  ea poor when given the appropriate data
  '''
  print "You have selected EaPoor calculation"
  tmax = float(raw_input("Insert Tmax: "))
  
  tmin = float(raw_input("Insert Tmin: "))
  
  rh = float(raw_input("Insert RH: "))
  
  eaPoorCalculated=eaPoor(tmin,tmax,rh)
  print eaPoorCalculated.calc_ea()