Method: OpenStudio::Weather::Epw#initialize

Defined in:
lib/openstudio/weather/epw.rb

#initialize(filename) ⇒ Epw

Returns a new instance of Epw.



25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# File 'lib/openstudio/weather/epw.rb', line 25

def initialize(filename)
  @filename = filename
  @city = ''
  @state = ''
  @country = ''
  @data_type = ''
  @wmo = ''
  @lat = ''
  @lon = ''
  @gmt = ''
  @elevation = ''
  @valid = false

  @header_data = []
  @weather_data = []
  process_header
end