repository_name
stringlengths 7
55
| func_path_in_repository
stringlengths 4
223
| func_name
stringlengths 1
134
| whole_func_string
stringlengths 75
104k
| language
stringclasses 1
value | func_code_string
stringlengths 75
104k
| func_code_tokens
listlengths 19
28.4k
| func_documentation_string
stringlengths 1
46.9k
| func_documentation_tokens
listlengths 1
1.97k
| split_name
stringclasses 1
value | func_code_url
stringlengths 87
315
|
|---|---|---|---|---|---|---|---|---|---|---|
rbuffat/pyepw
|
pyepw/epw.py
|
Location.state_province_region
|
def state_province_region(self, value=None):
"""Corresponds to IDD Field `state_province_region`
Args:
value (str): value for IDD Field `state_province_region`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError(
'value {} need to be of type str '
'for field `state_province_region`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `state_province_region`')
self._state_province_region = value
|
python
|
def state_province_region(self, value=None):
"""Corresponds to IDD Field `state_province_region`
Args:
value (str): value for IDD Field `state_province_region`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError(
'value {} need to be of type str '
'for field `state_province_region`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `state_province_region`')
self._state_province_region = value
|
[
"def",
"state_province_region",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type str '",
"'for field `state_province_region`'",
".",
"format",
"(",
"value",
")",
")",
"if",
"','",
"in",
"value",
":",
"raise",
"ValueError",
"(",
"'value should not contain a comma '",
"'for field `state_province_region`'",
")",
"self",
".",
"_state_province_region",
"=",
"value"
] |
Corresponds to IDD Field `state_province_region`
Args:
value (str): value for IDD Field `state_province_region`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"state_province_region"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L135-L158
|
rbuffat/pyepw
|
pyepw/epw.py
|
Location.country
|
def country(self, value=None):
"""Corresponds to IDD Field `country`
Args:
value (str): value for IDD Field `country`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError('value {} need to be of type str '
'for field `country`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `country`')
self._country = value
|
python
|
def country(self, value=None):
"""Corresponds to IDD Field `country`
Args:
value (str): value for IDD Field `country`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError('value {} need to be of type str '
'for field `country`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `country`')
self._country = value
|
[
"def",
"country",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type str '",
"'for field `country`'",
".",
"format",
"(",
"value",
")",
")",
"if",
"','",
"in",
"value",
":",
"raise",
"ValueError",
"(",
"'value should not contain a comma '",
"'for field `country`'",
")",
"self",
".",
"_country",
"=",
"value"
] |
Corresponds to IDD Field `country`
Args:
value (str): value for IDD Field `country`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"country"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L171-L193
|
rbuffat/pyepw
|
pyepw/epw.py
|
Location.source
|
def source(self, value=None):
"""Corresponds to IDD Field `source`
Args:
value (str): value for IDD Field `source`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError('value {} need to be of type str '
'for field `source`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `source`')
self._source = value
|
python
|
def source(self, value=None):
"""Corresponds to IDD Field `source`
Args:
value (str): value for IDD Field `source`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError('value {} need to be of type str '
'for field `source`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `source`')
self._source = value
|
[
"def",
"source",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type str '",
"'for field `source`'",
".",
"format",
"(",
"value",
")",
")",
"if",
"','",
"in",
"value",
":",
"raise",
"ValueError",
"(",
"'value should not contain a comma '",
"'for field `source`'",
")",
"self",
".",
"_source",
"=",
"value"
] |
Corresponds to IDD Field `source`
Args:
value (str): value for IDD Field `source`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"source"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L206-L228
|
rbuffat/pyepw
|
pyepw/epw.py
|
Location.wmo
|
def wmo(self, value=None):
"""Corresponds to IDD Field `wmo` usually a 6 digit field. Used as
alpha in EnergyPlus.
Args:
value (str): value for IDD Field `wmo`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError('value {} need to be of type str '
'for field `wmo`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `wmo`')
self._wmo = value
|
python
|
def wmo(self, value=None):
"""Corresponds to IDD Field `wmo` usually a 6 digit field. Used as
alpha in EnergyPlus.
Args:
value (str): value for IDD Field `wmo`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError('value {} need to be of type str '
'for field `wmo`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `wmo`')
self._wmo = value
|
[
"def",
"wmo",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type str '",
"'for field `wmo`'",
".",
"format",
"(",
"value",
")",
")",
"if",
"','",
"in",
"value",
":",
"raise",
"ValueError",
"(",
"'value should not contain a comma '",
"'for field `wmo`'",
")",
"self",
".",
"_wmo",
"=",
"value"
] |
Corresponds to IDD Field `wmo` usually a 6 digit field. Used as
alpha in EnergyPlus.
Args:
value (str): value for IDD Field `wmo`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"wmo",
"usually",
"a",
"6",
"digit",
"field",
".",
"Used",
"as",
"alpha",
"in",
"EnergyPlus",
"."
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L241-L264
|
rbuffat/pyepw
|
pyepw/epw.py
|
Location.latitude
|
def latitude(self, value=0.0):
"""Corresponds to IDD Field `latitude`
+ is North, - is South, degree minutes represented in decimal (i.e. 30 minutes is .5)
Args:
value (float): value for IDD Field `latitude`
Unit: deg
Default value: 0.0
value >= -90.0
value <= 90.0
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `latitude`'.format(value))
if value < -90.0:
raise ValueError('value need to be greater or equal -90.0 '
'for field `latitude`')
if value > 90.0:
raise ValueError('value need to be smaller 90.0 '
'for field `latitude`')
self._latitude = value
|
python
|
def latitude(self, value=0.0):
"""Corresponds to IDD Field `latitude`
+ is North, - is South, degree minutes represented in decimal (i.e. 30 minutes is .5)
Args:
value (float): value for IDD Field `latitude`
Unit: deg
Default value: 0.0
value >= -90.0
value <= 90.0
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `latitude`'.format(value))
if value < -90.0:
raise ValueError('value need to be greater or equal -90.0 '
'for field `latitude`')
if value > 90.0:
raise ValueError('value need to be smaller 90.0 '
'for field `latitude`')
self._latitude = value
|
[
"def",
"latitude",
"(",
"self",
",",
"value",
"=",
"0.0",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `latitude`'",
".",
"format",
"(",
"value",
")",
")",
"if",
"value",
"<",
"-",
"90.0",
":",
"raise",
"ValueError",
"(",
"'value need to be greater or equal -90.0 '",
"'for field `latitude`'",
")",
"if",
"value",
">",
"90.0",
":",
"raise",
"ValueError",
"(",
"'value need to be smaller 90.0 '",
"'for field `latitude`'",
")",
"self",
".",
"_latitude",
"=",
"value"
] |
Corresponds to IDD Field `latitude`
+ is North, - is South, degree minutes represented in decimal (i.e. 30 minutes is .5)
Args:
value (float): value for IDD Field `latitude`
Unit: deg
Default value: 0.0
value >= -90.0
value <= 90.0
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"latitude"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L277-L308
|
rbuffat/pyepw
|
pyepw/epw.py
|
Location.longitude
|
def longitude(self, value=0.0):
"""Corresponds to IDD Field `longitude`
- is West, + is East, degree minutes represented in decimal (i.e. 30 minutes is .5)
Args:
value (float): value for IDD Field `longitude`
Unit: deg
Default value: 0.0
value >= -180.0
value <= 180.0
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `longitude`'.format(value))
if value < -180.0:
raise ValueError('value need to be greater or equal -180.0 '
'for field `longitude`')
if value > 180.0:
raise ValueError('value need to be smaller 180.0 '
'for field `longitude`')
self._longitude = value
|
python
|
def longitude(self, value=0.0):
"""Corresponds to IDD Field `longitude`
- is West, + is East, degree minutes represented in decimal (i.e. 30 minutes is .5)
Args:
value (float): value for IDD Field `longitude`
Unit: deg
Default value: 0.0
value >= -180.0
value <= 180.0
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `longitude`'.format(value))
if value < -180.0:
raise ValueError('value need to be greater or equal -180.0 '
'for field `longitude`')
if value > 180.0:
raise ValueError('value need to be smaller 180.0 '
'for field `longitude`')
self._longitude = value
|
[
"def",
"longitude",
"(",
"self",
",",
"value",
"=",
"0.0",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `longitude`'",
".",
"format",
"(",
"value",
")",
")",
"if",
"value",
"<",
"-",
"180.0",
":",
"raise",
"ValueError",
"(",
"'value need to be greater or equal -180.0 '",
"'for field `longitude`'",
")",
"if",
"value",
">",
"180.0",
":",
"raise",
"ValueError",
"(",
"'value need to be smaller 180.0 '",
"'for field `longitude`'",
")",
"self",
".",
"_longitude",
"=",
"value"
] |
Corresponds to IDD Field `longitude`
- is West, + is East, degree minutes represented in decimal (i.e. 30 minutes is .5)
Args:
value (float): value for IDD Field `longitude`
Unit: deg
Default value: 0.0
value >= -180.0
value <= 180.0
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"longitude"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L321-L352
|
rbuffat/pyepw
|
pyepw/epw.py
|
Location.timezone
|
def timezone(self, value=0.0):
"""Corresponds to IDD Field `timezone` Time relative to GMT.
Args:
value (float): value for IDD Field `timezone`
Unit: hr - not on standard units list???
Default value: 0.0
value >= -12.0
value <= 12.0
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `timezone`'.format(value))
if value < -12.0:
raise ValueError('value need to be greater or equal -12.0 '
'for field `timezone`')
if value > 12.0:
raise ValueError('value need to be smaller 12.0 '
'for field `timezone`')
self._timezone = value
|
python
|
def timezone(self, value=0.0):
"""Corresponds to IDD Field `timezone` Time relative to GMT.
Args:
value (float): value for IDD Field `timezone`
Unit: hr - not on standard units list???
Default value: 0.0
value >= -12.0
value <= 12.0
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `timezone`'.format(value))
if value < -12.0:
raise ValueError('value need to be greater or equal -12.0 '
'for field `timezone`')
if value > 12.0:
raise ValueError('value need to be smaller 12.0 '
'for field `timezone`')
self._timezone = value
|
[
"def",
"timezone",
"(",
"self",
",",
"value",
"=",
"0.0",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `timezone`'",
".",
"format",
"(",
"value",
")",
")",
"if",
"value",
"<",
"-",
"12.0",
":",
"raise",
"ValueError",
"(",
"'value need to be greater or equal -12.0 '",
"'for field `timezone`'",
")",
"if",
"value",
">",
"12.0",
":",
"raise",
"ValueError",
"(",
"'value need to be smaller 12.0 '",
"'for field `timezone`'",
")",
"self",
".",
"_timezone",
"=",
"value"
] |
Corresponds to IDD Field `timezone` Time relative to GMT.
Args:
value (float): value for IDD Field `timezone`
Unit: hr - not on standard units list???
Default value: 0.0
value >= -12.0
value <= 12.0
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"timezone",
"Time",
"relative",
"to",
"GMT",
"."
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L365-L394
|
rbuffat/pyepw
|
pyepw/epw.py
|
Location.elevation
|
def elevation(self, value=0.0):
"""Corresponds to IDD Field `elevation`
Args:
value (float): value for IDD Field `elevation`
Unit: m
Default value: 0.0
value >= -1000.0
value < 9999.9
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `elevation`'.format(value))
if value < -1000.0:
raise ValueError('value need to be greater or equal -1000.0 '
'for field `elevation`')
if value >= 9999.9:
raise ValueError('value need to be smaller 9999.9 '
'for field `elevation`')
self._elevation = value
|
python
|
def elevation(self, value=0.0):
"""Corresponds to IDD Field `elevation`
Args:
value (float): value for IDD Field `elevation`
Unit: m
Default value: 0.0
value >= -1000.0
value < 9999.9
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `elevation`'.format(value))
if value < -1000.0:
raise ValueError('value need to be greater or equal -1000.0 '
'for field `elevation`')
if value >= 9999.9:
raise ValueError('value need to be smaller 9999.9 '
'for field `elevation`')
self._elevation = value
|
[
"def",
"elevation",
"(",
"self",
",",
"value",
"=",
"0.0",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `elevation`'",
".",
"format",
"(",
"value",
")",
")",
"if",
"value",
"<",
"-",
"1000.0",
":",
"raise",
"ValueError",
"(",
"'value need to be greater or equal -1000.0 '",
"'for field `elevation`'",
")",
"if",
"value",
">=",
"9999.9",
":",
"raise",
"ValueError",
"(",
"'value need to be smaller 9999.9 '",
"'for field `elevation`'",
")",
"self",
".",
"_elevation",
"=",
"value"
] |
Corresponds to IDD Field `elevation`
Args:
value (float): value for IDD Field `elevation`
Unit: m
Default value: 0.0
value >= -1000.0
value < 9999.9
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"elevation"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L407-L436
|
rbuffat/pyepw
|
pyepw/epw.py
|
Location.export
|
def export(self, top=True):
"""Exports object to its string representation.
Args:
top (bool): if True appends `internal_name` before values.
All non list objects should be exported with value top=True,
all list objects, that are embedded in as fields inlist objects
should be exported with `top`=False
Returns:
str: The objects string representation
"""
out = []
if top:
out.append(self._internal_name)
out.append(self._to_str(self.city))
out.append(self._to_str(self.state_province_region))
out.append(self._to_str(self.country))
out.append(self._to_str(self.source))
out.append(self._to_str(self.wmo))
out.append(self._to_str(self.latitude))
out.append(self._to_str(self.longitude))
out.append(self._to_str(self.timezone))
out.append(self._to_str(self.elevation))
return ",".join(out)
|
python
|
def export(self, top=True):
"""Exports object to its string representation.
Args:
top (bool): if True appends `internal_name` before values.
All non list objects should be exported with value top=True,
all list objects, that are embedded in as fields inlist objects
should be exported with `top`=False
Returns:
str: The objects string representation
"""
out = []
if top:
out.append(self._internal_name)
out.append(self._to_str(self.city))
out.append(self._to_str(self.state_province_region))
out.append(self._to_str(self.country))
out.append(self._to_str(self.source))
out.append(self._to_str(self.wmo))
out.append(self._to_str(self.latitude))
out.append(self._to_str(self.longitude))
out.append(self._to_str(self.timezone))
out.append(self._to_str(self.elevation))
return ",".join(out)
|
[
"def",
"export",
"(",
"self",
",",
"top",
"=",
"True",
")",
":",
"out",
"=",
"[",
"]",
"if",
"top",
":",
"out",
".",
"append",
"(",
"self",
".",
"_internal_name",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"city",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"state_province_region",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"country",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"source",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"wmo",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"latitude",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"longitude",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"timezone",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"elevation",
")",
")",
"return",
"\",\"",
".",
"join",
"(",
"out",
")"
] |
Exports object to its string representation.
Args:
top (bool): if True appends `internal_name` before values.
All non list objects should be exported with value top=True,
all list objects, that are embedded in as fields inlist objects
should be exported with `top`=False
Returns:
str: The objects string representation
|
[
"Exports",
"object",
"to",
"its",
"string",
"representation",
"."
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L451-L476
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.read
|
def read(self, vals):
"""Read values.
Args:
vals (list): list of strings representing values
"""
i = 0
if len(vals[i]) == 0:
self.title_of_design_condition = None
else:
self.title_of_design_condition = vals[i]
i += 1
if len(vals[i]) == 0:
self.unkown_field = None
else:
self.unkown_field = vals[i]
i += 1
if len(vals[i]) == 0:
self.design_stat_heating = None
else:
self.design_stat_heating = vals[i]
i += 1
if len(vals[i]) == 0:
self.coldestmonth = None
else:
self.coldestmonth = vals[i]
i += 1
if len(vals[i]) == 0:
self.db996 = None
else:
self.db996 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db990 = None
else:
self.db990 = vals[i]
i += 1
if len(vals[i]) == 0:
self.dp996 = None
else:
self.dp996 = vals[i]
i += 1
if len(vals[i]) == 0:
self.hr_dp996 = None
else:
self.hr_dp996 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_dp996 = None
else:
self.db_dp996 = vals[i]
i += 1
if len(vals[i]) == 0:
self.dp990 = None
else:
self.dp990 = vals[i]
i += 1
if len(vals[i]) == 0:
self.hr_dp990 = None
else:
self.hr_dp990 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_dp990 = None
else:
self.db_dp990 = vals[i]
i += 1
if len(vals[i]) == 0:
self.ws004c = None
else:
self.ws004c = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_ws004c = None
else:
self.db_ws004c = vals[i]
i += 1
if len(vals[i]) == 0:
self.ws010c = None
else:
self.ws010c = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_ws010c = None
else:
self.db_ws010c = vals[i]
i += 1
if len(vals[i]) == 0:
self.ws_db996 = None
else:
self.ws_db996 = vals[i]
i += 1
if len(vals[i]) == 0:
self.wd_db996 = None
else:
self.wd_db996 = vals[i]
i += 1
if len(vals[i]) == 0:
self.design_stat_cooling = None
else:
self.design_stat_cooling = vals[i]
i += 1
if len(vals[i]) == 0:
self.hottestmonth = None
else:
self.hottestmonth = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbr = None
else:
self.dbr = vals[i]
i += 1
if len(vals[i]) == 0:
self.db004 = None
else:
self.db004 = vals[i]
i += 1
if len(vals[i]) == 0:
self.wb_db004 = None
else:
self.wb_db004 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db010 = None
else:
self.db010 = vals[i]
i += 1
if len(vals[i]) == 0:
self.wb_db010 = None
else:
self.wb_db010 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db020 = None
else:
self.db020 = vals[i]
i += 1
if len(vals[i]) == 0:
self.wb_db020 = None
else:
self.wb_db020 = vals[i]
i += 1
if len(vals[i]) == 0:
self.wb004 = None
else:
self.wb004 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_wb004 = None
else:
self.db_wb004 = vals[i]
i += 1
if len(vals[i]) == 0:
self.wb010 = None
else:
self.wb010 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_wb010 = None
else:
self.db_wb010 = vals[i]
i += 1
if len(vals[i]) == 0:
self.wb020 = None
else:
self.wb020 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_wb020 = None
else:
self.db_wb020 = vals[i]
i += 1
if len(vals[i]) == 0:
self.ws_db004 = None
else:
self.ws_db004 = vals[i]
i += 1
if len(vals[i]) == 0:
self.wd_db004 = None
else:
self.wd_db004 = vals[i]
i += 1
if len(vals[i]) == 0:
self.dp004 = None
else:
self.dp004 = vals[i]
i += 1
if len(vals[i]) == 0:
self.hr_dp004 = None
else:
self.hr_dp004 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_dp004 = None
else:
self.db_dp004 = vals[i]
i += 1
if len(vals[i]) == 0:
self.dp010 = None
else:
self.dp010 = vals[i]
i += 1
if len(vals[i]) == 0:
self.hr_dp010 = None
else:
self.hr_dp010 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_dp010 = None
else:
self.db_dp010 = vals[i]
i += 1
if len(vals[i]) == 0:
self.dp020 = None
else:
self.dp020 = vals[i]
i += 1
if len(vals[i]) == 0:
self.hr_dp020 = None
else:
self.hr_dp020 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_dp020 = None
else:
self.db_dp020 = vals[i]
i += 1
if len(vals[i]) == 0:
self.en004 = None
else:
self.en004 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_en004 = None
else:
self.db_en004 = vals[i]
i += 1
if len(vals[i]) == 0:
self.en010 = None
else:
self.en010 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_en010 = None
else:
self.db_en010 = vals[i]
i += 1
if len(vals[i]) == 0:
self.en020 = None
else:
self.en020 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_en020 = None
else:
self.db_en020 = vals[i]
i += 1
if len(vals[i]) == 0:
self.hrs_84_and_db12_8_or_20_6 = None
else:
self.hrs_84_and_db12_8_or_20_6 = vals[i]
i += 1
if len(vals[i]) == 0:
self.design_stat_extremes = None
else:
self.design_stat_extremes = vals[i]
i += 1
if len(vals[i]) == 0:
self.ws010 = None
else:
self.ws010 = vals[i]
i += 1
if len(vals[i]) == 0:
self.ws025 = None
else:
self.ws025 = vals[i]
i += 1
if len(vals[i]) == 0:
self.ws050 = None
else:
self.ws050 = vals[i]
i += 1
if len(vals[i]) == 0:
self.wbmax = None
else:
self.wbmax = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmin_mean = None
else:
self.dbmin_mean = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmax_mean = None
else:
self.dbmax_mean = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmin_stddev = None
else:
self.dbmin_stddev = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmax_stddev = None
else:
self.dbmax_stddev = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmin05years = None
else:
self.dbmin05years = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmax05years = None
else:
self.dbmax05years = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmin10years = None
else:
self.dbmin10years = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmax10years = None
else:
self.dbmax10years = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmin20years = None
else:
self.dbmin20years = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmax20years = None
else:
self.dbmax20years = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmin50years = None
else:
self.dbmin50years = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmax50years = None
else:
self.dbmax50years = vals[i]
i += 1
|
python
|
def read(self, vals):
"""Read values.
Args:
vals (list): list of strings representing values
"""
i = 0
if len(vals[i]) == 0:
self.title_of_design_condition = None
else:
self.title_of_design_condition = vals[i]
i += 1
if len(vals[i]) == 0:
self.unkown_field = None
else:
self.unkown_field = vals[i]
i += 1
if len(vals[i]) == 0:
self.design_stat_heating = None
else:
self.design_stat_heating = vals[i]
i += 1
if len(vals[i]) == 0:
self.coldestmonth = None
else:
self.coldestmonth = vals[i]
i += 1
if len(vals[i]) == 0:
self.db996 = None
else:
self.db996 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db990 = None
else:
self.db990 = vals[i]
i += 1
if len(vals[i]) == 0:
self.dp996 = None
else:
self.dp996 = vals[i]
i += 1
if len(vals[i]) == 0:
self.hr_dp996 = None
else:
self.hr_dp996 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_dp996 = None
else:
self.db_dp996 = vals[i]
i += 1
if len(vals[i]) == 0:
self.dp990 = None
else:
self.dp990 = vals[i]
i += 1
if len(vals[i]) == 0:
self.hr_dp990 = None
else:
self.hr_dp990 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_dp990 = None
else:
self.db_dp990 = vals[i]
i += 1
if len(vals[i]) == 0:
self.ws004c = None
else:
self.ws004c = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_ws004c = None
else:
self.db_ws004c = vals[i]
i += 1
if len(vals[i]) == 0:
self.ws010c = None
else:
self.ws010c = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_ws010c = None
else:
self.db_ws010c = vals[i]
i += 1
if len(vals[i]) == 0:
self.ws_db996 = None
else:
self.ws_db996 = vals[i]
i += 1
if len(vals[i]) == 0:
self.wd_db996 = None
else:
self.wd_db996 = vals[i]
i += 1
if len(vals[i]) == 0:
self.design_stat_cooling = None
else:
self.design_stat_cooling = vals[i]
i += 1
if len(vals[i]) == 0:
self.hottestmonth = None
else:
self.hottestmonth = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbr = None
else:
self.dbr = vals[i]
i += 1
if len(vals[i]) == 0:
self.db004 = None
else:
self.db004 = vals[i]
i += 1
if len(vals[i]) == 0:
self.wb_db004 = None
else:
self.wb_db004 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db010 = None
else:
self.db010 = vals[i]
i += 1
if len(vals[i]) == 0:
self.wb_db010 = None
else:
self.wb_db010 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db020 = None
else:
self.db020 = vals[i]
i += 1
if len(vals[i]) == 0:
self.wb_db020 = None
else:
self.wb_db020 = vals[i]
i += 1
if len(vals[i]) == 0:
self.wb004 = None
else:
self.wb004 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_wb004 = None
else:
self.db_wb004 = vals[i]
i += 1
if len(vals[i]) == 0:
self.wb010 = None
else:
self.wb010 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_wb010 = None
else:
self.db_wb010 = vals[i]
i += 1
if len(vals[i]) == 0:
self.wb020 = None
else:
self.wb020 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_wb020 = None
else:
self.db_wb020 = vals[i]
i += 1
if len(vals[i]) == 0:
self.ws_db004 = None
else:
self.ws_db004 = vals[i]
i += 1
if len(vals[i]) == 0:
self.wd_db004 = None
else:
self.wd_db004 = vals[i]
i += 1
if len(vals[i]) == 0:
self.dp004 = None
else:
self.dp004 = vals[i]
i += 1
if len(vals[i]) == 0:
self.hr_dp004 = None
else:
self.hr_dp004 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_dp004 = None
else:
self.db_dp004 = vals[i]
i += 1
if len(vals[i]) == 0:
self.dp010 = None
else:
self.dp010 = vals[i]
i += 1
if len(vals[i]) == 0:
self.hr_dp010 = None
else:
self.hr_dp010 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_dp010 = None
else:
self.db_dp010 = vals[i]
i += 1
if len(vals[i]) == 0:
self.dp020 = None
else:
self.dp020 = vals[i]
i += 1
if len(vals[i]) == 0:
self.hr_dp020 = None
else:
self.hr_dp020 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_dp020 = None
else:
self.db_dp020 = vals[i]
i += 1
if len(vals[i]) == 0:
self.en004 = None
else:
self.en004 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_en004 = None
else:
self.db_en004 = vals[i]
i += 1
if len(vals[i]) == 0:
self.en010 = None
else:
self.en010 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_en010 = None
else:
self.db_en010 = vals[i]
i += 1
if len(vals[i]) == 0:
self.en020 = None
else:
self.en020 = vals[i]
i += 1
if len(vals[i]) == 0:
self.db_en020 = None
else:
self.db_en020 = vals[i]
i += 1
if len(vals[i]) == 0:
self.hrs_84_and_db12_8_or_20_6 = None
else:
self.hrs_84_and_db12_8_or_20_6 = vals[i]
i += 1
if len(vals[i]) == 0:
self.design_stat_extremes = None
else:
self.design_stat_extremes = vals[i]
i += 1
if len(vals[i]) == 0:
self.ws010 = None
else:
self.ws010 = vals[i]
i += 1
if len(vals[i]) == 0:
self.ws025 = None
else:
self.ws025 = vals[i]
i += 1
if len(vals[i]) == 0:
self.ws050 = None
else:
self.ws050 = vals[i]
i += 1
if len(vals[i]) == 0:
self.wbmax = None
else:
self.wbmax = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmin_mean = None
else:
self.dbmin_mean = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmax_mean = None
else:
self.dbmax_mean = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmin_stddev = None
else:
self.dbmin_stddev = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmax_stddev = None
else:
self.dbmax_stddev = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmin05years = None
else:
self.dbmin05years = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmax05years = None
else:
self.dbmax05years = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmin10years = None
else:
self.dbmin10years = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmax10years = None
else:
self.dbmax10years = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmin20years = None
else:
self.dbmin20years = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmax20years = None
else:
self.dbmax20years = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmin50years = None
else:
self.dbmin50years = vals[i]
i += 1
if len(vals[i]) == 0:
self.dbmax50years = None
else:
self.dbmax50years = vals[i]
i += 1
|
[
"def",
"read",
"(",
"self",
",",
"vals",
")",
":",
"i",
"=",
"0",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"title_of_design_condition",
"=",
"None",
"else",
":",
"self",
".",
"title_of_design_condition",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"unkown_field",
"=",
"None",
"else",
":",
"self",
".",
"unkown_field",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"design_stat_heating",
"=",
"None",
"else",
":",
"self",
".",
"design_stat_heating",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"coldestmonth",
"=",
"None",
"else",
":",
"self",
".",
"coldestmonth",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"db996",
"=",
"None",
"else",
":",
"self",
".",
"db996",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"db990",
"=",
"None",
"else",
":",
"self",
".",
"db990",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"dp996",
"=",
"None",
"else",
":",
"self",
".",
"dp996",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"hr_dp996",
"=",
"None",
"else",
":",
"self",
".",
"hr_dp996",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"db_dp996",
"=",
"None",
"else",
":",
"self",
".",
"db_dp996",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"dp990",
"=",
"None",
"else",
":",
"self",
".",
"dp990",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"hr_dp990",
"=",
"None",
"else",
":",
"self",
".",
"hr_dp990",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"db_dp990",
"=",
"None",
"else",
":",
"self",
".",
"db_dp990",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"ws004c",
"=",
"None",
"else",
":",
"self",
".",
"ws004c",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"db_ws004c",
"=",
"None",
"else",
":",
"self",
".",
"db_ws004c",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"ws010c",
"=",
"None",
"else",
":",
"self",
".",
"ws010c",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"db_ws010c",
"=",
"None",
"else",
":",
"self",
".",
"db_ws010c",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"ws_db996",
"=",
"None",
"else",
":",
"self",
".",
"ws_db996",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"wd_db996",
"=",
"None",
"else",
":",
"self",
".",
"wd_db996",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"design_stat_cooling",
"=",
"None",
"else",
":",
"self",
".",
"design_stat_cooling",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"hottestmonth",
"=",
"None",
"else",
":",
"self",
".",
"hottestmonth",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"dbr",
"=",
"None",
"else",
":",
"self",
".",
"dbr",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"db004",
"=",
"None",
"else",
":",
"self",
".",
"db004",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"wb_db004",
"=",
"None",
"else",
":",
"self",
".",
"wb_db004",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"db010",
"=",
"None",
"else",
":",
"self",
".",
"db010",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"wb_db010",
"=",
"None",
"else",
":",
"self",
".",
"wb_db010",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"db020",
"=",
"None",
"else",
":",
"self",
".",
"db020",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"wb_db020",
"=",
"None",
"else",
":",
"self",
".",
"wb_db020",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"wb004",
"=",
"None",
"else",
":",
"self",
".",
"wb004",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"db_wb004",
"=",
"None",
"else",
":",
"self",
".",
"db_wb004",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"wb010",
"=",
"None",
"else",
":",
"self",
".",
"wb010",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"db_wb010",
"=",
"None",
"else",
":",
"self",
".",
"db_wb010",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"wb020",
"=",
"None",
"else",
":",
"self",
".",
"wb020",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"db_wb020",
"=",
"None",
"else",
":",
"self",
".",
"db_wb020",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"ws_db004",
"=",
"None",
"else",
":",
"self",
".",
"ws_db004",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"wd_db004",
"=",
"None",
"else",
":",
"self",
".",
"wd_db004",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"dp004",
"=",
"None",
"else",
":",
"self",
".",
"dp004",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"hr_dp004",
"=",
"None",
"else",
":",
"self",
".",
"hr_dp004",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"db_dp004",
"=",
"None",
"else",
":",
"self",
".",
"db_dp004",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"dp010",
"=",
"None",
"else",
":",
"self",
".",
"dp010",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"hr_dp010",
"=",
"None",
"else",
":",
"self",
".",
"hr_dp010",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"db_dp010",
"=",
"None",
"else",
":",
"self",
".",
"db_dp010",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"dp020",
"=",
"None",
"else",
":",
"self",
".",
"dp020",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"hr_dp020",
"=",
"None",
"else",
":",
"self",
".",
"hr_dp020",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"db_dp020",
"=",
"None",
"else",
":",
"self",
".",
"db_dp020",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"en004",
"=",
"None",
"else",
":",
"self",
".",
"en004",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"db_en004",
"=",
"None",
"else",
":",
"self",
".",
"db_en004",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"en010",
"=",
"None",
"else",
":",
"self",
".",
"en010",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"db_en010",
"=",
"None",
"else",
":",
"self",
".",
"db_en010",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"en020",
"=",
"None",
"else",
":",
"self",
".",
"en020",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"db_en020",
"=",
"None",
"else",
":",
"self",
".",
"db_en020",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"hrs_84_and_db12_8_or_20_6",
"=",
"None",
"else",
":",
"self",
".",
"hrs_84_and_db12_8_or_20_6",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"design_stat_extremes",
"=",
"None",
"else",
":",
"self",
".",
"design_stat_extremes",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"ws010",
"=",
"None",
"else",
":",
"self",
".",
"ws010",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"ws025",
"=",
"None",
"else",
":",
"self",
".",
"ws025",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"ws050",
"=",
"None",
"else",
":",
"self",
".",
"ws050",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"wbmax",
"=",
"None",
"else",
":",
"self",
".",
"wbmax",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"dbmin_mean",
"=",
"None",
"else",
":",
"self",
".",
"dbmin_mean",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"dbmax_mean",
"=",
"None",
"else",
":",
"self",
".",
"dbmax_mean",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"dbmin_stddev",
"=",
"None",
"else",
":",
"self",
".",
"dbmin_stddev",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"dbmax_stddev",
"=",
"None",
"else",
":",
"self",
".",
"dbmax_stddev",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"dbmin05years",
"=",
"None",
"else",
":",
"self",
".",
"dbmin05years",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"dbmax05years",
"=",
"None",
"else",
":",
"self",
".",
"dbmax05years",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"dbmin10years",
"=",
"None",
"else",
":",
"self",
".",
"dbmin10years",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"dbmax10years",
"=",
"None",
"else",
":",
"self",
".",
"dbmax10years",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"dbmin20years",
"=",
"None",
"else",
":",
"self",
".",
"dbmin20years",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"dbmax20years",
"=",
"None",
"else",
":",
"self",
".",
"dbmax20years",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"dbmin50years",
"=",
"None",
"else",
":",
"self",
".",
"dbmin50years",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"dbmax50years",
"=",
"None",
"else",
":",
"self",
".",
"dbmax50years",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1"
] |
Read values.
Args:
vals (list): list of strings representing values
|
[
"Read",
"values",
"."
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L559-L906
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.title_of_design_condition
|
def title_of_design_condition(self, value=None):
"""Corresponds to IDD Field `title_of_design_condition`
Args:
value (str): value for IDD Field `title_of_design_condition`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError(
'value {} need to be of type str '
'for field `title_of_design_condition`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `title_of_design_condition`')
self._title_of_design_condition = value
|
python
|
def title_of_design_condition(self, value=None):
"""Corresponds to IDD Field `title_of_design_condition`
Args:
value (str): value for IDD Field `title_of_design_condition`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError(
'value {} need to be of type str '
'for field `title_of_design_condition`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `title_of_design_condition`')
self._title_of_design_condition = value
|
[
"def",
"title_of_design_condition",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type str '",
"'for field `title_of_design_condition`'",
".",
"format",
"(",
"value",
")",
")",
"if",
"','",
"in",
"value",
":",
"raise",
"ValueError",
"(",
"'value should not contain a comma '",
"'for field `title_of_design_condition`'",
")",
"self",
".",
"_title_of_design_condition",
"=",
"value"
] |
Corresponds to IDD Field `title_of_design_condition`
Args:
value (str): value for IDD Field `title_of_design_condition`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"title_of_design_condition"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L919-L942
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.unkown_field
|
def unkown_field(self, value=None):
"""Corresponds to IDD Field `unkown_field` Empty field in data.
Args:
value (str): value for IDD Field `unkown_field`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError('value {} need to be of type str '
'for field `unkown_field`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `unkown_field`')
self._unkown_field = value
|
python
|
def unkown_field(self, value=None):
"""Corresponds to IDD Field `unkown_field` Empty field in data.
Args:
value (str): value for IDD Field `unkown_field`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError('value {} need to be of type str '
'for field `unkown_field`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `unkown_field`')
self._unkown_field = value
|
[
"def",
"unkown_field",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type str '",
"'for field `unkown_field`'",
".",
"format",
"(",
"value",
")",
")",
"if",
"','",
"in",
"value",
":",
"raise",
"ValueError",
"(",
"'value should not contain a comma '",
"'for field `unkown_field`'",
")",
"self",
".",
"_unkown_field",
"=",
"value"
] |
Corresponds to IDD Field `unkown_field` Empty field in data.
Args:
value (str): value for IDD Field `unkown_field`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"unkown_field",
"Empty",
"field",
"in",
"data",
"."
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L955-L977
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.design_stat_heating
|
def design_stat_heating(self, value="Heating"):
"""Corresponds to IDD Field `design_stat_heating`
Args:
value (str): value for IDD Field `design_stat_heating`
Accepted values are:
- Heating
Default value: Heating
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError(
'value {} need to be of type str '
'for field `design_stat_heating`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `design_stat_heating`')
vals = set()
vals.add("Heating")
if value not in vals:
raise ValueError('value {} is not an accepted value for '
'field `design_stat_heating`'.format(value))
self._design_stat_heating = value
|
python
|
def design_stat_heating(self, value="Heating"):
"""Corresponds to IDD Field `design_stat_heating`
Args:
value (str): value for IDD Field `design_stat_heating`
Accepted values are:
- Heating
Default value: Heating
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError(
'value {} need to be of type str '
'for field `design_stat_heating`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `design_stat_heating`')
vals = set()
vals.add("Heating")
if value not in vals:
raise ValueError('value {} is not an accepted value for '
'field `design_stat_heating`'.format(value))
self._design_stat_heating = value
|
[
"def",
"design_stat_heating",
"(",
"self",
",",
"value",
"=",
"\"Heating\"",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type str '",
"'for field `design_stat_heating`'",
".",
"format",
"(",
"value",
")",
")",
"if",
"','",
"in",
"value",
":",
"raise",
"ValueError",
"(",
"'value should not contain a comma '",
"'for field `design_stat_heating`'",
")",
"vals",
"=",
"set",
"(",
")",
"vals",
".",
"add",
"(",
"\"Heating\"",
")",
"if",
"value",
"not",
"in",
"vals",
":",
"raise",
"ValueError",
"(",
"'value {} is not an accepted value for '",
"'field `design_stat_heating`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_design_stat_heating",
"=",
"value"
] |
Corresponds to IDD Field `design_stat_heating`
Args:
value (str): value for IDD Field `design_stat_heating`
Accepted values are:
- Heating
Default value: Heating
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"design_stat_heating"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L990-L1021
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.coldestmonth
|
def coldestmonth(self, value=None):
"""Corresponds to IDD Field `coldestmonth`
Args:
value (int): value for IDD Field `coldestmonth`
value >= 1
value <= 12
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = int(value)
except ValueError:
raise ValueError('value {} need to be of type int '
'for field `coldestmonth`'.format(value))
if value < 1:
raise ValueError('value need to be greater or equal 1 '
'for field `coldestmonth`')
if value > 12:
raise ValueError('value need to be smaller 12 '
'for field `coldestmonth`')
self._coldestmonth = value
|
python
|
def coldestmonth(self, value=None):
"""Corresponds to IDD Field `coldestmonth`
Args:
value (int): value for IDD Field `coldestmonth`
value >= 1
value <= 12
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = int(value)
except ValueError:
raise ValueError('value {} need to be of type int '
'for field `coldestmonth`'.format(value))
if value < 1:
raise ValueError('value need to be greater or equal 1 '
'for field `coldestmonth`')
if value > 12:
raise ValueError('value need to be smaller 12 '
'for field `coldestmonth`')
self._coldestmonth = value
|
[
"def",
"coldestmonth",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"int",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type int '",
"'for field `coldestmonth`'",
".",
"format",
"(",
"value",
")",
")",
"if",
"value",
"<",
"1",
":",
"raise",
"ValueError",
"(",
"'value need to be greater or equal 1 '",
"'for field `coldestmonth`'",
")",
"if",
"value",
">",
"12",
":",
"raise",
"ValueError",
"(",
"'value need to be smaller 12 '",
"'for field `coldestmonth`'",
")",
"self",
".",
"_coldestmonth",
"=",
"value"
] |
Corresponds to IDD Field `coldestmonth`
Args:
value (int): value for IDD Field `coldestmonth`
value >= 1
value <= 12
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"coldestmonth"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1034-L1061
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.db996
|
def db996(self, value=None):
""" Corresponds to IDD Field `db996`
Dry-bulb temperature corresponding to 99.6% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `db996`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db996`'.format(value))
self._db996 = value
|
python
|
def db996(self, value=None):
""" Corresponds to IDD Field `db996`
Dry-bulb temperature corresponding to 99.6% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `db996`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db996`'.format(value))
self._db996 = value
|
[
"def",
"db996",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `db996`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_db996",
"=",
"value"
] |
Corresponds to IDD Field `db996`
Dry-bulb temperature corresponding to 99.6% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `db996`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"db996",
"Dry",
"-",
"bulb",
"temperature",
"corresponding",
"to",
"99",
".",
"6%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence",
"(",
"cold",
"conditions",
")"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1074-L1095
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.db990
|
def db990(self, value=None):
""" Corresponds to IDD Field `db990`
Dry-bulb temperature corresponding to 90.0% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `db990`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db990`'.format(value))
self._db990 = value
|
python
|
def db990(self, value=None):
""" Corresponds to IDD Field `db990`
Dry-bulb temperature corresponding to 90.0% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `db990`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db990`'.format(value))
self._db990 = value
|
[
"def",
"db990",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `db990`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_db990",
"=",
"value"
] |
Corresponds to IDD Field `db990`
Dry-bulb temperature corresponding to 90.0% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `db990`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"db990",
"Dry",
"-",
"bulb",
"temperature",
"corresponding",
"to",
"90",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence",
"(",
"cold",
"conditions",
")"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1108-L1129
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.dp996
|
def dp996(self, value=None):
""" Corresponds to IDD Field `dp996`
Dew-point temperature corresponding to 99.6% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `dp996`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dp996`'.format(value))
self._dp996 = value
|
python
|
def dp996(self, value=None):
""" Corresponds to IDD Field `dp996`
Dew-point temperature corresponding to 99.6% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `dp996`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dp996`'.format(value))
self._dp996 = value
|
[
"def",
"dp996",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `dp996`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_dp996",
"=",
"value"
] |
Corresponds to IDD Field `dp996`
Dew-point temperature corresponding to 99.6% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `dp996`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"dp996",
"Dew",
"-",
"point",
"temperature",
"corresponding",
"to",
"99",
".",
"6%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence",
"(",
"cold",
"conditions",
")"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1142-L1163
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.hr_dp996
|
def hr_dp996(self, value=None):
""" Corresponds to IDD Field `hr_dp996`
humidity ratio, calculated at standard atmospheric pressure
at elevation of station, corresponding to
Dew-point temperature corresponding to 99.6% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `hr_dp996`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `hr_dp996`'.format(value))
self._hr_dp996 = value
|
python
|
def hr_dp996(self, value=None):
""" Corresponds to IDD Field `hr_dp996`
humidity ratio, calculated at standard atmospheric pressure
at elevation of station, corresponding to
Dew-point temperature corresponding to 99.6% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `hr_dp996`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `hr_dp996`'.format(value))
self._hr_dp996 = value
|
[
"def",
"hr_dp996",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `hr_dp996`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_hr_dp996",
"=",
"value"
] |
Corresponds to IDD Field `hr_dp996`
humidity ratio, calculated at standard atmospheric pressure
at elevation of station, corresponding to
Dew-point temperature corresponding to 99.6% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `hr_dp996`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"hr_dp996",
"humidity",
"ratio",
"calculated",
"at",
"standard",
"atmospheric",
"pressure",
"at",
"elevation",
"of",
"station",
"corresponding",
"to",
"Dew",
"-",
"point",
"temperature",
"corresponding",
"to",
"99",
".",
"6%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence",
"(",
"cold",
"conditions",
")"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1176-L1198
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.db_dp996
|
def db_dp996(self, value=None):
""" Corresponds to IDD Field `db_dp996`
mean coincident drybulb temperature corresponding to
Dew-point temperature corresponding to 99.6% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `db_dp996`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_dp996`'.format(value))
self._db_dp996 = value
|
python
|
def db_dp996(self, value=None):
""" Corresponds to IDD Field `db_dp996`
mean coincident drybulb temperature corresponding to
Dew-point temperature corresponding to 99.6% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `db_dp996`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_dp996`'.format(value))
self._db_dp996 = value
|
[
"def",
"db_dp996",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `db_dp996`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_db_dp996",
"=",
"value"
] |
Corresponds to IDD Field `db_dp996`
mean coincident drybulb temperature corresponding to
Dew-point temperature corresponding to 99.6% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `db_dp996`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"db_dp996",
"mean",
"coincident",
"drybulb",
"temperature",
"corresponding",
"to",
"Dew",
"-",
"point",
"temperature",
"corresponding",
"to",
"99",
".",
"6%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence",
"(",
"cold",
"conditions",
")"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1211-L1233
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.dp990
|
def dp990(self, value=None):
""" Corresponds to IDD Field `dp990`
Dew-point temperature corresponding to 90.0% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `dp990`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dp990`'.format(value))
self._dp990 = value
|
python
|
def dp990(self, value=None):
""" Corresponds to IDD Field `dp990`
Dew-point temperature corresponding to 90.0% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `dp990`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dp990`'.format(value))
self._dp990 = value
|
[
"def",
"dp990",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `dp990`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_dp990",
"=",
"value"
] |
Corresponds to IDD Field `dp990`
Dew-point temperature corresponding to 90.0% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `dp990`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"dp990",
"Dew",
"-",
"point",
"temperature",
"corresponding",
"to",
"90",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence",
"(",
"cold",
"conditions",
")"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1246-L1267
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.hr_dp990
|
def hr_dp990(self, value=None):
""" Corresponds to IDD Field `hr_dp990`
humidity ratio, calculated at standard atmospheric pressure
at elevation of station, corresponding to
Dew-point temperature corresponding to 90.0% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `hr_dp990`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `hr_dp990`'.format(value))
self._hr_dp990 = value
|
python
|
def hr_dp990(self, value=None):
""" Corresponds to IDD Field `hr_dp990`
humidity ratio, calculated at standard atmospheric pressure
at elevation of station, corresponding to
Dew-point temperature corresponding to 90.0% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `hr_dp990`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `hr_dp990`'.format(value))
self._hr_dp990 = value
|
[
"def",
"hr_dp990",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `hr_dp990`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_hr_dp990",
"=",
"value"
] |
Corresponds to IDD Field `hr_dp990`
humidity ratio, calculated at standard atmospheric pressure
at elevation of station, corresponding to
Dew-point temperature corresponding to 90.0% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `hr_dp990`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"hr_dp990",
"humidity",
"ratio",
"calculated",
"at",
"standard",
"atmospheric",
"pressure",
"at",
"elevation",
"of",
"station",
"corresponding",
"to",
"Dew",
"-",
"point",
"temperature",
"corresponding",
"to",
"90",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence",
"(",
"cold",
"conditions",
")"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1280-L1302
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.db_dp990
|
def db_dp990(self, value=None):
""" Corresponds to IDD Field `db_dp990`
mean coincident drybulb temperature corresponding to
Dew-point temperature corresponding to 90.0% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `db_dp990`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_dp990`'.format(value))
self._db_dp990 = value
|
python
|
def db_dp990(self, value=None):
""" Corresponds to IDD Field `db_dp990`
mean coincident drybulb temperature corresponding to
Dew-point temperature corresponding to 90.0% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `db_dp990`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_dp990`'.format(value))
self._db_dp990 = value
|
[
"def",
"db_dp990",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `db_dp990`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_db_dp990",
"=",
"value"
] |
Corresponds to IDD Field `db_dp990`
mean coincident drybulb temperature corresponding to
Dew-point temperature corresponding to 90.0% annual cumulative
frequency of occurrence (cold conditions)
Args:
value (float): value for IDD Field `db_dp990`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"db_dp990",
"mean",
"coincident",
"drybulb",
"temperature",
"corresponding",
"to",
"Dew",
"-",
"point",
"temperature",
"corresponding",
"to",
"90",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence",
"(",
"cold",
"conditions",
")"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1315-L1337
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.ws004c
|
def ws004c(self, value=None):
"""Corresponds to IDD Field `ws004c`
Args:
value (float): value for IDD Field `ws004c`
Unit: m/s
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `ws004c`'.format(value))
self._ws004c = value
|
python
|
def ws004c(self, value=None):
"""Corresponds to IDD Field `ws004c`
Args:
value (float): value for IDD Field `ws004c`
Unit: m/s
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `ws004c`'.format(value))
self._ws004c = value
|
[
"def",
"ws004c",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `ws004c`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_ws004c",
"=",
"value"
] |
Corresponds to IDD Field `ws004c`
Args:
value (float): value for IDD Field `ws004c`
Unit: m/s
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"ws004c"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1350-L1370
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.db_ws004c
|
def db_ws004c(self, value=None):
""" Corresponds to IDD Field `db_ws004c`
Mean coincident dry-bulb temperature to wind speed corresponding to 0.40% cumulative frequency for coldest month
Args:
value (float): value for IDD Field `db_ws004c`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_ws004c`'.format(value))
self._db_ws004c = value
|
python
|
def db_ws004c(self, value=None):
""" Corresponds to IDD Field `db_ws004c`
Mean coincident dry-bulb temperature to wind speed corresponding to 0.40% cumulative frequency for coldest month
Args:
value (float): value for IDD Field `db_ws004c`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_ws004c`'.format(value))
self._db_ws004c = value
|
[
"def",
"db_ws004c",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `db_ws004c`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_db_ws004c",
"=",
"value"
] |
Corresponds to IDD Field `db_ws004c`
Mean coincident dry-bulb temperature to wind speed corresponding to 0.40% cumulative frequency for coldest month
Args:
value (float): value for IDD Field `db_ws004c`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"db_ws004c",
"Mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"wind",
"speed",
"corresponding",
"to",
"0",
".",
"40%",
"cumulative",
"frequency",
"for",
"coldest",
"month"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1383-L1403
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.ws010c
|
def ws010c(self, value=None):
""" Corresponds to IDD Field `ws010c`
Wind speed corresponding to 1.0% cumulative frequency
of occurrence for coldest month;
Args:
value (float): value for IDD Field `ws010c`
Unit: m/s
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `ws010c`'.format(value))
self._ws010c = value
|
python
|
def ws010c(self, value=None):
""" Corresponds to IDD Field `ws010c`
Wind speed corresponding to 1.0% cumulative frequency
of occurrence for coldest month;
Args:
value (float): value for IDD Field `ws010c`
Unit: m/s
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `ws010c`'.format(value))
self._ws010c = value
|
[
"def",
"ws010c",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `ws010c`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_ws010c",
"=",
"value"
] |
Corresponds to IDD Field `ws010c`
Wind speed corresponding to 1.0% cumulative frequency
of occurrence for coldest month;
Args:
value (float): value for IDD Field `ws010c`
Unit: m/s
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"ws010c",
"Wind",
"speed",
"corresponding",
"to",
"1",
".",
"0%",
"cumulative",
"frequency",
"of",
"occurrence",
"for",
"coldest",
"month",
";"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1416-L1437
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.db_ws010c
|
def db_ws010c(self, value=None):
""" Corresponds to IDD Field `db_ws010c`
Mean coincident dry-bulb temperature to wind speed corresponding to 1.0% cumulative frequency for coldest month
Args:
value (float): value for IDD Field `db_ws010c`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_ws010c`'.format(value))
self._db_ws010c = value
|
python
|
def db_ws010c(self, value=None):
""" Corresponds to IDD Field `db_ws010c`
Mean coincident dry-bulb temperature to wind speed corresponding to 1.0% cumulative frequency for coldest month
Args:
value (float): value for IDD Field `db_ws010c`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_ws010c`'.format(value))
self._db_ws010c = value
|
[
"def",
"db_ws010c",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `db_ws010c`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_db_ws010c",
"=",
"value"
] |
Corresponds to IDD Field `db_ws010c`
Mean coincident dry-bulb temperature to wind speed corresponding to 1.0% cumulative frequency for coldest month
Args:
value (float): value for IDD Field `db_ws010c`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"db_ws010c",
"Mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"wind",
"speed",
"corresponding",
"to",
"1",
".",
"0%",
"cumulative",
"frequency",
"for",
"coldest",
"month"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1450-L1470
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.ws_db996
|
def ws_db996(self, value=None):
""" Corresponds to IDD Field `ws_db996`
Mean wind speed coincident with 99.6% dry-bulb temperature
Args:
value (float): value for IDD Field `ws_db996`
Unit: m/s
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `ws_db996`'.format(value))
self._ws_db996 = value
|
python
|
def ws_db996(self, value=None):
""" Corresponds to IDD Field `ws_db996`
Mean wind speed coincident with 99.6% dry-bulb temperature
Args:
value (float): value for IDD Field `ws_db996`
Unit: m/s
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `ws_db996`'.format(value))
self._ws_db996 = value
|
[
"def",
"ws_db996",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `ws_db996`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_ws_db996",
"=",
"value"
] |
Corresponds to IDD Field `ws_db996`
Mean wind speed coincident with 99.6% dry-bulb temperature
Args:
value (float): value for IDD Field `ws_db996`
Unit: m/s
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"ws_db996",
"Mean",
"wind",
"speed",
"coincident",
"with",
"99",
".",
"6%",
"dry",
"-",
"bulb",
"temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1483-L1503
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.wd_db996
|
def wd_db996(self, value=None):
""" Corresponds to IDD Field `wd_db996`
most frequent wind direction corresponding to mean wind speed coincident with 99.6% dry-bulb temperature
degrees from north (east = 90 deg)
Args:
value (float): value for IDD Field `wd_db996`
Unit: deg
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `wd_db996`'.format(value))
self._wd_db996 = value
|
python
|
def wd_db996(self, value=None):
""" Corresponds to IDD Field `wd_db996`
most frequent wind direction corresponding to mean wind speed coincident with 99.6% dry-bulb temperature
degrees from north (east = 90 deg)
Args:
value (float): value for IDD Field `wd_db996`
Unit: deg
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `wd_db996`'.format(value))
self._wd_db996 = value
|
[
"def",
"wd_db996",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `wd_db996`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_wd_db996",
"=",
"value"
] |
Corresponds to IDD Field `wd_db996`
most frequent wind direction corresponding to mean wind speed coincident with 99.6% dry-bulb temperature
degrees from north (east = 90 deg)
Args:
value (float): value for IDD Field `wd_db996`
Unit: deg
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"wd_db996",
"most",
"frequent",
"wind",
"direction",
"corresponding",
"to",
"mean",
"wind",
"speed",
"coincident",
"with",
"99",
".",
"6%",
"dry",
"-",
"bulb",
"temperature",
"degrees",
"from",
"north",
"(",
"east",
"=",
"90",
"deg",
")"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1516-L1537
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.design_stat_cooling
|
def design_stat_cooling(self, value="Cooling"):
"""Corresponds to IDD Field `design_stat_cooling`
Args:
value (str): value for IDD Field `design_stat_cooling`
Accepted values are:
- Cooling
Default value: Cooling
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError(
'value {} need to be of type str '
'for field `design_stat_cooling`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `design_stat_cooling`')
vals = set()
vals.add("Cooling")
if value not in vals:
raise ValueError('value {} is not an accepted value for '
'field `design_stat_cooling`'.format(value))
self._design_stat_cooling = value
|
python
|
def design_stat_cooling(self, value="Cooling"):
"""Corresponds to IDD Field `design_stat_cooling`
Args:
value (str): value for IDD Field `design_stat_cooling`
Accepted values are:
- Cooling
Default value: Cooling
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError(
'value {} need to be of type str '
'for field `design_stat_cooling`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `design_stat_cooling`')
vals = set()
vals.add("Cooling")
if value not in vals:
raise ValueError('value {} is not an accepted value for '
'field `design_stat_cooling`'.format(value))
self._design_stat_cooling = value
|
[
"def",
"design_stat_cooling",
"(",
"self",
",",
"value",
"=",
"\"Cooling\"",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type str '",
"'for field `design_stat_cooling`'",
".",
"format",
"(",
"value",
")",
")",
"if",
"','",
"in",
"value",
":",
"raise",
"ValueError",
"(",
"'value should not contain a comma '",
"'for field `design_stat_cooling`'",
")",
"vals",
"=",
"set",
"(",
")",
"vals",
".",
"add",
"(",
"\"Cooling\"",
")",
"if",
"value",
"not",
"in",
"vals",
":",
"raise",
"ValueError",
"(",
"'value {} is not an accepted value for '",
"'field `design_stat_cooling`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_design_stat_cooling",
"=",
"value"
] |
Corresponds to IDD Field `design_stat_cooling`
Args:
value (str): value for IDD Field `design_stat_cooling`
Accepted values are:
- Cooling
Default value: Cooling
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"design_stat_cooling"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1550-L1581
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.dbr
|
def dbr(self, value=None):
"""Corresponds to IDD Field `dbr` Daily temperature range for hottest
month.
[defined as mean of the difference between daily maximum
and daily minimum dry-bulb temperatures for hottest month]
Args:
value (float): value for IDD Field `dbr`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbr`'.format(value))
self._dbr = value
|
python
|
def dbr(self, value=None):
"""Corresponds to IDD Field `dbr` Daily temperature range for hottest
month.
[defined as mean of the difference between daily maximum
and daily minimum dry-bulb temperatures for hottest month]
Args:
value (float): value for IDD Field `dbr`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbr`'.format(value))
self._dbr = value
|
[
"def",
"dbr",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `dbr`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_dbr",
"=",
"value"
] |
Corresponds to IDD Field `dbr` Daily temperature range for hottest
month.
[defined as mean of the difference between daily maximum
and daily minimum dry-bulb temperatures for hottest month]
Args:
value (float): value for IDD Field `dbr`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"dbr",
"Daily",
"temperature",
"range",
"for",
"hottest",
"month",
"."
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1634-L1658
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.db004
|
def db004(self, value=None):
""" Corresponds to IDD Field `db004`
Dry-bulb temperature corresponding to 0.4% annual cumulative frequency of occurrence (warm conditions)
Args:
value (float): value for IDD Field `db004`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db004`'.format(value))
self._db004 = value
|
python
|
def db004(self, value=None):
""" Corresponds to IDD Field `db004`
Dry-bulb temperature corresponding to 0.4% annual cumulative frequency of occurrence (warm conditions)
Args:
value (float): value for IDD Field `db004`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db004`'.format(value))
self._db004 = value
|
[
"def",
"db004",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `db004`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_db004",
"=",
"value"
] |
Corresponds to IDD Field `db004`
Dry-bulb temperature corresponding to 0.4% annual cumulative frequency of occurrence (warm conditions)
Args:
value (float): value for IDD Field `db004`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"db004",
"Dry",
"-",
"bulb",
"temperature",
"corresponding",
"to",
"0",
".",
"4%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence",
"(",
"warm",
"conditions",
")"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1671-L1691
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.wb_db004
|
def wb_db004(self, value=None):
""" Corresponds to IDD Field `wb_db004`
mean coincident wet-bulb temperature to
Dry-bulb temperature corresponding to 0.4% annual cumulative frequency of occurrence (warm conditions)
Args:
value (float): value for IDD Field `wb_db004`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `wb_db004`'.format(value))
self._wb_db004 = value
|
python
|
def wb_db004(self, value=None):
""" Corresponds to IDD Field `wb_db004`
mean coincident wet-bulb temperature to
Dry-bulb temperature corresponding to 0.4% annual cumulative frequency of occurrence (warm conditions)
Args:
value (float): value for IDD Field `wb_db004`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `wb_db004`'.format(value))
self._wb_db004 = value
|
[
"def",
"wb_db004",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `wb_db004`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_wb_db004",
"=",
"value"
] |
Corresponds to IDD Field `wb_db004`
mean coincident wet-bulb temperature to
Dry-bulb temperature corresponding to 0.4% annual cumulative frequency of occurrence (warm conditions)
Args:
value (float): value for IDD Field `wb_db004`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"wb_db004",
"mean",
"coincident",
"wet",
"-",
"bulb",
"temperature",
"to",
"Dry",
"-",
"bulb",
"temperature",
"corresponding",
"to",
"0",
".",
"4%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence",
"(",
"warm",
"conditions",
")"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1704-L1725
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.db010
|
def db010(self, value=None):
""" Corresponds to IDD Field `db010`
Dry-bulb temperature corresponding to 1.0% annual cumulative frequency of occurrence (warm conditions)
Args:
value (float): value for IDD Field `db010`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db010`'.format(value))
self._db010 = value
|
python
|
def db010(self, value=None):
""" Corresponds to IDD Field `db010`
Dry-bulb temperature corresponding to 1.0% annual cumulative frequency of occurrence (warm conditions)
Args:
value (float): value for IDD Field `db010`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db010`'.format(value))
self._db010 = value
|
[
"def",
"db010",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `db010`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_db010",
"=",
"value"
] |
Corresponds to IDD Field `db010`
Dry-bulb temperature corresponding to 1.0% annual cumulative frequency of occurrence (warm conditions)
Args:
value (float): value for IDD Field `db010`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"db010",
"Dry",
"-",
"bulb",
"temperature",
"corresponding",
"to",
"1",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence",
"(",
"warm",
"conditions",
")"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1738-L1758
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.wb_db010
|
def wb_db010(self, value=None):
""" Corresponds to IDD Field `wb_db010`
mean coincident wet-bulb temperature to
Dry-bulb temperature corresponding to 1.0% annual cumulative frequency of occurrence (warm conditions)
Args:
value (float): value for IDD Field `wb_db010`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `wb_db010`'.format(value))
self._wb_db010 = value
|
python
|
def wb_db010(self, value=None):
""" Corresponds to IDD Field `wb_db010`
mean coincident wet-bulb temperature to
Dry-bulb temperature corresponding to 1.0% annual cumulative frequency of occurrence (warm conditions)
Args:
value (float): value for IDD Field `wb_db010`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `wb_db010`'.format(value))
self._wb_db010 = value
|
[
"def",
"wb_db010",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `wb_db010`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_wb_db010",
"=",
"value"
] |
Corresponds to IDD Field `wb_db010`
mean coincident wet-bulb temperature to
Dry-bulb temperature corresponding to 1.0% annual cumulative frequency of occurrence (warm conditions)
Args:
value (float): value for IDD Field `wb_db010`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"wb_db010",
"mean",
"coincident",
"wet",
"-",
"bulb",
"temperature",
"to",
"Dry",
"-",
"bulb",
"temperature",
"corresponding",
"to",
"1",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence",
"(",
"warm",
"conditions",
")"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1771-L1792
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.db020
|
def db020(self, value=None):
""" Corresponds to IDD Field `db020`
mean coincident wet-bulb temperature to
Dry-bulb temperature corresponding to 2.0% annual cumulative frequency of occurrence (warm conditions)
Args:
value (float): value for IDD Field `db020`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db020`'.format(value))
self._db020 = value
|
python
|
def db020(self, value=None):
""" Corresponds to IDD Field `db020`
mean coincident wet-bulb temperature to
Dry-bulb temperature corresponding to 2.0% annual cumulative frequency of occurrence (warm conditions)
Args:
value (float): value for IDD Field `db020`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db020`'.format(value))
self._db020 = value
|
[
"def",
"db020",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `db020`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_db020",
"=",
"value"
] |
Corresponds to IDD Field `db020`
mean coincident wet-bulb temperature to
Dry-bulb temperature corresponding to 2.0% annual cumulative frequency of occurrence (warm conditions)
Args:
value (float): value for IDD Field `db020`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"db020",
"mean",
"coincident",
"wet",
"-",
"bulb",
"temperature",
"to",
"Dry",
"-",
"bulb",
"temperature",
"corresponding",
"to",
"2",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence",
"(",
"warm",
"conditions",
")"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1805-L1826
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.wb_db020
|
def wb_db020(self, value=None):
""" Corresponds to IDD Field `wb_db020`
mean coincident wet-bulb temperature to
Dry-bulb temperature corresponding to 2.0% annual cumulative frequency of occurrence (warm conditions)
Args:
value (float): value for IDD Field `wb_db020`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `wb_db020`'.format(value))
self._wb_db020 = value
|
python
|
def wb_db020(self, value=None):
""" Corresponds to IDD Field `wb_db020`
mean coincident wet-bulb temperature to
Dry-bulb temperature corresponding to 2.0% annual cumulative frequency of occurrence (warm conditions)
Args:
value (float): value for IDD Field `wb_db020`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `wb_db020`'.format(value))
self._wb_db020 = value
|
[
"def",
"wb_db020",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `wb_db020`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_wb_db020",
"=",
"value"
] |
Corresponds to IDD Field `wb_db020`
mean coincident wet-bulb temperature to
Dry-bulb temperature corresponding to 2.0% annual cumulative frequency of occurrence (warm conditions)
Args:
value (float): value for IDD Field `wb_db020`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"wb_db020",
"mean",
"coincident",
"wet",
"-",
"bulb",
"temperature",
"to",
"Dry",
"-",
"bulb",
"temperature",
"corresponding",
"to",
"2",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence",
"(",
"warm",
"conditions",
")"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1839-L1860
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.wb004
|
def wb004(self, value=None):
""" Corresponds to IDD Field `wb004`
Wet-bulb temperature corresponding to 0.4% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `wb004`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `wb004`'.format(value))
self._wb004 = value
|
python
|
def wb004(self, value=None):
""" Corresponds to IDD Field `wb004`
Wet-bulb temperature corresponding to 0.4% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `wb004`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `wb004`'.format(value))
self._wb004 = value
|
[
"def",
"wb004",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `wb004`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_wb004",
"=",
"value"
] |
Corresponds to IDD Field `wb004`
Wet-bulb temperature corresponding to 0.4% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `wb004`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"wb004",
"Wet",
"-",
"bulb",
"temperature",
"corresponding",
"to",
"0",
".",
"4%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1873-L1893
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.db_wb004
|
def db_wb004(self, value=None):
""" Corresponds to IDD Field `db_wb004`
mean coincident dry-bulb temperature to
Wet-bulb temperature corresponding to 0.4% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_wb004`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_wb004`'.format(value))
self._db_wb004 = value
|
python
|
def db_wb004(self, value=None):
""" Corresponds to IDD Field `db_wb004`
mean coincident dry-bulb temperature to
Wet-bulb temperature corresponding to 0.4% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_wb004`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_wb004`'.format(value))
self._db_wb004 = value
|
[
"def",
"db_wb004",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `db_wb004`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_db_wb004",
"=",
"value"
] |
Corresponds to IDD Field `db_wb004`
mean coincident dry-bulb temperature to
Wet-bulb temperature corresponding to 0.4% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_wb004`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"db_wb004",
"mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"Wet",
"-",
"bulb",
"temperature",
"corresponding",
"to",
"0",
".",
"4%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1906-L1927
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.wb010
|
def wb010(self, value=None):
""" Corresponds to IDD Field `wb010`
Wet-bulb temperature corresponding to 1.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `wb010`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `wb010`'.format(value))
self._wb010 = value
|
python
|
def wb010(self, value=None):
""" Corresponds to IDD Field `wb010`
Wet-bulb temperature corresponding to 1.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `wb010`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `wb010`'.format(value))
self._wb010 = value
|
[
"def",
"wb010",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `wb010`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_wb010",
"=",
"value"
] |
Corresponds to IDD Field `wb010`
Wet-bulb temperature corresponding to 1.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `wb010`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"wb010",
"Wet",
"-",
"bulb",
"temperature",
"corresponding",
"to",
"1",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1940-L1960
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.db_wb010
|
def db_wb010(self, value=None):
""" Corresponds to IDD Field `db_wb010`
mean coincident dry-bulb temperature to
Wet-bulb temperature corresponding to 1.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_wb010`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_wb010`'.format(value))
self._db_wb010 = value
|
python
|
def db_wb010(self, value=None):
""" Corresponds to IDD Field `db_wb010`
mean coincident dry-bulb temperature to
Wet-bulb temperature corresponding to 1.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_wb010`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_wb010`'.format(value))
self._db_wb010 = value
|
[
"def",
"db_wb010",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `db_wb010`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_db_wb010",
"=",
"value"
] |
Corresponds to IDD Field `db_wb010`
mean coincident dry-bulb temperature to
Wet-bulb temperature corresponding to 1.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_wb010`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"db_wb010",
"mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"Wet",
"-",
"bulb",
"temperature",
"corresponding",
"to",
"1",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L1973-L1994
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.wb020
|
def wb020(self, value=None):
""" Corresponds to IDD Field `wb020`
Wet-bulb temperature corresponding to 02.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `wb020`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `wb020`'.format(value))
self._wb020 = value
|
python
|
def wb020(self, value=None):
""" Corresponds to IDD Field `wb020`
Wet-bulb temperature corresponding to 02.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `wb020`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `wb020`'.format(value))
self._wb020 = value
|
[
"def",
"wb020",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `wb020`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_wb020",
"=",
"value"
] |
Corresponds to IDD Field `wb020`
Wet-bulb temperature corresponding to 02.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `wb020`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"wb020",
"Wet",
"-",
"bulb",
"temperature",
"corresponding",
"to",
"02",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2007-L2027
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.db_wb020
|
def db_wb020(self, value=None):
""" Corresponds to IDD Field `db_wb020`
mean coincident dry-bulb temperature to
Wet-bulb temperature corresponding to 2.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_wb020`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_wb020`'.format(value))
self._db_wb020 = value
|
python
|
def db_wb020(self, value=None):
""" Corresponds to IDD Field `db_wb020`
mean coincident dry-bulb temperature to
Wet-bulb temperature corresponding to 2.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_wb020`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_wb020`'.format(value))
self._db_wb020 = value
|
[
"def",
"db_wb020",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `db_wb020`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_db_wb020",
"=",
"value"
] |
Corresponds to IDD Field `db_wb020`
mean coincident dry-bulb temperature to
Wet-bulb temperature corresponding to 2.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_wb020`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"db_wb020",
"mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"Wet",
"-",
"bulb",
"temperature",
"corresponding",
"to",
"2",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2040-L2061
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.ws_db004
|
def ws_db004(self, value=None):
""" Corresponds to IDD Field `ws_db004`
Mean wind speed coincident with 0.4% dry-bulb temperature
Args:
value (float): value for IDD Field `ws_db004`
Unit: m/s
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `ws_db004`'.format(value))
self._ws_db004 = value
|
python
|
def ws_db004(self, value=None):
""" Corresponds to IDD Field `ws_db004`
Mean wind speed coincident with 0.4% dry-bulb temperature
Args:
value (float): value for IDD Field `ws_db004`
Unit: m/s
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `ws_db004`'.format(value))
self._ws_db004 = value
|
[
"def",
"ws_db004",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `ws_db004`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_ws_db004",
"=",
"value"
] |
Corresponds to IDD Field `ws_db004`
Mean wind speed coincident with 0.4% dry-bulb temperature
Args:
value (float): value for IDD Field `ws_db004`
Unit: m/s
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"ws_db004",
"Mean",
"wind",
"speed",
"coincident",
"with",
"0",
".",
"4%",
"dry",
"-",
"bulb",
"temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2074-L2094
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.wd_db004
|
def wd_db004(self, value=None):
""" Corresponds to IDD Field `wd_db004`
corresponding most frequent wind direction
Mean wind speed coincident with 0.4% dry-bulb temperature
degrees true from north (east = 90 deg)
Args:
value (float): value for IDD Field `wd_db004`
Unit: deg
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `wd_db004`'.format(value))
self._wd_db004 = value
|
python
|
def wd_db004(self, value=None):
""" Corresponds to IDD Field `wd_db004`
corresponding most frequent wind direction
Mean wind speed coincident with 0.4% dry-bulb temperature
degrees true from north (east = 90 deg)
Args:
value (float): value for IDD Field `wd_db004`
Unit: deg
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `wd_db004`'.format(value))
self._wd_db004 = value
|
[
"def",
"wd_db004",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `wd_db004`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_wd_db004",
"=",
"value"
] |
Corresponds to IDD Field `wd_db004`
corresponding most frequent wind direction
Mean wind speed coincident with 0.4% dry-bulb temperature
degrees true from north (east = 90 deg)
Args:
value (float): value for IDD Field `wd_db004`
Unit: deg
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"wd_db004",
"corresponding",
"most",
"frequent",
"wind",
"direction",
"Mean",
"wind",
"speed",
"coincident",
"with",
"0",
".",
"4%",
"dry",
"-",
"bulb",
"temperature",
"degrees",
"true",
"from",
"north",
"(",
"east",
"=",
"90",
"deg",
")"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2107-L2129
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.dp004
|
def dp004(self, value=None):
""" Corresponds to IDD Field `dp004`
Dew-point temperature corresponding to 0.4% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `dp004`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dp004`'.format(value))
self._dp004 = value
|
python
|
def dp004(self, value=None):
""" Corresponds to IDD Field `dp004`
Dew-point temperature corresponding to 0.4% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `dp004`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dp004`'.format(value))
self._dp004 = value
|
[
"def",
"dp004",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `dp004`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_dp004",
"=",
"value"
] |
Corresponds to IDD Field `dp004`
Dew-point temperature corresponding to 0.4% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `dp004`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"dp004",
"Dew",
"-",
"point",
"temperature",
"corresponding",
"to",
"0",
".",
"4%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2142-L2162
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.hr_dp004
|
def hr_dp004(self, value=None):
""" Corresponds to IDD Field `hr_dp004`
humidity ratio corresponding to
Dew-point temperature corresponding to 0.4% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `hr_dp004`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `hr_dp004`'.format(value))
self._hr_dp004 = value
|
python
|
def hr_dp004(self, value=None):
""" Corresponds to IDD Field `hr_dp004`
humidity ratio corresponding to
Dew-point temperature corresponding to 0.4% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `hr_dp004`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `hr_dp004`'.format(value))
self._hr_dp004 = value
|
[
"def",
"hr_dp004",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `hr_dp004`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_hr_dp004",
"=",
"value"
] |
Corresponds to IDD Field `hr_dp004`
humidity ratio corresponding to
Dew-point temperature corresponding to 0.4% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `hr_dp004`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"hr_dp004",
"humidity",
"ratio",
"corresponding",
"to",
"Dew",
"-",
"point",
"temperature",
"corresponding",
"to",
"0",
".",
"4%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2175-L2195
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.db_dp004
|
def db_dp004(self, value=None):
""" Corresponds to IDD Field `db_dp004`
mean coincident dry-bulb temperature to
Dew-point temperature corresponding to 0.4% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_dp004`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_dp004`'.format(value))
self._db_dp004 = value
|
python
|
def db_dp004(self, value=None):
""" Corresponds to IDD Field `db_dp004`
mean coincident dry-bulb temperature to
Dew-point temperature corresponding to 0.4% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_dp004`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_dp004`'.format(value))
self._db_dp004 = value
|
[
"def",
"db_dp004",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `db_dp004`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_db_dp004",
"=",
"value"
] |
Corresponds to IDD Field `db_dp004`
mean coincident dry-bulb temperature to
Dew-point temperature corresponding to 0.4% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_dp004`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"db_dp004",
"mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"Dew",
"-",
"point",
"temperature",
"corresponding",
"to",
"0",
".",
"4%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2208-L2229
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.dp010
|
def dp010(self, value=None):
""" Corresponds to IDD Field `dp010`
Dew-point temperature corresponding to 1.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `dp010`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dp010`'.format(value))
self._dp010 = value
|
python
|
def dp010(self, value=None):
""" Corresponds to IDD Field `dp010`
Dew-point temperature corresponding to 1.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `dp010`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dp010`'.format(value))
self._dp010 = value
|
[
"def",
"dp010",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `dp010`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_dp010",
"=",
"value"
] |
Corresponds to IDD Field `dp010`
Dew-point temperature corresponding to 1.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `dp010`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"dp010",
"Dew",
"-",
"point",
"temperature",
"corresponding",
"to",
"1",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2242-L2262
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.hr_dp010
|
def hr_dp010(self, value=None):
""" Corresponds to IDD Field `hr_dp010`
humidity ratio corresponding to
Dew-point temperature corresponding to 1.0,% annual cumulative frequency of occurrence
calculated at the standard atmospheric pressure at elevation of station
Args:
value (float): value for IDD Field `hr_dp010`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `hr_dp010`'.format(value))
self._hr_dp010 = value
|
python
|
def hr_dp010(self, value=None):
""" Corresponds to IDD Field `hr_dp010`
humidity ratio corresponding to
Dew-point temperature corresponding to 1.0,% annual cumulative frequency of occurrence
calculated at the standard atmospheric pressure at elevation of station
Args:
value (float): value for IDD Field `hr_dp010`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `hr_dp010`'.format(value))
self._hr_dp010 = value
|
[
"def",
"hr_dp010",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `hr_dp010`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_hr_dp010",
"=",
"value"
] |
Corresponds to IDD Field `hr_dp010`
humidity ratio corresponding to
Dew-point temperature corresponding to 1.0,% annual cumulative frequency of occurrence
calculated at the standard atmospheric pressure at elevation of station
Args:
value (float): value for IDD Field `hr_dp010`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"hr_dp010",
"humidity",
"ratio",
"corresponding",
"to",
"Dew",
"-",
"point",
"temperature",
"corresponding",
"to",
"1",
".",
"0",
"%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence",
"calculated",
"at",
"the",
"standard",
"atmospheric",
"pressure",
"at",
"elevation",
"of",
"station"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2275-L2296
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.db_dp010
|
def db_dp010(self, value=None):
""" Corresponds to IDD Field `db_dp010`
mean coincident dry-bulb temperature to
Dew-point temperature corresponding to 1.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_dp010`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_dp010`'.format(value))
self._db_dp010 = value
|
python
|
def db_dp010(self, value=None):
""" Corresponds to IDD Field `db_dp010`
mean coincident dry-bulb temperature to
Dew-point temperature corresponding to 1.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_dp010`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_dp010`'.format(value))
self._db_dp010 = value
|
[
"def",
"db_dp010",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `db_dp010`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_db_dp010",
"=",
"value"
] |
Corresponds to IDD Field `db_dp010`
mean coincident dry-bulb temperature to
Dew-point temperature corresponding to 1.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_dp010`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"db_dp010",
"mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"Dew",
"-",
"point",
"temperature",
"corresponding",
"to",
"1",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2309-L2330
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.dp020
|
def dp020(self, value=None):
""" Corresponds to IDD Field `dp020`
Dew-point temperature corresponding to 2.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `dp020`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dp020`'.format(value))
self._dp020 = value
|
python
|
def dp020(self, value=None):
""" Corresponds to IDD Field `dp020`
Dew-point temperature corresponding to 2.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `dp020`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dp020`'.format(value))
self._dp020 = value
|
[
"def",
"dp020",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `dp020`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_dp020",
"=",
"value"
] |
Corresponds to IDD Field `dp020`
Dew-point temperature corresponding to 2.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `dp020`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"dp020",
"Dew",
"-",
"point",
"temperature",
"corresponding",
"to",
"2",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2343-L2363
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.hr_dp020
|
def hr_dp020(self, value=None):
""" Corresponds to IDD Field `hr_dp020`
humidity ratio corresponding to
Dew-point temperature corresponding to 2.0% annual cumulative frequency of occurrence
calculated at the standard atmospheric pressure at elevation of station
Args:
value (float): value for IDD Field `hr_dp020`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `hr_dp020`'.format(value))
self._hr_dp020 = value
|
python
|
def hr_dp020(self, value=None):
""" Corresponds to IDD Field `hr_dp020`
humidity ratio corresponding to
Dew-point temperature corresponding to 2.0% annual cumulative frequency of occurrence
calculated at the standard atmospheric pressure at elevation of station
Args:
value (float): value for IDD Field `hr_dp020`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `hr_dp020`'.format(value))
self._hr_dp020 = value
|
[
"def",
"hr_dp020",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `hr_dp020`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_hr_dp020",
"=",
"value"
] |
Corresponds to IDD Field `hr_dp020`
humidity ratio corresponding to
Dew-point temperature corresponding to 2.0% annual cumulative frequency of occurrence
calculated at the standard atmospheric pressure at elevation of station
Args:
value (float): value for IDD Field `hr_dp020`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"hr_dp020",
"humidity",
"ratio",
"corresponding",
"to",
"Dew",
"-",
"point",
"temperature",
"corresponding",
"to",
"2",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence",
"calculated",
"at",
"the",
"standard",
"atmospheric",
"pressure",
"at",
"elevation",
"of",
"station"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2376-L2397
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.db_dp020
|
def db_dp020(self, value=None):
""" Corresponds to IDD Field `db_dp020`
mean coincident dry-bulb temperature to
Dew-point temperature corresponding to 2.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_dp020`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_dp020`'.format(value))
self._db_dp020 = value
|
python
|
def db_dp020(self, value=None):
""" Corresponds to IDD Field `db_dp020`
mean coincident dry-bulb temperature to
Dew-point temperature corresponding to 2.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_dp020`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_dp020`'.format(value))
self._db_dp020 = value
|
[
"def",
"db_dp020",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `db_dp020`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_db_dp020",
"=",
"value"
] |
Corresponds to IDD Field `db_dp020`
mean coincident dry-bulb temperature to
Dew-point temperature corresponding to 2.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_dp020`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"db_dp020",
"mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"Dew",
"-",
"point",
"temperature",
"corresponding",
"to",
"2",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2410-L2431
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.en004
|
def en004(self, value=None):
""" Corresponds to IDD Field `en004`
mean coincident dry-bulb temperature to
Enthalpy corresponding to 0.4% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `en004`
Unit: kJ/kg
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `en004`'.format(value))
self._en004 = value
|
python
|
def en004(self, value=None):
""" Corresponds to IDD Field `en004`
mean coincident dry-bulb temperature to
Enthalpy corresponding to 0.4% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `en004`
Unit: kJ/kg
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `en004`'.format(value))
self._en004 = value
|
[
"def",
"en004",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `en004`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_en004",
"=",
"value"
] |
Corresponds to IDD Field `en004`
mean coincident dry-bulb temperature to
Enthalpy corresponding to 0.4% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `en004`
Unit: kJ/kg
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"en004",
"mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"Enthalpy",
"corresponding",
"to",
"0",
".",
"4%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2444-L2465
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.db_en004
|
def db_en004(self, value=None):
""" Corresponds to IDD Field `db_en004`
mean coincident dry-bulb temperature to
Enthalpy corresponding to 0.4% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_en004`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_en004`'.format(value))
self._db_en004 = value
|
python
|
def db_en004(self, value=None):
""" Corresponds to IDD Field `db_en004`
mean coincident dry-bulb temperature to
Enthalpy corresponding to 0.4% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_en004`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_en004`'.format(value))
self._db_en004 = value
|
[
"def",
"db_en004",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `db_en004`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_db_en004",
"=",
"value"
] |
Corresponds to IDD Field `db_en004`
mean coincident dry-bulb temperature to
Enthalpy corresponding to 0.4% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_en004`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"db_en004",
"mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"Enthalpy",
"corresponding",
"to",
"0",
".",
"4%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2478-L2499
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.en010
|
def en010(self, value=None):
""" Corresponds to IDD Field `en010`
mean coincident dry-bulb temperature to
Enthalpy corresponding to 1.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `en010`
Unit: kJ/kg
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `en010`'.format(value))
self._en010 = value
|
python
|
def en010(self, value=None):
""" Corresponds to IDD Field `en010`
mean coincident dry-bulb temperature to
Enthalpy corresponding to 1.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `en010`
Unit: kJ/kg
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `en010`'.format(value))
self._en010 = value
|
[
"def",
"en010",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `en010`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_en010",
"=",
"value"
] |
Corresponds to IDD Field `en010`
mean coincident dry-bulb temperature to
Enthalpy corresponding to 1.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `en010`
Unit: kJ/kg
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"en010",
"mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"Enthalpy",
"corresponding",
"to",
"1",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2512-L2533
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.db_en010
|
def db_en010(self, value=None):
""" Corresponds to IDD Field `db_en010`
mean coincident dry-bulb temperature to
Enthalpy corresponding to 1.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_en010`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_en010`'.format(value))
self._db_en010 = value
|
python
|
def db_en010(self, value=None):
""" Corresponds to IDD Field `db_en010`
mean coincident dry-bulb temperature to
Enthalpy corresponding to 1.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_en010`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_en010`'.format(value))
self._db_en010 = value
|
[
"def",
"db_en010",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `db_en010`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_db_en010",
"=",
"value"
] |
Corresponds to IDD Field `db_en010`
mean coincident dry-bulb temperature to
Enthalpy corresponding to 1.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_en010`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"db_en010",
"mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"Enthalpy",
"corresponding",
"to",
"1",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2546-L2567
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.en020
|
def en020(self, value=None):
""" Corresponds to IDD Field `en020`
mean coincident dry-bulb temperature to
Enthalpy corresponding to 2.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `en020`
Unit: kJ/kg
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `en020`'.format(value))
self._en020 = value
|
python
|
def en020(self, value=None):
""" Corresponds to IDD Field `en020`
mean coincident dry-bulb temperature to
Enthalpy corresponding to 2.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `en020`
Unit: kJ/kg
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `en020`'.format(value))
self._en020 = value
|
[
"def",
"en020",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `en020`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_en020",
"=",
"value"
] |
Corresponds to IDD Field `en020`
mean coincident dry-bulb temperature to
Enthalpy corresponding to 2.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `en020`
Unit: kJ/kg
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"en020",
"mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"Enthalpy",
"corresponding",
"to",
"2",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2580-L2601
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.db_en020
|
def db_en020(self, value=None):
""" Corresponds to IDD Field `db_en020`
mean coincident dry-bulb temperature to
Enthalpy corresponding to 2.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_en020`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_en020`'.format(value))
self._db_en020 = value
|
python
|
def db_en020(self, value=None):
""" Corresponds to IDD Field `db_en020`
mean coincident dry-bulb temperature to
Enthalpy corresponding to 2.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_en020`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `db_en020`'.format(value))
self._db_en020 = value
|
[
"def",
"db_en020",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `db_en020`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_db_en020",
"=",
"value"
] |
Corresponds to IDD Field `db_en020`
mean coincident dry-bulb temperature to
Enthalpy corresponding to 2.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `db_en020`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"db_en020",
"mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"Enthalpy",
"corresponding",
"to",
"2",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2614-L2635
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.hrs_84_and_db12_8_or_20_6
|
def hrs_84_and_db12_8_or_20_6(self, value=None):
""" Corresponds to IDD Field `hrs_84_and_db12_8_or_20_6`
Number of hours between 8 AM and 4 PM (inclusive) with dry-bulb temperature between 12.8 and 20.6 C
Args:
value (float): value for IDD Field `hrs_84_and_db12_8_or_20_6`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `hrs_84_and_db12_8_or_20_6`'.format(value))
self._hrs_84_and_db12_8_or_20_6 = value
|
python
|
def hrs_84_and_db12_8_or_20_6(self, value=None):
""" Corresponds to IDD Field `hrs_84_and_db12_8_or_20_6`
Number of hours between 8 AM and 4 PM (inclusive) with dry-bulb temperature between 12.8 and 20.6 C
Args:
value (float): value for IDD Field `hrs_84_and_db12_8_or_20_6`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `hrs_84_and_db12_8_or_20_6`'.format(value))
self._hrs_84_and_db12_8_or_20_6 = value
|
[
"def",
"hrs_84_and_db12_8_or_20_6",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `hrs_84_and_db12_8_or_20_6`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_hrs_84_and_db12_8_or_20_6",
"=",
"value"
] |
Corresponds to IDD Field `hrs_84_and_db12_8_or_20_6`
Number of hours between 8 AM and 4 PM (inclusive) with dry-bulb temperature between 12.8 and 20.6 C
Args:
value (float): value for IDD Field `hrs_84_and_db12_8_or_20_6`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"hrs_84_and_db12_8_or_20_6",
"Number",
"of",
"hours",
"between",
"8",
"AM",
"and",
"4",
"PM",
"(",
"inclusive",
")",
"with",
"dry",
"-",
"bulb",
"temperature",
"between",
"12",
".",
"8",
"and",
"20",
".",
"6",
"C"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2648-L2668
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.design_stat_extremes
|
def design_stat_extremes(self, value="Extremes"):
"""Corresponds to IDD Field `design_stat_extremes`
Args:
value (str): value for IDD Field `design_stat_extremes`
Accepted values are:
- Extremes
Default value: Extremes
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError(
'value {} need to be of type str '
'for field `design_stat_extremes`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `design_stat_extremes`')
vals = set()
vals.add("Extremes")
if value not in vals:
raise ValueError('value {} is not an accepted value for '
'field `design_stat_extremes`'.format(value))
self._design_stat_extremes = value
|
python
|
def design_stat_extremes(self, value="Extremes"):
"""Corresponds to IDD Field `design_stat_extremes`
Args:
value (str): value for IDD Field `design_stat_extremes`
Accepted values are:
- Extremes
Default value: Extremes
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError(
'value {} need to be of type str '
'for field `design_stat_extremes`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `design_stat_extremes`')
vals = set()
vals.add("Extremes")
if value not in vals:
raise ValueError('value {} is not an accepted value for '
'field `design_stat_extremes`'.format(value))
self._design_stat_extremes = value
|
[
"def",
"design_stat_extremes",
"(",
"self",
",",
"value",
"=",
"\"Extremes\"",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type str '",
"'for field `design_stat_extremes`'",
".",
"format",
"(",
"value",
")",
")",
"if",
"','",
"in",
"value",
":",
"raise",
"ValueError",
"(",
"'value should not contain a comma '",
"'for field `design_stat_extremes`'",
")",
"vals",
"=",
"set",
"(",
")",
"vals",
".",
"add",
"(",
"\"Extremes\"",
")",
"if",
"value",
"not",
"in",
"vals",
":",
"raise",
"ValueError",
"(",
"'value {} is not an accepted value for '",
"'field `design_stat_extremes`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_design_stat_extremes",
"=",
"value"
] |
Corresponds to IDD Field `design_stat_extremes`
Args:
value (str): value for IDD Field `design_stat_extremes`
Accepted values are:
- Extremes
Default value: Extremes
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"design_stat_extremes"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2681-L2712
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.ws010
|
def ws010(self, value=None):
""" Corresponds to IDD Field `ws010`
Wind speed corresponding to 1.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `ws010`
Unit: m/s
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `ws010`'.format(value))
self._ws010 = value
|
python
|
def ws010(self, value=None):
""" Corresponds to IDD Field `ws010`
Wind speed corresponding to 1.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `ws010`
Unit: m/s
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `ws010`'.format(value))
self._ws010 = value
|
[
"def",
"ws010",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `ws010`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_ws010",
"=",
"value"
] |
Corresponds to IDD Field `ws010`
Wind speed corresponding to 1.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `ws010`
Unit: m/s
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"ws010",
"Wind",
"speed",
"corresponding",
"to",
"1",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2725-L2745
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.ws025
|
def ws025(self, value=None):
""" Corresponds to IDD Field `ws025`
Wind speed corresponding to 2.5% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `ws025`
Unit: m/s
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `ws025`'.format(value))
self._ws025 = value
|
python
|
def ws025(self, value=None):
""" Corresponds to IDD Field `ws025`
Wind speed corresponding to 2.5% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `ws025`
Unit: m/s
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `ws025`'.format(value))
self._ws025 = value
|
[
"def",
"ws025",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `ws025`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_ws025",
"=",
"value"
] |
Corresponds to IDD Field `ws025`
Wind speed corresponding to 2.5% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `ws025`
Unit: m/s
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"ws025",
"Wind",
"speed",
"corresponding",
"to",
"2",
".",
"5%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2758-L2778
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.ws050
|
def ws050(self, value=None):
""" Corresponds to IDD Field `ws050`
Wind speed corresponding 5.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `ws050`
Unit: m/s
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `ws050`'.format(value))
self._ws050 = value
|
python
|
def ws050(self, value=None):
""" Corresponds to IDD Field `ws050`
Wind speed corresponding 5.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `ws050`
Unit: m/s
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `ws050`'.format(value))
self._ws050 = value
|
[
"def",
"ws050",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `ws050`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_ws050",
"=",
"value"
] |
Corresponds to IDD Field `ws050`
Wind speed corresponding 5.0% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `ws050`
Unit: m/s
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"ws050",
"Wind",
"speed",
"corresponding",
"5",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2791-L2811
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.wbmax
|
def wbmax(self, value=None):
""" Corresponds to IDD Field `wbmax`
Extreme maximum wet-bulb temperature
Args:
value (float): value for IDD Field `wbmax`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `wbmax`'.format(value))
self._wbmax = value
|
python
|
def wbmax(self, value=None):
""" Corresponds to IDD Field `wbmax`
Extreme maximum wet-bulb temperature
Args:
value (float): value for IDD Field `wbmax`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `wbmax`'.format(value))
self._wbmax = value
|
[
"def",
"wbmax",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `wbmax`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_wbmax",
"=",
"value"
] |
Corresponds to IDD Field `wbmax`
Extreme maximum wet-bulb temperature
Args:
value (float): value for IDD Field `wbmax`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"wbmax",
"Extreme",
"maximum",
"wet",
"-",
"bulb",
"temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2824-L2844
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.dbmin_mean
|
def dbmin_mean(self, value=None):
""" Corresponds to IDD Field `dbmin_mean`
Mean of extreme annual minimum dry-bulb temperature
Args:
value (float): value for IDD Field `dbmin_mean`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmin_mean`'.format(value))
self._dbmin_mean = value
|
python
|
def dbmin_mean(self, value=None):
""" Corresponds to IDD Field `dbmin_mean`
Mean of extreme annual minimum dry-bulb temperature
Args:
value (float): value for IDD Field `dbmin_mean`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmin_mean`'.format(value))
self._dbmin_mean = value
|
[
"def",
"dbmin_mean",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `dbmin_mean`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_dbmin_mean",
"=",
"value"
] |
Corresponds to IDD Field `dbmin_mean`
Mean of extreme annual minimum dry-bulb temperature
Args:
value (float): value for IDD Field `dbmin_mean`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"dbmin_mean",
"Mean",
"of",
"extreme",
"annual",
"minimum",
"dry",
"-",
"bulb",
"temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2857-L2877
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.dbmax_mean
|
def dbmax_mean(self, value=None):
""" Corresponds to IDD Field `dbmax_mean`
Mean of extreme annual maximum dry-bulb temperature
Args:
value (float): value for IDD Field `dbmax_mean`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmax_mean`'.format(value))
self._dbmax_mean = value
|
python
|
def dbmax_mean(self, value=None):
""" Corresponds to IDD Field `dbmax_mean`
Mean of extreme annual maximum dry-bulb temperature
Args:
value (float): value for IDD Field `dbmax_mean`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmax_mean`'.format(value))
self._dbmax_mean = value
|
[
"def",
"dbmax_mean",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `dbmax_mean`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_dbmax_mean",
"=",
"value"
] |
Corresponds to IDD Field `dbmax_mean`
Mean of extreme annual maximum dry-bulb temperature
Args:
value (float): value for IDD Field `dbmax_mean`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"dbmax_mean",
"Mean",
"of",
"extreme",
"annual",
"maximum",
"dry",
"-",
"bulb",
"temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2890-L2910
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.dbmin_stddev
|
def dbmin_stddev(self, value=None):
""" Corresponds to IDD Field `dbmin_stddev`
Standard deviation of extreme annual minimum dry-bulb temperature
Args:
value (float): value for IDD Field `dbmin_stddev`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmin_stddev`'.format(value))
self._dbmin_stddev = value
|
python
|
def dbmin_stddev(self, value=None):
""" Corresponds to IDD Field `dbmin_stddev`
Standard deviation of extreme annual minimum dry-bulb temperature
Args:
value (float): value for IDD Field `dbmin_stddev`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmin_stddev`'.format(value))
self._dbmin_stddev = value
|
[
"def",
"dbmin_stddev",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `dbmin_stddev`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_dbmin_stddev",
"=",
"value"
] |
Corresponds to IDD Field `dbmin_stddev`
Standard deviation of extreme annual minimum dry-bulb temperature
Args:
value (float): value for IDD Field `dbmin_stddev`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"dbmin_stddev",
"Standard",
"deviation",
"of",
"extreme",
"annual",
"minimum",
"dry",
"-",
"bulb",
"temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2923-L2943
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.dbmax_stddev
|
def dbmax_stddev(self, value=None):
""" Corresponds to IDD Field `dbmax_stddev`
Standard deviation of extreme annual maximum dry-bulb temperature
Args:
value (float): value for IDD Field `dbmax_stddev`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmax_stddev`'.format(value))
self._dbmax_stddev = value
|
python
|
def dbmax_stddev(self, value=None):
""" Corresponds to IDD Field `dbmax_stddev`
Standard deviation of extreme annual maximum dry-bulb temperature
Args:
value (float): value for IDD Field `dbmax_stddev`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmax_stddev`'.format(value))
self._dbmax_stddev = value
|
[
"def",
"dbmax_stddev",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `dbmax_stddev`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_dbmax_stddev",
"=",
"value"
] |
Corresponds to IDD Field `dbmax_stddev`
Standard deviation of extreme annual maximum dry-bulb temperature
Args:
value (float): value for IDD Field `dbmax_stddev`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"dbmax_stddev",
"Standard",
"deviation",
"of",
"extreme",
"annual",
"maximum",
"dry",
"-",
"bulb",
"temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2956-L2976
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.dbmin05years
|
def dbmin05years(self, value=None):
""" Corresponds to IDD Field `dbmin05years`
5-year return period values for minimum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmin05years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmin05years`'.format(value))
self._dbmin05years = value
|
python
|
def dbmin05years(self, value=None):
""" Corresponds to IDD Field `dbmin05years`
5-year return period values for minimum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmin05years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmin05years`'.format(value))
self._dbmin05years = value
|
[
"def",
"dbmin05years",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `dbmin05years`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_dbmin05years",
"=",
"value"
] |
Corresponds to IDD Field `dbmin05years`
5-year return period values for minimum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmin05years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"dbmin05years",
"5",
"-",
"year",
"return",
"period",
"values",
"for",
"minimum",
"extreme",
"dry",
"-",
"bulb",
"temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2989-L3009
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.dbmax05years
|
def dbmax05years(self, value=None):
""" Corresponds to IDD Field `dbmax05years`
5-year return period values for maximum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmax05years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmax05years`'.format(value))
self._dbmax05years = value
|
python
|
def dbmax05years(self, value=None):
""" Corresponds to IDD Field `dbmax05years`
5-year return period values for maximum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmax05years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmax05years`'.format(value))
self._dbmax05years = value
|
[
"def",
"dbmax05years",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `dbmax05years`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_dbmax05years",
"=",
"value"
] |
Corresponds to IDD Field `dbmax05years`
5-year return period values for maximum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmax05years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"dbmax05years",
"5",
"-",
"year",
"return",
"period",
"values",
"for",
"maximum",
"extreme",
"dry",
"-",
"bulb",
"temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3022-L3042
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.dbmin10years
|
def dbmin10years(self, value=None):
""" Corresponds to IDD Field `dbmin10years`
10-year return period values for minimum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmin10years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmin10years`'.format(value))
self._dbmin10years = value
|
python
|
def dbmin10years(self, value=None):
""" Corresponds to IDD Field `dbmin10years`
10-year return period values for minimum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmin10years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmin10years`'.format(value))
self._dbmin10years = value
|
[
"def",
"dbmin10years",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `dbmin10years`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_dbmin10years",
"=",
"value"
] |
Corresponds to IDD Field `dbmin10years`
10-year return period values for minimum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmin10years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"dbmin10years",
"10",
"-",
"year",
"return",
"period",
"values",
"for",
"minimum",
"extreme",
"dry",
"-",
"bulb",
"temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3055-L3075
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.dbmax10years
|
def dbmax10years(self, value=None):
""" Corresponds to IDD Field `dbmax10years`
10-year return period values for maximum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmax10years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmax10years`'.format(value))
self._dbmax10years = value
|
python
|
def dbmax10years(self, value=None):
""" Corresponds to IDD Field `dbmax10years`
10-year return period values for maximum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmax10years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmax10years`'.format(value))
self._dbmax10years = value
|
[
"def",
"dbmax10years",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `dbmax10years`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_dbmax10years",
"=",
"value"
] |
Corresponds to IDD Field `dbmax10years`
10-year return period values for maximum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmax10years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"dbmax10years",
"10",
"-",
"year",
"return",
"period",
"values",
"for",
"maximum",
"extreme",
"dry",
"-",
"bulb",
"temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3088-L3108
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.dbmin20years
|
def dbmin20years(self, value=None):
""" Corresponds to IDD Field `dbmin20years`
20-year return period values for minimum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmin20years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmin20years`'.format(value))
self._dbmin20years = value
|
python
|
def dbmin20years(self, value=None):
""" Corresponds to IDD Field `dbmin20years`
20-year return period values for minimum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmin20years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmin20years`'.format(value))
self._dbmin20years = value
|
[
"def",
"dbmin20years",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `dbmin20years`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_dbmin20years",
"=",
"value"
] |
Corresponds to IDD Field `dbmin20years`
20-year return period values for minimum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmin20years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"dbmin20years",
"20",
"-",
"year",
"return",
"period",
"values",
"for",
"minimum",
"extreme",
"dry",
"-",
"bulb",
"temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3121-L3141
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.dbmax20years
|
def dbmax20years(self, value=None):
""" Corresponds to IDD Field `dbmax20years`
20-year return period values for maximum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmax20years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmax20years`'.format(value))
self._dbmax20years = value
|
python
|
def dbmax20years(self, value=None):
""" Corresponds to IDD Field `dbmax20years`
20-year return period values for maximum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmax20years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmax20years`'.format(value))
self._dbmax20years = value
|
[
"def",
"dbmax20years",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `dbmax20years`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_dbmax20years",
"=",
"value"
] |
Corresponds to IDD Field `dbmax20years`
20-year return period values for maximum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmax20years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"dbmax20years",
"20",
"-",
"year",
"return",
"period",
"values",
"for",
"maximum",
"extreme",
"dry",
"-",
"bulb",
"temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3154-L3174
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.dbmin50years
|
def dbmin50years(self, value=None):
""" Corresponds to IDD Field `dbmin50years`
50-year return period values for minimum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmin50years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmin50years`'.format(value))
self._dbmin50years = value
|
python
|
def dbmin50years(self, value=None):
""" Corresponds to IDD Field `dbmin50years`
50-year return period values for minimum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmin50years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmin50years`'.format(value))
self._dbmin50years = value
|
[
"def",
"dbmin50years",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `dbmin50years`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_dbmin50years",
"=",
"value"
] |
Corresponds to IDD Field `dbmin50years`
50-year return period values for minimum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmin50years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"dbmin50years",
"50",
"-",
"year",
"return",
"period",
"values",
"for",
"minimum",
"extreme",
"dry",
"-",
"bulb",
"temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3187-L3207
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.dbmax50years
|
def dbmax50years(self, value=None):
""" Corresponds to IDD Field `dbmax50years`
50-year return period values for maximum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmax50years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmax50years`'.format(value))
self._dbmax50years = value
|
python
|
def dbmax50years(self, value=None):
""" Corresponds to IDD Field `dbmax50years`
50-year return period values for maximum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmax50years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError('value {} need to be of type float '
'for field `dbmax50years`'.format(value))
self._dbmax50years = value
|
[
"def",
"dbmax50years",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `dbmax50years`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_dbmax50years",
"=",
"value"
] |
Corresponds to IDD Field `dbmax50years`
50-year return period values for maximum extreme dry-bulb temperature
Args:
value (float): value for IDD Field `dbmax50years`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"dbmax50years",
"50",
"-",
"year",
"return",
"period",
"values",
"for",
"maximum",
"extreme",
"dry",
"-",
"bulb",
"temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3220-L3240
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignCondition.export
|
def export(self, top=True):
"""Exports object to its string representation.
Args:
top (bool): if True appends `internal_name` before values.
All non list objects should be exported with value top=True,
all list objects, that are embedded in as fields inlist objects
should be exported with `top`=False
Returns:
str: The objects string representation
"""
out = []
if top:
out.append(self._internal_name)
out.append(self._to_str(self.title_of_design_condition))
out.append(self._to_str(self.unkown_field))
out.append(self._to_str(self.design_stat_heating))
out.append(self._to_str(self.coldestmonth))
out.append(self._to_str(self.db996))
out.append(self._to_str(self.db990))
out.append(self._to_str(self.dp996))
out.append(self._to_str(self.hr_dp996))
out.append(self._to_str(self.db_dp996))
out.append(self._to_str(self.dp990))
out.append(self._to_str(self.hr_dp990))
out.append(self._to_str(self.db_dp990))
out.append(self._to_str(self.ws004c))
out.append(self._to_str(self.db_ws004c))
out.append(self._to_str(self.ws010c))
out.append(self._to_str(self.db_ws010c))
out.append(self._to_str(self.ws_db996))
out.append(self._to_str(self.wd_db996))
out.append(self._to_str(self.design_stat_cooling))
out.append(self._to_str(self.hottestmonth))
out.append(self._to_str(self.dbr))
out.append(self._to_str(self.db004))
out.append(self._to_str(self.wb_db004))
out.append(self._to_str(self.db010))
out.append(self._to_str(self.wb_db010))
out.append(self._to_str(self.db020))
out.append(self._to_str(self.wb_db020))
out.append(self._to_str(self.wb004))
out.append(self._to_str(self.db_wb004))
out.append(self._to_str(self.wb010))
out.append(self._to_str(self.db_wb010))
out.append(self._to_str(self.wb020))
out.append(self._to_str(self.db_wb020))
out.append(self._to_str(self.ws_db004))
out.append(self._to_str(self.wd_db004))
out.append(self._to_str(self.dp004))
out.append(self._to_str(self.hr_dp004))
out.append(self._to_str(self.db_dp004))
out.append(self._to_str(self.dp010))
out.append(self._to_str(self.hr_dp010))
out.append(self._to_str(self.db_dp010))
out.append(self._to_str(self.dp020))
out.append(self._to_str(self.hr_dp020))
out.append(self._to_str(self.db_dp020))
out.append(self._to_str(self.en004))
out.append(self._to_str(self.db_en004))
out.append(self._to_str(self.en010))
out.append(self._to_str(self.db_en010))
out.append(self._to_str(self.en020))
out.append(self._to_str(self.db_en020))
out.append(self._to_str(self.hrs_84_and_db12_8_or_20_6))
out.append(self._to_str(self.design_stat_extremes))
out.append(self._to_str(self.ws010))
out.append(self._to_str(self.ws025))
out.append(self._to_str(self.ws050))
out.append(self._to_str(self.wbmax))
out.append(self._to_str(self.dbmin_mean))
out.append(self._to_str(self.dbmax_mean))
out.append(self._to_str(self.dbmin_stddev))
out.append(self._to_str(self.dbmax_stddev))
out.append(self._to_str(self.dbmin05years))
out.append(self._to_str(self.dbmax05years))
out.append(self._to_str(self.dbmin10years))
out.append(self._to_str(self.dbmax10years))
out.append(self._to_str(self.dbmin20years))
out.append(self._to_str(self.dbmax20years))
out.append(self._to_str(self.dbmin50years))
out.append(self._to_str(self.dbmax50years))
return ",".join(out)
|
python
|
def export(self, top=True):
"""Exports object to its string representation.
Args:
top (bool): if True appends `internal_name` before values.
All non list objects should be exported with value top=True,
all list objects, that are embedded in as fields inlist objects
should be exported with `top`=False
Returns:
str: The objects string representation
"""
out = []
if top:
out.append(self._internal_name)
out.append(self._to_str(self.title_of_design_condition))
out.append(self._to_str(self.unkown_field))
out.append(self._to_str(self.design_stat_heating))
out.append(self._to_str(self.coldestmonth))
out.append(self._to_str(self.db996))
out.append(self._to_str(self.db990))
out.append(self._to_str(self.dp996))
out.append(self._to_str(self.hr_dp996))
out.append(self._to_str(self.db_dp996))
out.append(self._to_str(self.dp990))
out.append(self._to_str(self.hr_dp990))
out.append(self._to_str(self.db_dp990))
out.append(self._to_str(self.ws004c))
out.append(self._to_str(self.db_ws004c))
out.append(self._to_str(self.ws010c))
out.append(self._to_str(self.db_ws010c))
out.append(self._to_str(self.ws_db996))
out.append(self._to_str(self.wd_db996))
out.append(self._to_str(self.design_stat_cooling))
out.append(self._to_str(self.hottestmonth))
out.append(self._to_str(self.dbr))
out.append(self._to_str(self.db004))
out.append(self._to_str(self.wb_db004))
out.append(self._to_str(self.db010))
out.append(self._to_str(self.wb_db010))
out.append(self._to_str(self.db020))
out.append(self._to_str(self.wb_db020))
out.append(self._to_str(self.wb004))
out.append(self._to_str(self.db_wb004))
out.append(self._to_str(self.wb010))
out.append(self._to_str(self.db_wb010))
out.append(self._to_str(self.wb020))
out.append(self._to_str(self.db_wb020))
out.append(self._to_str(self.ws_db004))
out.append(self._to_str(self.wd_db004))
out.append(self._to_str(self.dp004))
out.append(self._to_str(self.hr_dp004))
out.append(self._to_str(self.db_dp004))
out.append(self._to_str(self.dp010))
out.append(self._to_str(self.hr_dp010))
out.append(self._to_str(self.db_dp010))
out.append(self._to_str(self.dp020))
out.append(self._to_str(self.hr_dp020))
out.append(self._to_str(self.db_dp020))
out.append(self._to_str(self.en004))
out.append(self._to_str(self.db_en004))
out.append(self._to_str(self.en010))
out.append(self._to_str(self.db_en010))
out.append(self._to_str(self.en020))
out.append(self._to_str(self.db_en020))
out.append(self._to_str(self.hrs_84_and_db12_8_or_20_6))
out.append(self._to_str(self.design_stat_extremes))
out.append(self._to_str(self.ws010))
out.append(self._to_str(self.ws025))
out.append(self._to_str(self.ws050))
out.append(self._to_str(self.wbmax))
out.append(self._to_str(self.dbmin_mean))
out.append(self._to_str(self.dbmax_mean))
out.append(self._to_str(self.dbmin_stddev))
out.append(self._to_str(self.dbmax_stddev))
out.append(self._to_str(self.dbmin05years))
out.append(self._to_str(self.dbmax05years))
out.append(self._to_str(self.dbmin10years))
out.append(self._to_str(self.dbmax10years))
out.append(self._to_str(self.dbmin20years))
out.append(self._to_str(self.dbmax20years))
out.append(self._to_str(self.dbmin50years))
out.append(self._to_str(self.dbmax50years))
return ",".join(out)
|
[
"def",
"export",
"(",
"self",
",",
"top",
"=",
"True",
")",
":",
"out",
"=",
"[",
"]",
"if",
"top",
":",
"out",
".",
"append",
"(",
"self",
".",
"_internal_name",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"title_of_design_condition",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"unkown_field",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"design_stat_heating",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"coldestmonth",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"db996",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"db990",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"dp996",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"hr_dp996",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"db_dp996",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"dp990",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"hr_dp990",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"db_dp990",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"ws004c",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"db_ws004c",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"ws010c",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"db_ws010c",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"ws_db996",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"wd_db996",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"design_stat_cooling",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"hottestmonth",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"dbr",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"db004",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"wb_db004",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"db010",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"wb_db010",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"db020",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"wb_db020",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"wb004",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"db_wb004",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"wb010",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"db_wb010",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"wb020",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"db_wb020",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"ws_db004",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"wd_db004",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"dp004",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"hr_dp004",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"db_dp004",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"dp010",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"hr_dp010",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"db_dp010",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"dp020",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"hr_dp020",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"db_dp020",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"en004",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"db_en004",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"en010",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"db_en010",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"en020",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"db_en020",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"hrs_84_and_db12_8_or_20_6",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"design_stat_extremes",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"ws010",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"ws025",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"ws050",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"wbmax",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"dbmin_mean",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"dbmax_mean",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"dbmin_stddev",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"dbmax_stddev",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"dbmin05years",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"dbmax05years",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"dbmin10years",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"dbmax10years",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"dbmin20years",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"dbmax20years",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"dbmin50years",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"dbmax50years",
")",
")",
"return",
"\",\"",
".",
"join",
"(",
"out",
")"
] |
Exports object to its string representation.
Args:
top (bool): if True appends `internal_name` before values.
All non list objects should be exported with value top=True,
all list objects, that are embedded in as fields inlist objects
should be exported with `top`=False
Returns:
str: The objects string representation
|
[
"Exports",
"object",
"to",
"its",
"string",
"representation",
"."
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3255-L3339
|
rbuffat/pyepw
|
pyepw/epw.py
|
DesignConditions.read
|
def read(self, vals):
"""Read values.
Args:
vals (list): list of strings representing values
"""
i = 0
count = int(vals[i])
i += 1
for _ in range(count):
obj = DesignCondition()
obj.read(vals[i:i + obj.field_count])
self.add_design_condition(obj)
i += obj.field_count
|
python
|
def read(self, vals):
"""Read values.
Args:
vals (list): list of strings representing values
"""
i = 0
count = int(vals[i])
i += 1
for _ in range(count):
obj = DesignCondition()
obj.read(vals[i:i + obj.field_count])
self.add_design_condition(obj)
i += obj.field_count
|
[
"def",
"read",
"(",
"self",
",",
"vals",
")",
":",
"i",
"=",
"0",
"count",
"=",
"int",
"(",
"vals",
"[",
"i",
"]",
")",
"i",
"+=",
"1",
"for",
"_",
"in",
"range",
"(",
"count",
")",
":",
"obj",
"=",
"DesignCondition",
"(",
")",
"obj",
".",
"read",
"(",
"vals",
"[",
"i",
":",
"i",
"+",
"obj",
".",
"field_count",
"]",
")",
"self",
".",
"add_design_condition",
"(",
"obj",
")",
"i",
"+=",
"obj",
".",
"field_count"
] |
Read values.
Args:
vals (list): list of strings representing values
|
[
"Read",
"values",
"."
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3355-L3369
|
rbuffat/pyepw
|
pyepw/epw.py
|
TypicalOrExtremePeriod.read
|
def read(self, vals):
"""Read values.
Args:
vals (list): list of strings representing values
"""
i = 0
if len(vals[i]) == 0:
self.typical_or_extreme_period_name = None
else:
self.typical_or_extreme_period_name = vals[i]
i += 1
if len(vals[i]) == 0:
self.typical_or_extreme_period_type = None
else:
self.typical_or_extreme_period_type = vals[i]
i += 1
if len(vals[i]) == 0:
self.period_start_day = None
else:
self.period_start_day = vals[i]
i += 1
if len(vals[i]) == 0:
self.period_end_day = None
else:
self.period_end_day = vals[i]
i += 1
|
python
|
def read(self, vals):
"""Read values.
Args:
vals (list): list of strings representing values
"""
i = 0
if len(vals[i]) == 0:
self.typical_or_extreme_period_name = None
else:
self.typical_or_extreme_period_name = vals[i]
i += 1
if len(vals[i]) == 0:
self.typical_or_extreme_period_type = None
else:
self.typical_or_extreme_period_type = vals[i]
i += 1
if len(vals[i]) == 0:
self.period_start_day = None
else:
self.period_start_day = vals[i]
i += 1
if len(vals[i]) == 0:
self.period_end_day = None
else:
self.period_end_day = vals[i]
i += 1
|
[
"def",
"read",
"(",
"self",
",",
"vals",
")",
":",
"i",
"=",
"0",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"typical_or_extreme_period_name",
"=",
"None",
"else",
":",
"self",
".",
"typical_or_extreme_period_name",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"typical_or_extreme_period_type",
"=",
"None",
"else",
":",
"self",
".",
"typical_or_extreme_period_type",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"period_start_day",
"=",
"None",
"else",
":",
"self",
".",
"period_start_day",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"period_end_day",
"=",
"None",
"else",
":",
"self",
".",
"period_end_day",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1"
] |
Read values.
Args:
vals (list): list of strings representing values
|
[
"Read",
"values",
"."
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3441-L3468
|
rbuffat/pyepw
|
pyepw/epw.py
|
TypicalOrExtremePeriod.typical_or_extreme_period_name
|
def typical_or_extreme_period_name(self, value=None):
"""Corresponds to IDD Field `typical_or_extreme_period_name`
Args:
value (str): value for IDD Field `typical_or_extreme_period_name`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError(
'value {} need to be of type str '
'for field `typical_or_extreme_period_name`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `typical_or_extreme_period_name`')
self._typical_or_extreme_period_name = value
|
python
|
def typical_or_extreme_period_name(self, value=None):
"""Corresponds to IDD Field `typical_or_extreme_period_name`
Args:
value (str): value for IDD Field `typical_or_extreme_period_name`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError(
'value {} need to be of type str '
'for field `typical_or_extreme_period_name`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `typical_or_extreme_period_name`')
self._typical_or_extreme_period_name = value
|
[
"def",
"typical_or_extreme_period_name",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type str '",
"'for field `typical_or_extreme_period_name`'",
".",
"format",
"(",
"value",
")",
")",
"if",
"','",
"in",
"value",
":",
"raise",
"ValueError",
"(",
"'value should not contain a comma '",
"'for field `typical_or_extreme_period_name`'",
")",
"self",
".",
"_typical_or_extreme_period_name",
"=",
"value"
] |
Corresponds to IDD Field `typical_or_extreme_period_name`
Args:
value (str): value for IDD Field `typical_or_extreme_period_name`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"typical_or_extreme_period_name"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3481-L3504
|
rbuffat/pyepw
|
pyepw/epw.py
|
TypicalOrExtremePeriod.typical_or_extreme_period_type
|
def typical_or_extreme_period_type(self, value=None):
"""Corresponds to IDD Field `typical_or_extreme_period_type`
Args:
value (str): value for IDD Field `typical_or_extreme_period_type`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError(
'value {} need to be of type str '
'for field `typical_or_extreme_period_type`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `typical_or_extreme_period_type`')
self._typical_or_extreme_period_type = value
|
python
|
def typical_or_extreme_period_type(self, value=None):
"""Corresponds to IDD Field `typical_or_extreme_period_type`
Args:
value (str): value for IDD Field `typical_or_extreme_period_type`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError(
'value {} need to be of type str '
'for field `typical_or_extreme_period_type`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `typical_or_extreme_period_type`')
self._typical_or_extreme_period_type = value
|
[
"def",
"typical_or_extreme_period_type",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type str '",
"'for field `typical_or_extreme_period_type`'",
".",
"format",
"(",
"value",
")",
")",
"if",
"','",
"in",
"value",
":",
"raise",
"ValueError",
"(",
"'value should not contain a comma '",
"'for field `typical_or_extreme_period_type`'",
")",
"self",
".",
"_typical_or_extreme_period_type",
"=",
"value"
] |
Corresponds to IDD Field `typical_or_extreme_period_type`
Args:
value (str): value for IDD Field `typical_or_extreme_period_type`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"typical_or_extreme_period_type"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3517-L3540
|
rbuffat/pyepw
|
pyepw/epw.py
|
TypicalOrExtremePeriod.period_start_day
|
def period_start_day(self, value=None):
"""Corresponds to IDD Field `period_start_day`
Args:
value (str): value for IDD Field `period_start_day`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError('value {} need to be of type str '
'for field `period_start_day`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `period_start_day`')
self._period_start_day = value
|
python
|
def period_start_day(self, value=None):
"""Corresponds to IDD Field `period_start_day`
Args:
value (str): value for IDD Field `period_start_day`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError('value {} need to be of type str '
'for field `period_start_day`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `period_start_day`')
self._period_start_day = value
|
[
"def",
"period_start_day",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type str '",
"'for field `period_start_day`'",
".",
"format",
"(",
"value",
")",
")",
"if",
"','",
"in",
"value",
":",
"raise",
"ValueError",
"(",
"'value should not contain a comma '",
"'for field `period_start_day`'",
")",
"self",
".",
"_period_start_day",
"=",
"value"
] |
Corresponds to IDD Field `period_start_day`
Args:
value (str): value for IDD Field `period_start_day`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"period_start_day"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3553-L3575
|
rbuffat/pyepw
|
pyepw/epw.py
|
TypicalOrExtremePeriod.period_end_day
|
def period_end_day(self, value=None):
"""Corresponds to IDD Field `period_end_day`
Args:
value (str): value for IDD Field `period_end_day`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError('value {} need to be of type str '
'for field `period_end_day`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `period_end_day`')
self._period_end_day = value
|
python
|
def period_end_day(self, value=None):
"""Corresponds to IDD Field `period_end_day`
Args:
value (str): value for IDD Field `period_end_day`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = str(value)
except ValueError:
raise ValueError('value {} need to be of type str '
'for field `period_end_day`'.format(value))
if ',' in value:
raise ValueError('value should not contain a comma '
'for field `period_end_day`')
self._period_end_day = value
|
[
"def",
"period_end_day",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type str '",
"'for field `period_end_day`'",
".",
"format",
"(",
"value",
")",
")",
"if",
"','",
"in",
"value",
":",
"raise",
"ValueError",
"(",
"'value should not contain a comma '",
"'for field `period_end_day`'",
")",
"self",
".",
"_period_end_day",
"=",
"value"
] |
Corresponds to IDD Field `period_end_day`
Args:
value (str): value for IDD Field `period_end_day`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"period_end_day"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3588-L3610
|
rbuffat/pyepw
|
pyepw/epw.py
|
TypicalOrExtremePeriod.export
|
def export(self, top=True):
"""Exports object to its string representation.
Args:
top (bool): if True appends `internal_name` before values.
All non list objects should be exported with value top=True,
all list objects, that are embedded in as fields inlist objects
should be exported with `top`=False
Returns:
str: The objects string representation
"""
out = []
if top:
out.append(self._internal_name)
out.append(self._to_str(self.typical_or_extreme_period_name))
out.append(self._to_str(self.typical_or_extreme_period_type))
out.append(self._to_str(self.period_start_day))
out.append(self._to_str(self.period_end_day))
return ",".join(out)
|
python
|
def export(self, top=True):
"""Exports object to its string representation.
Args:
top (bool): if True appends `internal_name` before values.
All non list objects should be exported with value top=True,
all list objects, that are embedded in as fields inlist objects
should be exported with `top`=False
Returns:
str: The objects string representation
"""
out = []
if top:
out.append(self._internal_name)
out.append(self._to_str(self.typical_or_extreme_period_name))
out.append(self._to_str(self.typical_or_extreme_period_type))
out.append(self._to_str(self.period_start_day))
out.append(self._to_str(self.period_end_day))
return ",".join(out)
|
[
"def",
"export",
"(",
"self",
",",
"top",
"=",
"True",
")",
":",
"out",
"=",
"[",
"]",
"if",
"top",
":",
"out",
".",
"append",
"(",
"self",
".",
"_internal_name",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"typical_or_extreme_period_name",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"typical_or_extreme_period_type",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"period_start_day",
")",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"period_end_day",
")",
")",
"return",
"\",\"",
".",
"join",
"(",
"out",
")"
] |
Exports object to its string representation.
Args:
top (bool): if True appends `internal_name` before values.
All non list objects should be exported with value top=True,
all list objects, that are embedded in as fields inlist objects
should be exported with `top`=False
Returns:
str: The objects string representation
|
[
"Exports",
"object",
"to",
"its",
"string",
"representation",
"."
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3625-L3645
|
rbuffat/pyepw
|
pyepw/epw.py
|
TypicalOrExtremePeriods.read
|
def read(self, vals):
"""Read values.
Args:
vals (list): list of strings representing values
"""
i = 0
count = int(vals[i])
i += 1
for _ in range(count):
obj = TypicalOrExtremePeriod()
obj.read(vals[i:i + obj.field_count])
self.add_typical_or_extreme_period(obj)
i += obj.field_count
|
python
|
def read(self, vals):
"""Read values.
Args:
vals (list): list of strings representing values
"""
i = 0
count = int(vals[i])
i += 1
for _ in range(count):
obj = TypicalOrExtremePeriod()
obj.read(vals[i:i + obj.field_count])
self.add_typical_or_extreme_period(obj)
i += obj.field_count
|
[
"def",
"read",
"(",
"self",
",",
"vals",
")",
":",
"i",
"=",
"0",
"count",
"=",
"int",
"(",
"vals",
"[",
"i",
"]",
")",
"i",
"+=",
"1",
"for",
"_",
"in",
"range",
"(",
"count",
")",
":",
"obj",
"=",
"TypicalOrExtremePeriod",
"(",
")",
"obj",
".",
"read",
"(",
"vals",
"[",
"i",
":",
"i",
"+",
"obj",
".",
"field_count",
"]",
")",
"self",
".",
"add_typical_or_extreme_period",
"(",
"obj",
")",
"i",
"+=",
"obj",
".",
"field_count"
] |
Read values.
Args:
vals (list): list of strings representing values
|
[
"Read",
"values",
"."
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3662-L3676
|
rbuffat/pyepw
|
pyepw/epw.py
|
TypicalOrExtremePeriods.export
|
def export(self, top=True):
"""Exports object to its string representation.
Args:
top (bool): if True appends `internal_name` before values.
All non list objects should be exported with value top=True,
all list objects, that are embedded in as fields inlist objects
should be exported with `top`=False
Returns:
str: The objects string representation
"""
out = []
if top:
out.append(self._internal_name)
out.append(str(len(self.typical_or_extreme_periods)))
for obj in self.typical_or_extreme_periods:
out.append(obj.export(top=False))
return ",".join(out)
|
python
|
def export(self, top=True):
"""Exports object to its string representation.
Args:
top (bool): if True appends `internal_name` before values.
All non list objects should be exported with value top=True,
all list objects, that are embedded in as fields inlist objects
should be exported with `top`=False
Returns:
str: The objects string representation
"""
out = []
if top:
out.append(self._internal_name)
out.append(str(len(self.typical_or_extreme_periods)))
for obj in self.typical_or_extreme_periods:
out.append(obj.export(top=False))
return ",".join(out)
|
[
"def",
"export",
"(",
"self",
",",
"top",
"=",
"True",
")",
":",
"out",
"=",
"[",
"]",
"if",
"top",
":",
"out",
".",
"append",
"(",
"self",
".",
"_internal_name",
")",
"out",
".",
"append",
"(",
"str",
"(",
"len",
"(",
"self",
".",
"typical_or_extreme_periods",
")",
")",
")",
"for",
"obj",
"in",
"self",
".",
"typical_or_extreme_periods",
":",
"out",
".",
"append",
"(",
"obj",
".",
"export",
"(",
"top",
"=",
"False",
")",
")",
"return",
"\",\"",
".",
"join",
"(",
"out",
")"
] |
Exports object to its string representation.
Args:
top (bool): if True appends `internal_name` before values.
All non list objects should be exported with value top=True,
all list objects, that are embedded in as fields inlist objects
should be exported with `top`=False
Returns:
str: The objects string representation
|
[
"Exports",
"object",
"to",
"its",
"string",
"representation",
"."
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3710-L3729
|
rbuffat/pyepw
|
pyepw/epw.py
|
GroundTemperature.read
|
def read(self, vals):
"""Read values.
Args:
vals (list): list of strings representing values
"""
i = 0
if len(vals[i]) == 0:
self.ground_temperature_depth = None
else:
self.ground_temperature_depth = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_soil_conductivity = None
else:
self.depth_soil_conductivity = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_soil_density = None
else:
self.depth_soil_density = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_soil_specific_heat = None
else:
self.depth_soil_specific_heat = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_january_average_ground_temperature = None
else:
self.depth_january_average_ground_temperature = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_february_average_ground_temperature = None
else:
self.depth_february_average_ground_temperature = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_march_average_ground_temperature = None
else:
self.depth_march_average_ground_temperature = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_april_average_ground_temperature = None
else:
self.depth_april_average_ground_temperature = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_may_average_ground_temperature = None
else:
self.depth_may_average_ground_temperature = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_june_average_ground_temperature = None
else:
self.depth_june_average_ground_temperature = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_july_average_ground_temperature = None
else:
self.depth_july_average_ground_temperature = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_august_average_ground_temperature = None
else:
self.depth_august_average_ground_temperature = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_september_average_ground_temperature = None
else:
self.depth_september_average_ground_temperature = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_october_average_ground_temperature = None
else:
self.depth_october_average_ground_temperature = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_november_average_ground_temperature = None
else:
self.depth_november_average_ground_temperature = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_december_average_ground_temperature = None
else:
self.depth_december_average_ground_temperature = vals[i]
i += 1
|
python
|
def read(self, vals):
"""Read values.
Args:
vals (list): list of strings representing values
"""
i = 0
if len(vals[i]) == 0:
self.ground_temperature_depth = None
else:
self.ground_temperature_depth = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_soil_conductivity = None
else:
self.depth_soil_conductivity = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_soil_density = None
else:
self.depth_soil_density = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_soil_specific_heat = None
else:
self.depth_soil_specific_heat = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_january_average_ground_temperature = None
else:
self.depth_january_average_ground_temperature = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_february_average_ground_temperature = None
else:
self.depth_february_average_ground_temperature = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_march_average_ground_temperature = None
else:
self.depth_march_average_ground_temperature = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_april_average_ground_temperature = None
else:
self.depth_april_average_ground_temperature = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_may_average_ground_temperature = None
else:
self.depth_may_average_ground_temperature = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_june_average_ground_temperature = None
else:
self.depth_june_average_ground_temperature = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_july_average_ground_temperature = None
else:
self.depth_july_average_ground_temperature = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_august_average_ground_temperature = None
else:
self.depth_august_average_ground_temperature = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_september_average_ground_temperature = None
else:
self.depth_september_average_ground_temperature = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_october_average_ground_temperature = None
else:
self.depth_october_average_ground_temperature = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_november_average_ground_temperature = None
else:
self.depth_november_average_ground_temperature = vals[i]
i += 1
if len(vals[i]) == 0:
self.depth_december_average_ground_temperature = None
else:
self.depth_december_average_ground_temperature = vals[i]
i += 1
|
[
"def",
"read",
"(",
"self",
",",
"vals",
")",
":",
"i",
"=",
"0",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"ground_temperature_depth",
"=",
"None",
"else",
":",
"self",
".",
"ground_temperature_depth",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"depth_soil_conductivity",
"=",
"None",
"else",
":",
"self",
".",
"depth_soil_conductivity",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"depth_soil_density",
"=",
"None",
"else",
":",
"self",
".",
"depth_soil_density",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"depth_soil_specific_heat",
"=",
"None",
"else",
":",
"self",
".",
"depth_soil_specific_heat",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"depth_january_average_ground_temperature",
"=",
"None",
"else",
":",
"self",
".",
"depth_january_average_ground_temperature",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"depth_february_average_ground_temperature",
"=",
"None",
"else",
":",
"self",
".",
"depth_february_average_ground_temperature",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"depth_march_average_ground_temperature",
"=",
"None",
"else",
":",
"self",
".",
"depth_march_average_ground_temperature",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"depth_april_average_ground_temperature",
"=",
"None",
"else",
":",
"self",
".",
"depth_april_average_ground_temperature",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"depth_may_average_ground_temperature",
"=",
"None",
"else",
":",
"self",
".",
"depth_may_average_ground_temperature",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"depth_june_average_ground_temperature",
"=",
"None",
"else",
":",
"self",
".",
"depth_june_average_ground_temperature",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"depth_july_average_ground_temperature",
"=",
"None",
"else",
":",
"self",
".",
"depth_july_average_ground_temperature",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"depth_august_average_ground_temperature",
"=",
"None",
"else",
":",
"self",
".",
"depth_august_average_ground_temperature",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"depth_september_average_ground_temperature",
"=",
"None",
"else",
":",
"self",
".",
"depth_september_average_ground_temperature",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"depth_october_average_ground_temperature",
"=",
"None",
"else",
":",
"self",
".",
"depth_october_average_ground_temperature",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"depth_november_average_ground_temperature",
"=",
"None",
"else",
":",
"self",
".",
"depth_november_average_ground_temperature",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"depth_december_average_ground_temperature",
"=",
"None",
"else",
":",
"self",
".",
"depth_december_average_ground_temperature",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1"
] |
Read values.
Args:
vals (list): list of strings representing values
|
[
"Read",
"values",
"."
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3760-L3847
|
rbuffat/pyepw
|
pyepw/epw.py
|
GroundTemperature.ground_temperature_depth
|
def ground_temperature_depth(self, value=None):
"""Corresponds to IDD Field `ground_temperature_depth`
Args:
value (float): value for IDD Field `ground_temperature_depth`
Unit: m
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `ground_temperature_depth`'.format(value))
self._ground_temperature_depth = value
|
python
|
def ground_temperature_depth(self, value=None):
"""Corresponds to IDD Field `ground_temperature_depth`
Args:
value (float): value for IDD Field `ground_temperature_depth`
Unit: m
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `ground_temperature_depth`'.format(value))
self._ground_temperature_depth = value
|
[
"def",
"ground_temperature_depth",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `ground_temperature_depth`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_ground_temperature_depth",
"=",
"value"
] |
Corresponds to IDD Field `ground_temperature_depth`
Args:
value (float): value for IDD Field `ground_temperature_depth`
Unit: m
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"ground_temperature_depth"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3860-L3881
|
rbuffat/pyepw
|
pyepw/epw.py
|
GroundTemperature.depth_soil_conductivity
|
def depth_soil_conductivity(self, value=None):
"""Corresponds to IDD Field `depth_soil_conductivity`
Args:
value (float): value for IDD Field `depth_soil_conductivity`
Unit: W/m-K,
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `depth_soil_conductivity`'.format(value))
self._depth_soil_conductivity = value
|
python
|
def depth_soil_conductivity(self, value=None):
"""Corresponds to IDD Field `depth_soil_conductivity`
Args:
value (float): value for IDD Field `depth_soil_conductivity`
Unit: W/m-K,
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `depth_soil_conductivity`'.format(value))
self._depth_soil_conductivity = value
|
[
"def",
"depth_soil_conductivity",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `depth_soil_conductivity`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_depth_soil_conductivity",
"=",
"value"
] |
Corresponds to IDD Field `depth_soil_conductivity`
Args:
value (float): value for IDD Field `depth_soil_conductivity`
Unit: W/m-K,
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"depth_soil_conductivity"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3894-L3915
|
rbuffat/pyepw
|
pyepw/epw.py
|
GroundTemperature.depth_soil_density
|
def depth_soil_density(self, value=None):
"""Corresponds to IDD Field `depth_soil_density`
Args:
value (float): value for IDD Field `depth_soil_density`
Unit: kg/m3
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `depth_soil_density`'.format(value))
self._depth_soil_density = value
|
python
|
def depth_soil_density(self, value=None):
"""Corresponds to IDD Field `depth_soil_density`
Args:
value (float): value for IDD Field `depth_soil_density`
Unit: kg/m3
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `depth_soil_density`'.format(value))
self._depth_soil_density = value
|
[
"def",
"depth_soil_density",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `depth_soil_density`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_depth_soil_density",
"=",
"value"
] |
Corresponds to IDD Field `depth_soil_density`
Args:
value (float): value for IDD Field `depth_soil_density`
Unit: kg/m3
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"depth_soil_density"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3928-L3949
|
rbuffat/pyepw
|
pyepw/epw.py
|
GroundTemperature.depth_soil_specific_heat
|
def depth_soil_specific_heat(self, value=None):
"""Corresponds to IDD Field `depth_soil_specific_heat`
Args:
value (float): value for IDD Field `depth_soil_specific_heat`
Unit: J/kg-K,
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `depth_soil_specific_heat`'.format(value))
self._depth_soil_specific_heat = value
|
python
|
def depth_soil_specific_heat(self, value=None):
"""Corresponds to IDD Field `depth_soil_specific_heat`
Args:
value (float): value for IDD Field `depth_soil_specific_heat`
Unit: J/kg-K,
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `depth_soil_specific_heat`'.format(value))
self._depth_soil_specific_heat = value
|
[
"def",
"depth_soil_specific_heat",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `depth_soil_specific_heat`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_depth_soil_specific_heat",
"=",
"value"
] |
Corresponds to IDD Field `depth_soil_specific_heat`
Args:
value (float): value for IDD Field `depth_soil_specific_heat`
Unit: J/kg-K,
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"depth_soil_specific_heat"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3962-L3983
|
rbuffat/pyepw
|
pyepw/epw.py
|
GroundTemperature.depth_january_average_ground_temperature
|
def depth_january_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field `depth_january_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_january_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `depth_january_average_ground_temperature`'.format(value))
self._depth_january_average_ground_temperature = value
|
python
|
def depth_january_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field `depth_january_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_january_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `depth_january_average_ground_temperature`'.format(value))
self._depth_january_average_ground_temperature = value
|
[
"def",
"depth_january_average_ground_temperature",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `depth_january_average_ground_temperature`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_depth_january_average_ground_temperature",
"=",
"value"
] |
Corresponds to IDD Field `depth_january_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_january_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"depth_january_average_ground_temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3996-L4017
|
rbuffat/pyepw
|
pyepw/epw.py
|
GroundTemperature.depth_february_average_ground_temperature
|
def depth_february_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field `depth_february_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_february_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `depth_february_average_ground_temperature`'.format(value))
self._depth_february_average_ground_temperature = value
|
python
|
def depth_february_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field `depth_february_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_february_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `depth_february_average_ground_temperature`'.format(value))
self._depth_february_average_ground_temperature = value
|
[
"def",
"depth_february_average_ground_temperature",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `depth_february_average_ground_temperature`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_depth_february_average_ground_temperature",
"=",
"value"
] |
Corresponds to IDD Field `depth_february_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_february_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"depth_february_average_ground_temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4030-L4051
|
rbuffat/pyepw
|
pyepw/epw.py
|
GroundTemperature.depth_march_average_ground_temperature
|
def depth_march_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field `depth_march_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_march_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `depth_march_average_ground_temperature`'.format(value))
self._depth_march_average_ground_temperature = value
|
python
|
def depth_march_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field `depth_march_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_march_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `depth_march_average_ground_temperature`'.format(value))
self._depth_march_average_ground_temperature = value
|
[
"def",
"depth_march_average_ground_temperature",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `depth_march_average_ground_temperature`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_depth_march_average_ground_temperature",
"=",
"value"
] |
Corresponds to IDD Field `depth_march_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_march_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"depth_march_average_ground_temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4064-L4085
|
rbuffat/pyepw
|
pyepw/epw.py
|
GroundTemperature.depth_april_average_ground_temperature
|
def depth_april_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field `depth_april_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_april_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `depth_april_average_ground_temperature`'.format(value))
self._depth_april_average_ground_temperature = value
|
python
|
def depth_april_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field `depth_april_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_april_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `depth_april_average_ground_temperature`'.format(value))
self._depth_april_average_ground_temperature = value
|
[
"def",
"depth_april_average_ground_temperature",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `depth_april_average_ground_temperature`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_depth_april_average_ground_temperature",
"=",
"value"
] |
Corresponds to IDD Field `depth_april_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_april_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"depth_april_average_ground_temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4098-L4119
|
rbuffat/pyepw
|
pyepw/epw.py
|
GroundTemperature.depth_may_average_ground_temperature
|
def depth_may_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field `depth_may_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_may_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `depth_may_average_ground_temperature`'.format(value))
self._depth_may_average_ground_temperature = value
|
python
|
def depth_may_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field `depth_may_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_may_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `depth_may_average_ground_temperature`'.format(value))
self._depth_may_average_ground_temperature = value
|
[
"def",
"depth_may_average_ground_temperature",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `depth_may_average_ground_temperature`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_depth_may_average_ground_temperature",
"=",
"value"
] |
Corresponds to IDD Field `depth_may_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_may_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"depth_may_average_ground_temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4132-L4153
|
rbuffat/pyepw
|
pyepw/epw.py
|
GroundTemperature.depth_june_average_ground_temperature
|
def depth_june_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field `depth_june_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_june_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `depth_june_average_ground_temperature`'.format(value))
self._depth_june_average_ground_temperature = value
|
python
|
def depth_june_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field `depth_june_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_june_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `depth_june_average_ground_temperature`'.format(value))
self._depth_june_average_ground_temperature = value
|
[
"def",
"depth_june_average_ground_temperature",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `depth_june_average_ground_temperature`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_depth_june_average_ground_temperature",
"=",
"value"
] |
Corresponds to IDD Field `depth_june_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_june_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"depth_june_average_ground_temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4166-L4187
|
rbuffat/pyepw
|
pyepw/epw.py
|
GroundTemperature.depth_july_average_ground_temperature
|
def depth_july_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field `depth_july_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_july_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `depth_july_average_ground_temperature`'.format(value))
self._depth_july_average_ground_temperature = value
|
python
|
def depth_july_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field `depth_july_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_july_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `depth_july_average_ground_temperature`'.format(value))
self._depth_july_average_ground_temperature = value
|
[
"def",
"depth_july_average_ground_temperature",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `depth_july_average_ground_temperature`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_depth_july_average_ground_temperature",
"=",
"value"
] |
Corresponds to IDD Field `depth_july_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_july_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"depth_july_average_ground_temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4200-L4221
|
rbuffat/pyepw
|
pyepw/epw.py
|
GroundTemperature.depth_august_average_ground_temperature
|
def depth_august_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field `depth_august_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_august_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `depth_august_average_ground_temperature`'.format(value))
self._depth_august_average_ground_temperature = value
|
python
|
def depth_august_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field `depth_august_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_august_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
"""
if value is not None:
try:
value = float(value)
except ValueError:
raise ValueError(
'value {} need to be of type float '
'for field `depth_august_average_ground_temperature`'.format(value))
self._depth_august_average_ground_temperature = value
|
[
"def",
"depth_august_average_ground_temperature",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type float '",
"'for field `depth_august_average_ground_temperature`'",
".",
"format",
"(",
"value",
")",
")",
"self",
".",
"_depth_august_average_ground_temperature",
"=",
"value"
] |
Corresponds to IDD Field `depth_august_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_august_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value
|
[
"Corresponds",
"to",
"IDD",
"Field",
"depth_august_average_ground_temperature"
] |
train
|
https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4234-L4255
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.