openstudio-standards 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 748c3d2973b4e481be8c66360823ad0c2498a3ac70225379d70afb8fcb6df529
|
4
|
+
data.tar.gz: 348ed8194710292232687d91f920c519611d41ca845a30928f6cf3fd3767e711
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aaad2a85809fcb0eace0bb4ba30cbd2f31c1234d36818084e85f85f7700469f2547a56122378d6e74f6aedf16d342e57dd757341abf731b920be994d6d95767b
|
7
|
+
data.tar.gz: 926f9cb66ecf85fdaa4954f2b2a0e9674502e591180ea169206bff92ea27464a0fbab6351a5136fbac1c64e3c4c9dc637273b3645b70b07e17979845d3a6290a
|
Binary file
|
@@ -202,7 +202,7 @@ module OpenstudioStandards
|
|
202
202
|
stat_string = load_resource_relative("../../../data/weather/#{weather_file_name.gsub('.epw', '.stat')}")
|
203
203
|
|
204
204
|
# extract to local weather dir
|
205
|
-
weather_dir = File.expand_path(File.join(
|
205
|
+
weather_dir = File.expand_path(File.join(Dir.pwd, 'extracted_files/weather/'))
|
206
206
|
OpenStudio.logFree(OpenStudio::Info, 'openstudio.standards.Weather.information', "Extracting weather files from OpenStudio CLI to #{weather_dir}")
|
207
207
|
FileUtils.mkdir_p(weather_dir)
|
208
208
|
|
@@ -210,15 +210,15 @@ module OpenstudioStandards
|
|
210
210
|
if path_length > 260
|
211
211
|
OpenStudio.logFree(OpenStudio::Warn, 'openstudio.standards.Weather.information', "Weather file path length #{path_length} is >260 characters and may cause issues in Windows environments.")
|
212
212
|
end
|
213
|
-
File.open("#{weather_dir}/#{weather_file_name}", 'wb')
|
213
|
+
File.open("#{weather_dir}/#{weather_file_name}", 'wb') do |f|
|
214
214
|
f << epw_string
|
215
215
|
f.flush
|
216
216
|
end
|
217
|
-
File.open("#{weather_dir}/#{weather_file_name.gsub('.epw', '.ddy')}", 'wb')
|
217
|
+
File.open("#{weather_dir}/#{weather_file_name.gsub('.epw', '.ddy')}", 'wb') do |f|
|
218
218
|
f << ddy_string
|
219
219
|
f.flush
|
220
220
|
end
|
221
|
-
File.open("#{weather_dir}/#{weather_file_name.gsub('.epw', '.stat')}", 'wb')
|
221
|
+
File.open("#{weather_dir}/#{weather_file_name.gsub('.epw', '.stat')}", 'wb') do |f|
|
222
222
|
f << stat_string
|
223
223
|
f.flush
|
224
224
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstudio-standards
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Adams
|
@@ -39,7 +39,7 @@ authors:
|
|
39
39
|
autorequire:
|
40
40
|
bindir: bin
|
41
41
|
cert_chain: []
|
42
|
-
date: 2024-
|
42
|
+
date: 2024-12-13 00:00:00.000000000 Z
|
43
43
|
dependencies:
|
44
44
|
- !ruby/object:Gem::Dependency
|
45
45
|
name: bundler
|
@@ -598,7 +598,7 @@ files:
|
|
598
598
|
- data/geometry/DOERefWarehouse.json
|
599
599
|
- data/geometry/DOERefWarehouse.osm
|
600
600
|
- data/inventory/thermal_bridging.csv
|
601
|
-
- data/standards/OpenStudio_Standards-ashrae_90_1.xlsx
|
601
|
+
- data/standards/OpenStudio_Standards-ashrae_90_1-ALL-comstock(space_types).xlsx
|
602
602
|
- data/standards/exclude_list.csv
|
603
603
|
- data/standards/export_OpenStudio_libraries.rb
|
604
604
|
- data/standards/manage_OpenStudio_Standards.rb
|
Binary file
|