partition stringclasses 3
values | func_name stringlengths 1 134 | docstring stringlengths 1 46.9k | path stringlengths 4 223 | original_string stringlengths 75 104k | code stringlengths 75 104k | docstring_tokens listlengths 1 1.97k | repo stringlengths 7 55 | language stringclasses 1
value | url stringlengths 87 315 | code_tokens listlengths 19 28.4k | sha stringlengths 40 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|
train | DesignCondition.db_dp004 | 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 no... | pyepw/epw.py | 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
... | 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
... | [
"Corresponds",
"to",
"IDD",
"Field",
"db_dp004",
"mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"Dew",
"-",
"point",
"temperature",
"corresponding",
"to",
"0",
".",
"4%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2208-L2229 | [
"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... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.dp010 | 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... | pyepw/epw.py | 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... | 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... | [
"Corresponds",
"to",
"IDD",
"Field",
"dp010",
"Dew",
"-",
"point",
"temperature",
"corresponding",
"to",
"1",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2242-L2262 | [
"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 '"... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.hr_dp010 | 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_dp0... | pyepw/epw.py | 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:
... | 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:
... | [
"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",
"stand... | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2275-L2296 | [
"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... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.db_dp010 | 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 no... | pyepw/epw.py | 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
... | 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
... | [
"Corresponds",
"to",
"IDD",
"Field",
"db_dp010",
"mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"Dew",
"-",
"point",
"temperature",
"corresponding",
"to",
"1",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2309-L2330 | [
"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... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.dp020 | 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... | pyepw/epw.py | 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... | 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... | [
"Corresponds",
"to",
"IDD",
"Field",
"dp020",
"Dew",
"-",
"point",
"temperature",
"corresponding",
"to",
"2",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2343-L2363 | [
"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 '"... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.hr_dp020 | 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_dp02... | pyepw/epw.py | 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:
... | 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:
... | [
"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",
... | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2376-L2397 | [
"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... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.db_dp020 | 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 no... | pyepw/epw.py | 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
... | 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
... | [
"Corresponds",
"to",
"IDD",
"Field",
"db_dp020",
"mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"Dew",
"-",
"point",
"temperature",
"corresponding",
"to",
"2",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2410-L2431 | [
"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... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.en004 | 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 ag... | pyepw/epw.py | 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... | 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... | [
"Corresponds",
"to",
"IDD",
"Field",
"en004",
"mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"Enthalpy",
"corresponding",
"to",
"0",
".",
"4%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2444-L2465 | [
"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 '"... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.db_en004 | 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 ... | pyepw/epw.py | 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
... | 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
... | [
"Corresponds",
"to",
"IDD",
"Field",
"db_en004",
"mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"Enthalpy",
"corresponding",
"to",
"0",
".",
"4%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2478-L2499 | [
"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... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.en010 | 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 ag... | pyepw/epw.py | 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... | 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... | [
"Corresponds",
"to",
"IDD",
"Field",
"en010",
"mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"Enthalpy",
"corresponding",
"to",
"1",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2512-L2533 | [
"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 '"... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.db_en010 | 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 ... | pyepw/epw.py | 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
... | 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
... | [
"Corresponds",
"to",
"IDD",
"Field",
"db_en010",
"mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"Enthalpy",
"corresponding",
"to",
"1",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2546-L2567 | [
"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... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.en020 | 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 ag... | pyepw/epw.py | 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... | 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... | [
"Corresponds",
"to",
"IDD",
"Field",
"en020",
"mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"Enthalpy",
"corresponding",
"to",
"2",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2580-L2601 | [
"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 '"... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.db_en020 | 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 ... | pyepw/epw.py | 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
... | 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
... | [
"Corresponds",
"to",
"IDD",
"Field",
"db_en020",
"mean",
"coincident",
"dry",
"-",
"bulb",
"temperature",
"to",
"Enthalpy",
"corresponding",
"to",
"2",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2614-L2635 | [
"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... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.hrs_84_and_db12_8_or_20_6 | 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... | pyepw/epw.py | 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`
... | 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`
... | [
"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"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2648-L2668 | [
"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... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.design_stat_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
... | pyepw/epw.py | 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... | 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... | [
"Corresponds",
"to",
"IDD",
"Field",
"design_stat_extremes"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2681-L2712 | [
"def",
"design_stat_extremes",
"(",
"self",
",",
"value",
"=",
"\"Extremes\"",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need t... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.ws010 | 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 a... | pyepw/epw.py | 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 ... | 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 ... | [
"Corresponds",
"to",
"IDD",
"Field",
"ws010",
"Wind",
"speed",
"corresponding",
"to",
"1",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2725-L2745 | [
"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 '"... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.ws025 | 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 a... | pyepw/epw.py | 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 ... | 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 ... | [
"Corresponds",
"to",
"IDD",
"Field",
"ws025",
"Wind",
"speed",
"corresponding",
"to",
"2",
".",
"5%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2758-L2778 | [
"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 '"... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.ws050 | 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 assu... | pyepw/epw.py | 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... | 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... | [
"Corresponds",
"to",
"IDD",
"Field",
"ws050",
"Wind",
"speed",
"corresponding",
"5",
".",
"0%",
"annual",
"cumulative",
"frequency",
"of",
"occurrence"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2791-L2811 | [
"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 '"... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.wbmax | 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
Ra... | pyepw/epw.py | 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... | 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... | [
"Corresponds",
"to",
"IDD",
"Field",
"wbmax",
"Extreme",
"maximum",
"wet",
"-",
"bulb",
"temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2824-L2844 | [
"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 '"... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.dbmin_mean | 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 ... | pyepw/epw.py | 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
... | 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
... | [
"Corresponds",
"to",
"IDD",
"Field",
"dbmin_mean",
"Mean",
"of",
"extreme",
"annual",
"minimum",
"dry",
"-",
"bulb",
"temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2857-L2877 | [
"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 flo... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.dbmax_mean | 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 ... | pyepw/epw.py | 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
... | 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
... | [
"Corresponds",
"to",
"IDD",
"Field",
"dbmax_mean",
"Mean",
"of",
"extreme",
"annual",
"maximum",
"dry",
"-",
"bulb",
"temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2890-L2910 | [
"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 flo... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.dbmin_stddev | 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 i... | pyepw/epw.py | 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 checke... | 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 checke... | [
"Corresponds",
"to",
"IDD",
"Field",
"dbmin_stddev",
"Standard",
"deviation",
"of",
"extreme",
"annual",
"minimum",
"dry",
"-",
"bulb",
"temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2923-L2943 | [
"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 f... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.dbmax_stddev | 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 i... | pyepw/epw.py | 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 checke... | 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 checke... | [
"Corresponds",
"to",
"IDD",
"Field",
"dbmax_stddev",
"Standard",
"deviation",
"of",
"extreme",
"annual",
"maximum",
"dry",
"-",
"bulb",
"temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2956-L2976 | [
"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 f... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.dbmin05years | 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 an... | pyepw/epw.py | 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 che... | 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 che... | [
"Corresponds",
"to",
"IDD",
"Field",
"dbmin05years",
"5",
"-",
"year",
"return",
"period",
"values",
"for",
"minimum",
"extreme",
"dry",
"-",
"bulb",
"temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L2989-L3009 | [
"def",
"dbmin05years",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type f... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.dbmax05years | 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 an... | pyepw/epw.py | 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 che... | 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 che... | [
"Corresponds",
"to",
"IDD",
"Field",
"dbmax05years",
"5",
"-",
"year",
"return",
"period",
"values",
"for",
"maximum",
"extreme",
"dry",
"-",
"bulb",
"temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3022-L3042 | [
"def",
"dbmax05years",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type f... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.dbmin10years | 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 a... | pyepw/epw.py | 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 ch... | 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 ch... | [
"Corresponds",
"to",
"IDD",
"Field",
"dbmin10years",
"10",
"-",
"year",
"return",
"period",
"values",
"for",
"minimum",
"extreme",
"dry",
"-",
"bulb",
"temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3055-L3075 | [
"def",
"dbmin10years",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type f... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.dbmax10years | 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 a... | pyepw/epw.py | 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 ch... | 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 ch... | [
"Corresponds",
"to",
"IDD",
"Field",
"dbmax10years",
"10",
"-",
"year",
"return",
"period",
"values",
"for",
"maximum",
"extreme",
"dry",
"-",
"bulb",
"temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3088-L3108 | [
"def",
"dbmax10years",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type f... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.dbmin20years | 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 a... | pyepw/epw.py | 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 ch... | 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 ch... | [
"Corresponds",
"to",
"IDD",
"Field",
"dbmin20years",
"20",
"-",
"year",
"return",
"period",
"values",
"for",
"minimum",
"extreme",
"dry",
"-",
"bulb",
"temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3121-L3141 | [
"def",
"dbmin20years",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type f... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.dbmax20years | 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 a... | pyepw/epw.py | 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 ch... | 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 ch... | [
"Corresponds",
"to",
"IDD",
"Field",
"dbmax20years",
"20",
"-",
"year",
"return",
"period",
"values",
"for",
"maximum",
"extreme",
"dry",
"-",
"bulb",
"temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3154-L3174 | [
"def",
"dbmax20years",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type f... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.dbmin50years | 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 a... | pyepw/epw.py | 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 ch... | 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 ch... | [
"Corresponds",
"to",
"IDD",
"Field",
"dbmin50years",
"50",
"-",
"year",
"return",
"period",
"values",
"for",
"minimum",
"extreme",
"dry",
"-",
"bulb",
"temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3187-L3207 | [
"def",
"dbmin50years",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type f... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.dbmax50years | 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 a... | pyepw/epw.py | 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 ch... | 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 ch... | [
"Corresponds",
"to",
"IDD",
"Field",
"dbmax50years",
"50",
"-",
"year",
"return",
"period",
"values",
"for",
"maximum",
"extreme",
"dry",
"-",
"bulb",
"temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3220-L3240 | [
"def",
"dbmax50years",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type f... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignCondition.export | 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 expor... | pyepw/epw.py | 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 ... | 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 ... | [
"Exports",
"object",
"to",
"its",
"string",
"representation",
"."
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3255-L3339 | [
"def",
"export",
"(",
"self",
",",
"top",
"=",
"True",
")",
":",
"out",
"=",
"[",
"]",
"if",
"top",
":",
"out",
".",
"append",
"(",
"self",
".",
"_internal_name",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"title_of... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DesignConditions.read | Read values.
Args:
vals (list): list of strings representing values | pyepw/epw.py | 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])
... | 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])
... | [
"Read",
"values",
"."
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3355-L3369 | [
"def",
"read",
"(",
"self",
",",
"vals",
")",
":",
"i",
"=",
"0",
"count",
"=",
"int",
"(",
"vals",
"[",
"i",
"]",
")",
"i",
"+=",
"1",
"for",
"_",
"in",
"range",
"(",
"count",
")",
":",
"obj",
"=",
"DesignCondition",
"(",
")",
"obj",
".",
... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | TypicalOrExtremePeriod.read | Read values.
Args:
vals (list): list of strings representing values | pyepw/epw.py | 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... | 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... | [
"Read",
"values",
"."
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3441-L3468 | [
"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",
"=",... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | TypicalOrExtremePeriod.typical_or_extreme_period_name | 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:
Val... | pyepw/epw.py | 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 ... | 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 ... | [
"Corresponds",
"to",
"IDD",
"Field",
"typical_or_extreme_period_name"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3481-L3504 | [
"def",
"typical_or_extreme_period_name",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | TypicalOrExtremePeriod.typical_or_extreme_period_type | 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:
Val... | pyepw/epw.py | 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 ... | 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 ... | [
"Corresponds",
"to",
"IDD",
"Field",
"typical_or_extreme_period_type"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3517-L3540 | [
"def",
"typical_or_extreme_period_type",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | TypicalOrExtremePeriod.period_start_day | 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... | pyepw/epw.py | 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
... | 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
... | [
"Corresponds",
"to",
"IDD",
"Field",
"period_start_day"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3553-L3575 | [
"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... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | TypicalOrExtremePeriod.period_end_day | 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 val... | pyepw/epw.py | 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... | 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... | [
"Corresponds",
"to",
"IDD",
"Field",
"period_end_day"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3588-L3610 | [
"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 s... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | TypicalOrExtremePeriod.export | 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 expor... | pyepw/epw.py | 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 ... | 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 ... | [
"Exports",
"object",
"to",
"its",
"string",
"representation",
"."
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3625-L3645 | [
"def",
"export",
"(",
"self",
",",
"top",
"=",
"True",
")",
":",
"out",
"=",
"[",
"]",
"if",
"top",
":",
"out",
".",
"append",
"(",
"self",
".",
"_internal_name",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"typical_... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | TypicalOrExtremePeriods.read | Read values.
Args:
vals (list): list of strings representing values | pyepw/epw.py | 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])
... | 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])
... | [
"Read",
"values",
"."
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3662-L3676 | [
"def",
"read",
"(",
"self",
",",
"vals",
")",
":",
"i",
"=",
"0",
"count",
"=",
"int",
"(",
"vals",
"[",
"i",
"]",
")",
"i",
"+=",
"1",
"for",
"_",
"in",
"range",
"(",
"count",
")",
":",
"obj",
"=",
"TypicalOrExtremePeriod",
"(",
")",
"obj",
... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | TypicalOrExtremePeriods.export | 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 expor... | pyepw/epw.py | 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 ... | 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 ... | [
"Exports",
"object",
"to",
"its",
"string",
"representation",
"."
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3710-L3729 | [
"def",
"export",
"(",
"self",
",",
"top",
"=",
"True",
")",
":",
"out",
"=",
"[",
"]",
"if",
"top",
":",
"out",
".",
"append",
"(",
"self",
".",
"_internal_name",
")",
"out",
".",
"append",
"(",
"str",
"(",
"len",
"(",
"self",
".",
"typical_or_ex... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | GroundTemperature.read | Read values.
Args:
vals (list): list of strings representing values | pyepw/epw.py | 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 ... | 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 ... | [
"Read",
"values",
"."
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3760-L3847 | [
"def",
"read",
"(",
"self",
",",
"vals",
")",
":",
"i",
"=",
"0",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"ground_temperature_depth",
"=",
"None",
"else",
":",
"self",
".",
"ground_temperature_depth",
"=",
"vals",
... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | GroundTemperature.ground_temperature_depth | 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:
... | pyepw/epw.py | 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
specificat... | 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
specificat... | [
"Corresponds",
"to",
"IDD",
"Field",
"ground_temperature_depth"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3860-L3881 | [
"def",
"ground_temperature_depth",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to ... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | GroundTemperature.depth_soil_conductivity | 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... | pyepw/epw.py | 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
specific... | 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
specific... | [
"Corresponds",
"to",
"IDD",
"Field",
"depth_soil_conductivity"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3894-L3915 | [
"def",
"depth_soil_conductivity",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to b... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | GroundTemperature.depth_soil_density | 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:
... | pyepw/epw.py | 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 ass... | 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 ass... | [
"Corresponds",
"to",
"IDD",
"Field",
"depth_soil_density"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3928-L3949 | [
"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 ... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | GroundTemperature.depth_soil_specific_heat | 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
Rai... | pyepw/epw.py | 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
spec... | 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
spec... | [
"Corresponds",
"to",
"IDD",
"Field",
"depth_soil_specific_heat"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3962-L3983 | [
"def",
"depth_soil_specific_heat",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to ... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | GroundTemperature.depth_january_average_ground_temperature | 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 ... | pyepw/epw.py | 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 b... | 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 b... | [
"Corresponds",
"to",
"IDD",
"Field",
"depth_january_average_ground_temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L3996-L4017 | [
"def",
"depth_january_average_ground_temperature",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'v... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | GroundTemperature.depth_february_average_ground_temperature | 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 ... | pyepw/epw.py | 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 no... | 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 no... | [
"Corresponds",
"to",
"IDD",
"Field",
"depth_february_average_ground_temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4030-L4051 | [
"def",
"depth_february_average_ground_temperature",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | GroundTemperature.depth_march_average_ground_temperature | 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 miss... | pyepw/epw.py | 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 chec... | 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 chec... | [
"Corresponds",
"to",
"IDD",
"Field",
"depth_march_average_ground_temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4064-L4085 | [
"def",
"depth_march_average_ground_temperature",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'val... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | GroundTemperature.depth_april_average_ground_temperature | 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 miss... | pyepw/epw.py | 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 chec... | 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 chec... | [
"Corresponds",
"to",
"IDD",
"Field",
"depth_april_average_ground_temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4098-L4119 | [
"def",
"depth_april_average_ground_temperature",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'val... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | GroundTemperature.depth_may_average_ground_temperature | 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 ... | pyepw/epw.py | 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 ag... | 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 ag... | [
"Corresponds",
"to",
"IDD",
"Field",
"depth_may_average_ground_temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4132-L4153 | [
"def",
"depth_may_average_ground_temperature",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | GroundTemperature.depth_june_average_ground_temperature | 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 missin... | pyepw/epw.py | 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... | 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... | [
"Corresponds",
"to",
"IDD",
"Field",
"depth_june_average_ground_temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4166-L4187 | [
"def",
"depth_june_average_ground_temperature",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'valu... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | GroundTemperature.depth_july_average_ground_temperature | 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 missin... | pyepw/epw.py | 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... | 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... | [
"Corresponds",
"to",
"IDD",
"Field",
"depth_july_average_ground_temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4200-L4221 | [
"def",
"depth_july_average_ground_temperature",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'valu... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | GroundTemperature.depth_august_average_ground_temperature | 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 mi... | pyepw/epw.py | 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 c... | 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 c... | [
"Corresponds",
"to",
"IDD",
"Field",
"depth_august_average_ground_temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4234-L4255 | [
"def",
"depth_august_average_ground_temperature",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'va... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | GroundTemperature.depth_september_average_ground_temperature | Corresponds to IDD Field
`depth_september_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_september_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assu... | pyepw/epw.py | def depth_september_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field
`depth_september_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_september_average_ground_temperature`
Unit: C
if `value` is None... | def depth_september_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field
`depth_september_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_september_average_ground_temperature`
Unit: C
if `value` is None... | [
"Corresponds",
"to",
"IDD",
"Field",
"depth_september_average_ground_temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4268-L4290 | [
"def",
"depth_september_average_ground_temperature",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | GroundTemperature.depth_october_average_ground_temperature | Corresponds to IDD Field `depth_october_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_october_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be a ... | pyepw/epw.py | def depth_october_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field `depth_october_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_october_average_ground_temperature`
Unit: C
if `value` is None it will not b... | def depth_october_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field `depth_october_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_october_average_ground_temperature`
Unit: C
if `value` is None it will not b... | [
"Corresponds",
"to",
"IDD",
"Field",
"depth_october_average_ground_temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4303-L4324 | [
"def",
"depth_october_average_ground_temperature",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'v... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | GroundTemperature.depth_november_average_ground_temperature | Corresponds to IDD Field `depth_november_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_november_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be ... | pyepw/epw.py | def depth_november_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field `depth_november_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_november_average_ground_temperature`
Unit: C
if `value` is None it will no... | def depth_november_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field `depth_november_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_november_average_ground_temperature`
Unit: C
if `value` is None it will no... | [
"Corresponds",
"to",
"IDD",
"Field",
"depth_november_average_ground_temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4337-L4358 | [
"def",
"depth_november_average_ground_temperature",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | GroundTemperature.depth_december_average_ground_temperature | Corresponds to IDD Field `depth_december_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_december_average_ground_temperature`
Unit: C
if `value` is None it will not be checked against the
specification and is assumed to be ... | pyepw/epw.py | def depth_december_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field `depth_december_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_december_average_ground_temperature`
Unit: C
if `value` is None it will no... | def depth_december_average_ground_temperature(self, value=None):
"""Corresponds to IDD Field `depth_december_average_ground_temperature`
Args:
value (float): value for IDD Field `depth_december_average_ground_temperature`
Unit: C
if `value` is None it will no... | [
"Corresponds",
"to",
"IDD",
"Field",
"depth_december_average_ground_temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4371-L4392 | [
"def",
"depth_december_average_ground_temperature",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | GroundTemperature.export | 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 expor... | pyepw/epw.py | 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 ... | 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 ... | [
"Exports",
"object",
"to",
"its",
"string",
"representation",
"."
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4407-L4447 | [
"def",
"export",
"(",
"self",
",",
"top",
"=",
"True",
")",
":",
"out",
"=",
"[",
"]",
"if",
"top",
":",
"out",
".",
"append",
"(",
"self",
".",
"_internal_name",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"ground_t... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | GroundTemperatures.read | Read values.
Args:
vals (list): list of strings representing values | pyepw/epw.py | 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 = GroundTemperature()
obj.read(vals[i:i + obj.field_count])
... | 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 = GroundTemperature()
obj.read(vals[i:i + obj.field_count])
... | [
"Read",
"values",
"."
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4463-L4477 | [
"def",
"read",
"(",
"self",
",",
"vals",
")",
":",
"i",
"=",
"0",
"count",
"=",
"int",
"(",
"vals",
"[",
"i",
"]",
")",
"i",
"+=",
"1",
"for",
"_",
"in",
"range",
"(",
"count",
")",
":",
"obj",
"=",
"GroundTemperature",
"(",
")",
"obj",
".",
... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | Holiday.read | Read values.
Args:
vals (list): list of strings representing values | pyepw/epw.py | def read(self, vals):
"""Read values.
Args:
vals (list): list of strings representing values
"""
i = 0
if len(vals[i]) == 0:
self.holiday_name = None
else:
self.holiday_name = vals[i]
i += 1
if len(vals[i]) == 0:
... | def read(self, vals):
"""Read values.
Args:
vals (list): list of strings representing values
"""
i = 0
if len(vals[i]) == 0:
self.holiday_name = None
else:
self.holiday_name = vals[i]
i += 1
if len(vals[i]) == 0:
... | [
"Read",
"values",
"."
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4547-L4564 | [
"def",
"read",
"(",
"self",
",",
"vals",
")",
":",
"i",
"=",
"0",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"holiday_name",
"=",
"None",
"else",
":",
"self",
".",
"holiday_name",
"=",
"vals",
"[",
"i",
"]",
"i... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | Holiday.holiday_name | Corresponds to IDD Field `holiday_name`
Args:
value (str): value for IDD Field `holiday_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 v... | pyepw/epw.py | def holiday_name(self, value=None):
"""Corresponds to IDD Field `holiday_name`
Args:
value (str): value for IDD Field `holiday_name`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
... | def holiday_name(self, value=None):
"""Corresponds to IDD Field `holiday_name`
Args:
value (str): value for IDD Field `holiday_name`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
... | [
"Corresponds",
"to",
"IDD",
"Field",
"holiday_name"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4577-L4599 | [
"def",
"holiday_name",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type str... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | Holiday.holiday_day | Corresponds to IDD Field `holiday_day`
Args:
value (str): value for IDD Field `holiday_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 val... | pyepw/epw.py | def holiday_day(self, value=None):
"""Corresponds to IDD Field `holiday_day`
Args:
value (str): value for IDD Field `holiday_day`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
... | def holiday_day(self, value=None):
"""Corresponds to IDD Field `holiday_day`
Args:
value (str): value for IDD Field `holiday_day`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
... | [
"Corresponds",
"to",
"IDD",
"Field",
"holiday_day"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4612-L4634 | [
"def",
"holiday_day",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type str ... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | Holiday.export | 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 expor... | pyepw/epw.py | 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 ... | 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 ... | [
"Exports",
"object",
"to",
"its",
"string",
"representation",
"."
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4649-L4667 | [
"def",
"export",
"(",
"self",
",",
"top",
"=",
"True",
")",
":",
"out",
"=",
"[",
"]",
"if",
"top",
":",
"out",
".",
"append",
"(",
"self",
".",
"_internal_name",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"holiday_... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | HolidaysOrDaylightSavings.read | Read values.
Args:
vals (list): list of strings representing values | pyepw/epw.py | def read(self, vals):
"""Read values.
Args:
vals (list): list of strings representing values
"""
i = 0
if len(vals[i]) == 0:
self.leapyear_observed = None
else:
self.leapyear_observed = vals[i]
i += 1
if len(vals[i]) =... | def read(self, vals):
"""Read values.
Args:
vals (list): list of strings representing values
"""
i = 0
if len(vals[i]) == 0:
self.leapyear_observed = None
else:
self.leapyear_observed = vals[i]
i += 1
if len(vals[i]) =... | [
"Read",
"values",
"."
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4687-L4716 | [
"def",
"read",
"(",
"self",
",",
"vals",
")",
":",
"i",
"=",
"0",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"leapyear_observed",
"=",
"None",
"else",
":",
"self",
".",
"leapyear_observed",
"=",
"vals",
"[",
"i",
... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | HolidaysOrDaylightSavings.leapyear_observed | Corresponds to IDD Field `leapyear_observed` Yes if Leap Year will
be observed for this file No if Leap Year days (29 Feb) should be
ignored in this file.
Args:
value (str): value for IDD Field `leapyear_observed`
Accepted values are:
- Yes
... | pyepw/epw.py | def leapyear_observed(self, value=None):
"""Corresponds to IDD Field `leapyear_observed` Yes if Leap Year will
be observed for this file No if Leap Year days (29 Feb) should be
ignored in this file.
Args:
value (str): value for IDD Field `leapyear_observed`
A... | def leapyear_observed(self, value=None):
"""Corresponds to IDD Field `leapyear_observed` Yes if Leap Year will
be observed for this file No if Leap Year days (29 Feb) should be
ignored in this file.
Args:
value (str): value for IDD Field `leapyear_observed`
A... | [
"Corresponds",
"to",
"IDD",
"Field",
"leapyear_observed",
"Yes",
"if",
"Leap",
"Year",
"will",
"be",
"observed",
"for",
"this",
"file",
"No",
"if",
"Leap",
"Year",
"days",
"(",
"29",
"Feb",
")",
"should",
"be",
"ignored",
"in",
"this",
"file",
"."
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4729-L4762 | [
"def",
"leapyear_observed",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of typ... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | HolidaysOrDaylightSavings.daylight_saving_start_day | Corresponds to IDD Field `daylight_saving_start_day`
Args:
value (str): value for IDD Field `daylight_saving_start_day`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: i... | pyepw/epw.py | def daylight_saving_start_day(self, value=None):
"""Corresponds to IDD Field `daylight_saving_start_day`
Args:
value (str): value for IDD Field `daylight_saving_start_day`
if `value` is None it will not be checked against the
specification and is assumed to b... | def daylight_saving_start_day(self, value=None):
"""Corresponds to IDD Field `daylight_saving_start_day`
Args:
value (str): value for IDD Field `daylight_saving_start_day`
if `value` is None it will not be checked against the
specification and is assumed to b... | [
"Corresponds",
"to",
"IDD",
"Field",
"daylight_saving_start_day"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4775-L4798 | [
"def",
"daylight_saving_start_day",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to b... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | HolidaysOrDaylightSavings.daylight_saving_end_day | Corresponds to IDD Field `daylight_saving_end_day`
Args:
value (str): value for IDD Field `daylight_saving_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 `v... | pyepw/epw.py | def daylight_saving_end_day(self, value=None):
"""Corresponds to IDD Field `daylight_saving_end_day`
Args:
value (str): value for IDD Field `daylight_saving_end_day`
if `value` is None it will not be checked against the
specification and is assumed to be a mi... | def daylight_saving_end_day(self, value=None):
"""Corresponds to IDD Field `daylight_saving_end_day`
Args:
value (str): value for IDD Field `daylight_saving_end_day`
if `value` is None it will not be checked against the
specification and is assumed to be a mi... | [
"Corresponds",
"to",
"IDD",
"Field",
"daylight_saving_end_day"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4811-L4834 | [
"def",
"daylight_saving_end_day",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be ... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | HolidaysOrDaylightSavings.export | 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 expor... | pyepw/epw.py | 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 ... | 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 ... | [
"Exports",
"object",
"to",
"its",
"string",
"representation",
"."
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4868-L4890 | [
"def",
"export",
"(",
"self",
",",
"top",
"=",
"True",
")",
":",
"out",
"=",
"[",
"]",
"if",
"top",
":",
"out",
".",
"append",
"(",
"self",
".",
"_internal_name",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"leapyear... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | Comments1.read | Read values.
Args:
vals (list): list of strings representing values | pyepw/epw.py | def read(self, vals):
"""Read values.
Args:
vals (list): list of strings representing values
"""
i = 0
if len(vals[i]) == 0:
self.comments_1 = None
else:
self.comments_1 = vals[i]
i += 1 | def read(self, vals):
"""Read values.
Args:
vals (list): list of strings representing values
"""
i = 0
if len(vals[i]) == 0:
self.comments_1 = None
else:
self.comments_1 = vals[i]
i += 1 | [
"Read",
"values",
"."
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4906-L4918 | [
"def",
"read",
"(",
"self",
",",
"vals",
")",
":",
"i",
"=",
"0",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"comments_1",
"=",
"None",
"else",
":",
"self",
".",
"comments_1",
"=",
"vals",
"[",
"i",
"]",
"i",
... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | Comments1.comments_1 | Corresponds to IDD Field `comments_1`
Args:
value (str): value for IDD Field `comments_1`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value | pyepw/epw.py | def comments_1(self, value=None):
"""Corresponds to IDD Field `comments_1`
Args:
value (str): value for IDD Field `comments_1`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
... | def comments_1(self, value=None):
"""Corresponds to IDD Field `comments_1`
Args:
value (str): value for IDD Field `comments_1`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
... | [
"Corresponds",
"to",
"IDD",
"Field",
"comments_1"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L4931-L4953 | [
"def",
"comments_1",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type str '... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | Comments2.read | Read values.
Args:
vals (list): list of strings representing values | pyepw/epw.py | def read(self, vals):
"""Read values.
Args:
vals (list): list of strings representing values
"""
i = 0
if len(vals[i]) == 0:
self.comments_2 = None
else:
self.comments_2 = vals[i]
i += 1 | def read(self, vals):
"""Read values.
Args:
vals (list): list of strings representing values
"""
i = 0
if len(vals[i]) == 0:
self.comments_2 = None
else:
self.comments_2 = vals[i]
i += 1 | [
"Read",
"values",
"."
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L5001-L5013 | [
"def",
"read",
"(",
"self",
",",
"vals",
")",
":",
"i",
"=",
"0",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"comments_2",
"=",
"None",
"else",
":",
"self",
".",
"comments_2",
"=",
"vals",
"[",
"i",
"]",
"i",
... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | Comments2.comments_2 | Corresponds to IDD Field `comments_2`
Args:
value (str): value for IDD Field `comments_2`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value | pyepw/epw.py | def comments_2(self, value=None):
"""Corresponds to IDD Field `comments_2`
Args:
value (str): value for IDD Field `comments_2`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
... | def comments_2(self, value=None):
"""Corresponds to IDD Field `comments_2`
Args:
value (str): value for IDD Field `comments_2`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
... | [
"Corresponds",
"to",
"IDD",
"Field",
"comments_2"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L5026-L5048 | [
"def",
"comments_2",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type str '... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | Comments2.export | 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 expor... | pyepw/epw.py | 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 ... | 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 ... | [
"Exports",
"object",
"to",
"its",
"string",
"representation",
"."
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L5063-L5080 | [
"def",
"export",
"(",
"self",
",",
"top",
"=",
"True",
")",
":",
"out",
"=",
"[",
"]",
"if",
"top",
":",
"out",
".",
"append",
"(",
"self",
".",
"_internal_name",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"comments... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DataPeriod.read | Read values.
Args:
vals (list): list of strings representing values | pyepw/epw.py | def read(self, vals):
"""Read values.
Args:
vals (list): list of strings representing values
"""
i = 0
if len(vals[i]) == 0:
self.number_of_records_per_hour = None
else:
self.number_of_records_per_hour = vals[i]
i += 1
... | def read(self, vals):
"""Read values.
Args:
vals (list): list of strings representing values
"""
i = 0
if len(vals[i]) == 0:
self.number_of_records_per_hour = None
else:
self.number_of_records_per_hour = vals[i]
i += 1
... | [
"Read",
"values",
"."
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L5100-L5132 | [
"def",
"read",
"(",
"self",
",",
"vals",
")",
":",
"i",
"=",
"0",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"number_of_records_per_hour",
"=",
"None",
"else",
":",
"self",
".",
"number_of_records_per_hour",
"=",
"vals... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DataPeriod.number_of_records_per_hour | Corresponds to IDD Field `number_of_records_per_hour`
Args:
value (int): value for IDD Field `number_of_records_per_hour`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError:... | pyepw/epw.py | def number_of_records_per_hour(self, value=None):
"""Corresponds to IDD Field `number_of_records_per_hour`
Args:
value (int): value for IDD Field `number_of_records_per_hour`
if `value` is None it will not be checked against the
specification and is assumed t... | def number_of_records_per_hour(self, value=None):
"""Corresponds to IDD Field `number_of_records_per_hour`
Args:
value (int): value for IDD Field `number_of_records_per_hour`
if `value` is None it will not be checked against the
specification and is assumed t... | [
"Corresponds",
"to",
"IDD",
"Field",
"number_of_records_per_hour"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L5145-L5165 | [
"def",
"number_of_records_per_hour",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"int",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to ... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DataPeriod.data_period_name_or_description | Corresponds to IDD Field `data_period_name_or_description`
Args:
value (str): value for IDD Field `data_period_name_or_description`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
V... | pyepw/epw.py | def data_period_name_or_description(self, value=None):
"""Corresponds to IDD Field `data_period_name_or_description`
Args:
value (str): value for IDD Field `data_period_name_or_description`
if `value` is None it will not be checked against the
specification a... | def data_period_name_or_description(self, value=None):
"""Corresponds to IDD Field `data_period_name_or_description`
Args:
value (str): value for IDD Field `data_period_name_or_description`
if `value` is None it will not be checked against the
specification a... | [
"Corresponds",
"to",
"IDD",
"Field",
"data_period_name_or_description"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L5178-L5201 | [
"def",
"data_period_name_or_description",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} nee... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DataPeriod.data_period_start_day_of_week | Corresponds to IDD Field `data_period_start_day_of_week`
Args:
value (str): value for IDD Field `data_period_start_day_of_week`
Accepted values are:
- Sunday
- Monday
- Tuesday
- Wednesday
... | pyepw/epw.py | def data_period_start_day_of_week(self, value=None):
"""Corresponds to IDD Field `data_period_start_day_of_week`
Args:
value (str): value for IDD Field `data_period_start_day_of_week`
Accepted values are:
- Sunday
- Monday
... | def data_period_start_day_of_week(self, value=None):
"""Corresponds to IDD Field `data_period_start_day_of_week`
Args:
value (str): value for IDD Field `data_period_start_day_of_week`
Accepted values are:
- Sunday
- Monday
... | [
"Corresponds",
"to",
"IDD",
"Field",
"data_period_start_day_of_week"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L5214-L5257 | [
"def",
"data_period_start_day_of_week",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need ... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DataPeriod.data_period_start_day | Corresponds to IDD Field `data_period_start_day`
Args:
value (str): value for IDD Field `data_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... | pyepw/epw.py | def data_period_start_day(self, value=None):
"""Corresponds to IDD Field `data_period_start_day`
Args:
value (str): value for IDD Field `data_period_start_day`
if `value` is None it will not be checked against the
specification and is assumed to be a missing ... | def data_period_start_day(self, value=None):
"""Corresponds to IDD Field `data_period_start_day`
Args:
value (str): value for IDD Field `data_period_start_day`
if `value` is None it will not be checked against the
specification and is assumed to be a missing ... | [
"Corresponds",
"to",
"IDD",
"Field",
"data_period_start_day"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L5270-L5293 | [
"def",
"data_period_start_day",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DataPeriod.data_period_end_day | Corresponds to IDD Field `data_period_end_day`
Args:
value (str): value for IDD Field `data_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... | pyepw/epw.py | def data_period_end_day(self, value=None):
"""Corresponds to IDD Field `data_period_end_day`
Args:
value (str): value for IDD Field `data_period_end_day`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
... | def data_period_end_day(self, value=None):
"""Corresponds to IDD Field `data_period_end_day`
Args:
value (str): value for IDD Field `data_period_end_day`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
... | [
"Corresponds",
"to",
"IDD",
"Field",
"data_period_end_day"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L5306-L5329 | [
"def",
"data_period_end_day",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of t... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DataPeriod.export | 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 expor... | pyepw/epw.py | 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 ... | 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 ... | [
"Exports",
"object",
"to",
"its",
"string",
"representation",
"."
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L5344-L5365 | [
"def",
"export",
"(",
"self",
",",
"top",
"=",
"True",
")",
":",
"out",
"=",
"[",
"]",
"if",
"top",
":",
"out",
".",
"append",
"(",
"self",
".",
"_internal_name",
")",
"out",
".",
"append",
"(",
"self",
".",
"_to_str",
"(",
"self",
".",
"number_o... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | DataPeriods.read | Read values.
Args:
vals (list): list of strings representing values | pyepw/epw.py | 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 = DataPeriod()
obj.read(vals[i:i + obj.field_count])
sel... | 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 = DataPeriod()
obj.read(vals[i:i + obj.field_count])
sel... | [
"Read",
"values",
"."
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L5381-L5395 | [
"def",
"read",
"(",
"self",
",",
"vals",
")",
":",
"i",
"=",
"0",
"count",
"=",
"int",
"(",
"vals",
"[",
"i",
"]",
")",
"i",
"+=",
"1",
"for",
"_",
"in",
"range",
"(",
"count",
")",
":",
"obj",
"=",
"DataPeriod",
"(",
")",
"obj",
".",
"read... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | WeatherData.read | Read values.
Args:
vals (list): list of strings representing values | pyepw/epw.py | def read(self, vals):
"""Read values.
Args:
vals (list): list of strings representing values
"""
i = 0
if len(vals[i]) == 0:
self.year = None
else:
self.year = vals[i]
i += 1
if len(vals[i]) == 0:
self.mont... | def read(self, vals):
"""Read values.
Args:
vals (list): list of strings representing values
"""
i = 0
if len(vals[i]) == 0:
self.year = None
else:
self.year = vals[i]
i += 1
if len(vals[i]) == 0:
self.mont... | [
"Read",
"values",
"."
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L5498-L5680 | [
"def",
"read",
"(",
"self",
",",
"vals",
")",
":",
"i",
"=",
"0",
"if",
"len",
"(",
"vals",
"[",
"i",
"]",
")",
"==",
"0",
":",
"self",
".",
"year",
"=",
"None",
"else",
":",
"self",
".",
"year",
"=",
"vals",
"[",
"i",
"]",
"i",
"+=",
"1"... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | WeatherData.year | Corresponds to IDD Field `year`
Args:
value (int): value for IDD Field `year`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `value` is not a valid value | pyepw/epw.py | def year(self, value=None):
"""Corresponds to IDD Field `year`
Args:
value (int): value for IDD Field `year`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `... | def year(self, value=None):
"""Corresponds to IDD Field `year`
Args:
value (int): value for IDD Field `year`
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
ValueError: if `... | [
"Corresponds",
"to",
"IDD",
"Field",
"year"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L5693-L5712 | [
"def",
"year",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"int",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type int '",
"... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | WeatherData.month | Corresponds to IDD Field `month`
Args:
value (int): value for IDD Field `month`
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:
... | pyepw/epw.py | def month(self, value=None):
"""Corresponds to IDD Field `month`
Args:
value (int): value for IDD Field `month`
value >= 1
value <= 12
if `value` is None it will not be checked against the
specification and is assumed to be a m... | def month(self, value=None):
"""Corresponds to IDD Field `month`
Args:
value (int): value for IDD Field `month`
value >= 1
value <= 12
if `value` is None it will not be checked against the
specification and is assumed to be a m... | [
"Corresponds",
"to",
"IDD",
"Field",
"month"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L5725-L5752 | [
"def",
"month",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"int",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type int '",
... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | WeatherData.day | Corresponds to IDD Field `day`
Args:
value (int): value for IDD Field `day`
value >= 1
value <= 31
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
Va... | pyepw/epw.py | def day(self, value=None):
"""Corresponds to IDD Field `day`
Args:
value (int): value for IDD Field `day`
value >= 1
value <= 31
if `value` is None it will not be checked against the
specification and is assumed to be a missing... | def day(self, value=None):
"""Corresponds to IDD Field `day`
Args:
value (int): value for IDD Field `day`
value >= 1
value <= 31
if `value` is None it will not be checked against the
specification and is assumed to be a missing... | [
"Corresponds",
"to",
"IDD",
"Field",
"day"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L5765-L5792 | [
"def",
"day",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"int",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type int '",
"'... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | WeatherData.hour | Corresponds to IDD Field `hour`
Args:
value (int): value for IDD Field `hour`
value >= 1
value <= 24
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
... | pyepw/epw.py | def hour(self, value=None):
"""Corresponds to IDD Field `hour`
Args:
value (int): value for IDD Field `hour`
value >= 1
value <= 24
if `value` is None it will not be checked against the
specification and is assumed to be a miss... | def hour(self, value=None):
"""Corresponds to IDD Field `hour`
Args:
value (int): value for IDD Field `hour`
value >= 1
value <= 24
if `value` is None it will not be checked against the
specification and is assumed to be a miss... | [
"Corresponds",
"to",
"IDD",
"Field",
"hour"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L5805-L5832 | [
"def",
"hour",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"int",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type int '",
"... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | WeatherData.minute | Corresponds to IDD Field `minute`
Args:
value (int): value for IDD Field `minute`
value >= 0
value <= 60
if `value` is None it will not be checked against the
specification and is assumed to be a missing value
Raises:
... | pyepw/epw.py | def minute(self, value=None):
"""Corresponds to IDD Field `minute`
Args:
value (int): value for IDD Field `minute`
value >= 0
value <= 60
if `value` is None it will not be checked against the
specification and is assumed to be ... | def minute(self, value=None):
"""Corresponds to IDD Field `minute`
Args:
value (int): value for IDD Field `minute`
value >= 0
value <= 60
if `value` is None it will not be checked against the
specification and is assumed to be ... | [
"Corresponds",
"to",
"IDD",
"Field",
"minute"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L5845-L5872 | [
"def",
"minute",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"int",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type int '",
... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | WeatherData.data_source_and_uncertainty_flags | Corresponds to IDD Field `data_source_and_uncertainty_flags` Initial
day of weather file is checked by EnergyPlus for validity (as shown
below) Each field is checked for "missing" as shown below. Reasonable
values, calculated values or the last "good" value is substituted.
Args:
... | pyepw/epw.py | def data_source_and_uncertainty_flags(self, value=None):
"""Corresponds to IDD Field `data_source_and_uncertainty_flags` Initial
day of weather file is checked by EnergyPlus for validity (as shown
below) Each field is checked for "missing" as shown below. Reasonable
values, calculated va... | def data_source_and_uncertainty_flags(self, value=None):
"""Corresponds to IDD Field `data_source_and_uncertainty_flags` Initial
day of weather file is checked by EnergyPlus for validity (as shown
below) Each field is checked for "missing" as shown below. Reasonable
values, calculated va... | [
"Corresponds",
"to",
"IDD",
"Field",
"data_source_and_uncertainty_flags",
"Initial",
"day",
"of",
"weather",
"file",
"is",
"checked",
"by",
"EnergyPlus",
"for",
"validity",
"(",
"as",
"shown",
"below",
")",
"Each",
"field",
"is",
"checked",
"for",
"missing",
"as... | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L5885-L5912 | [
"def",
"data_source_and_uncertainty_flags",
"(",
"self",
",",
"value",
"=",
"None",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"str",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} n... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | WeatherData.dry_bulb_temperature | Corresponds to IDD Field `dry_bulb_temperature`
Args:
value (float): value for IDD Field `dry_bulb_temperature`
Unit: C
value > -70.0
value < 70.0
Missing value: 99.9
if `value` is None it will not be checked against th... | pyepw/epw.py | def dry_bulb_temperature(self, value=99.9):
"""Corresponds to IDD Field `dry_bulb_temperature`
Args:
value (float): value for IDD Field `dry_bulb_temperature`
Unit: C
value > -70.0
value < 70.0
Missing value: 99.9
... | def dry_bulb_temperature(self, value=99.9):
"""Corresponds to IDD Field `dry_bulb_temperature`
Args:
value (float): value for IDD Field `dry_bulb_temperature`
Unit: C
value > -70.0
value < 70.0
Missing value: 99.9
... | [
"Corresponds",
"to",
"IDD",
"Field",
"dry_bulb_temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L5925-L5955 | [
"def",
"dry_bulb_temperature",
"(",
"self",
",",
"value",
"=",
"99.9",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be o... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | WeatherData.dew_point_temperature | Corresponds to IDD Field `dew_point_temperature`
Args:
value (float): value for IDD Field `dew_point_temperature`
Unit: C
value > -70.0
value < 70.0
Missing value: 99.9
if `value` is None it will not be checked against ... | pyepw/epw.py | def dew_point_temperature(self, value=99.9):
"""Corresponds to IDD Field `dew_point_temperature`
Args:
value (float): value for IDD Field `dew_point_temperature`
Unit: C
value > -70.0
value < 70.0
Missing value: 99.9
... | def dew_point_temperature(self, value=99.9):
"""Corresponds to IDD Field `dew_point_temperature`
Args:
value (float): value for IDD Field `dew_point_temperature`
Unit: C
value > -70.0
value < 70.0
Missing value: 99.9
... | [
"Corresponds",
"to",
"IDD",
"Field",
"dew_point_temperature"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L5968-L5998 | [
"def",
"dew_point_temperature",
"(",
"self",
",",
"value",
"=",
"99.9",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be ... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | WeatherData.relative_humidity | Corresponds to IDD Field `relative_humidity`
Args:
value (int): value for IDD Field `relative_humidity`
value >= 0
value <= 110
Missing value: 999
if `value` is None it will not be checked against the
specification and ... | pyepw/epw.py | def relative_humidity(self, value=999):
"""Corresponds to IDD Field `relative_humidity`
Args:
value (int): value for IDD Field `relative_humidity`
value >= 0
value <= 110
Missing value: 999
if `value` is None it will not be che... | def relative_humidity(self, value=999):
"""Corresponds to IDD Field `relative_humidity`
Args:
value (int): value for IDD Field `relative_humidity`
value >= 0
value <= 110
Missing value: 999
if `value` is None it will not be che... | [
"Corresponds",
"to",
"IDD",
"Field",
"relative_humidity"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L6011-L6039 | [
"def",
"relative_humidity",
"(",
"self",
",",
"value",
"=",
"999",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"int",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to be of type... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | WeatherData.atmospheric_station_pressure | Corresponds to IDD Field `atmospheric_station_pressure`
Args:
value (int): value for IDD Field `atmospheric_station_pressure`
Unit: Pa
value > 31000
value < 120000
Missing value: 999999
if `value` is None it will not be... | pyepw/epw.py | def atmospheric_station_pressure(self, value=999999):
"""Corresponds to IDD Field `atmospheric_station_pressure`
Args:
value (int): value for IDD Field `atmospheric_station_pressure`
Unit: Pa
value > 31000
value < 120000
Missin... | def atmospheric_station_pressure(self, value=999999):
"""Corresponds to IDD Field `atmospheric_station_pressure`
Args:
value (int): value for IDD Field `atmospheric_station_pressure`
Unit: Pa
value > 31000
value < 120000
Missin... | [
"Corresponds",
"to",
"IDD",
"Field",
"atmospheric_station_pressure"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L6052-L6082 | [
"def",
"atmospheric_station_pressure",
"(",
"self",
",",
"value",
"=",
"999999",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"int",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | WeatherData.extraterrestrial_horizontal_radiation | Corresponds to IDD Field `extraterrestrial_horizontal_radiation`
Args:
value (float): value for IDD Field `extraterrestrial_horizontal_radiation`
Unit: Wh/m2
value >= 0.0
Missing value: 9999.0
if `value` is None it will not be checked ... | pyepw/epw.py | def extraterrestrial_horizontal_radiation(self, value=9999.0):
"""Corresponds to IDD Field `extraterrestrial_horizontal_radiation`
Args:
value (float): value for IDD Field `extraterrestrial_horizontal_radiation`
Unit: Wh/m2
value >= 0.0
Missin... | def extraterrestrial_horizontal_radiation(self, value=9999.0):
"""Corresponds to IDD Field `extraterrestrial_horizontal_radiation`
Args:
value (float): value for IDD Field `extraterrestrial_horizontal_radiation`
Unit: Wh/m2
value >= 0.0
Missin... | [
"Corresponds",
"to",
"IDD",
"Field",
"extraterrestrial_horizontal_radiation"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L6095-L6122 | [
"def",
"extraterrestrial_horizontal_radiation",
"(",
"self",
",",
"value",
"=",
"9999.0",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'va... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | WeatherData.extraterrestrial_direct_normal_radiation | Corresponds to IDD Field `extraterrestrial_direct_normal_radiation`
Args:
value (float): value for IDD Field `extraterrestrial_direct_normal_radiation`
Unit: Wh/m2
value >= 0.0
Missing value: 9999.0
if `value` is None it will not be ch... | pyepw/epw.py | def extraterrestrial_direct_normal_radiation(self, value=9999.0):
"""Corresponds to IDD Field `extraterrestrial_direct_normal_radiation`
Args:
value (float): value for IDD Field `extraterrestrial_direct_normal_radiation`
Unit: Wh/m2
value >= 0.0
... | def extraterrestrial_direct_normal_radiation(self, value=9999.0):
"""Corresponds to IDD Field `extraterrestrial_direct_normal_radiation`
Args:
value (float): value for IDD Field `extraterrestrial_direct_normal_radiation`
Unit: Wh/m2
value >= 0.0
... | [
"Corresponds",
"to",
"IDD",
"Field",
"extraterrestrial_direct_normal_radiation"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L6135-L6162 | [
"def",
"extraterrestrial_direct_normal_radiation",
"(",
"self",
",",
"value",
"=",
"9999.0",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | WeatherData.horizontal_infrared_radiation_intensity | Corresponds to IDD Field `horizontal_infrared_radiation_intensity`
Args:
value (float): value for IDD Field `horizontal_infrared_radiation_intensity`
Unit: Wh/m2
value >= 0.0
Missing value: 9999.0
if `value` is None it will not be chec... | pyepw/epw.py | def horizontal_infrared_radiation_intensity(self, value=9999.0):
"""Corresponds to IDD Field `horizontal_infrared_radiation_intensity`
Args:
value (float): value for IDD Field `horizontal_infrared_radiation_intensity`
Unit: Wh/m2
value >= 0.0
... | def horizontal_infrared_radiation_intensity(self, value=9999.0):
"""Corresponds to IDD Field `horizontal_infrared_radiation_intensity`
Args:
value (float): value for IDD Field `horizontal_infrared_radiation_intensity`
Unit: Wh/m2
value >= 0.0
... | [
"Corresponds",
"to",
"IDD",
"Field",
"horizontal_infrared_radiation_intensity"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L6175-L6202 | [
"def",
"horizontal_infrared_radiation_intensity",
"(",
"self",
",",
"value",
"=",
"9999.0",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | WeatherData.global_horizontal_radiation | Corresponds to IDD Field `global_horizontal_radiation`
Args:
value (float): value for IDD Field `global_horizontal_radiation`
Unit: Wh/m2
value >= 0.0
Missing value: 9999.0
if `value` is None it will not be checked against the
... | pyepw/epw.py | def global_horizontal_radiation(self, value=9999.0):
"""Corresponds to IDD Field `global_horizontal_radiation`
Args:
value (float): value for IDD Field `global_horizontal_radiation`
Unit: Wh/m2
value >= 0.0
Missing value: 9999.0
... | def global_horizontal_radiation(self, value=9999.0):
"""Corresponds to IDD Field `global_horizontal_radiation`
Args:
value (float): value for IDD Field `global_horizontal_radiation`
Unit: Wh/m2
value >= 0.0
Missing value: 9999.0
... | [
"Corresponds",
"to",
"IDD",
"Field",
"global_horizontal_radiation"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L6215-L6241 | [
"def",
"global_horizontal_radiation",
"(",
"self",
",",
"value",
"=",
"9999.0",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} nee... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | WeatherData.direct_normal_radiation | Corresponds to IDD Field `direct_normal_radiation`
Args:
value (float): value for IDD Field `direct_normal_radiation`
Unit: Wh/m2
value >= 0.0
Missing value: 9999.0
if `value` is None it will not be checked against the
... | pyepw/epw.py | def direct_normal_radiation(self, value=9999.0):
"""Corresponds to IDD Field `direct_normal_radiation`
Args:
value (float): value for IDD Field `direct_normal_radiation`
Unit: Wh/m2
value >= 0.0
Missing value: 9999.0
if `value`... | def direct_normal_radiation(self, value=9999.0):
"""Corresponds to IDD Field `direct_normal_radiation`
Args:
value (float): value for IDD Field `direct_normal_radiation`
Unit: Wh/m2
value >= 0.0
Missing value: 9999.0
if `value`... | [
"Corresponds",
"to",
"IDD",
"Field",
"direct_normal_radiation"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L6254-L6280 | [
"def",
"direct_normal_radiation",
"(",
"self",
",",
"value",
"=",
"9999.0",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} need to... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | WeatherData.diffuse_horizontal_radiation | Corresponds to IDD Field `diffuse_horizontal_radiation`
Args:
value (float): value for IDD Field `diffuse_horizontal_radiation`
Unit: Wh/m2
value >= 0.0
Missing value: 9999.0
if `value` is None it will not be checked against the
... | pyepw/epw.py | def diffuse_horizontal_radiation(self, value=9999.0):
"""Corresponds to IDD Field `diffuse_horizontal_radiation`
Args:
value (float): value for IDD Field `diffuse_horizontal_radiation`
Unit: Wh/m2
value >= 0.0
Missing value: 9999.0
... | def diffuse_horizontal_radiation(self, value=9999.0):
"""Corresponds to IDD Field `diffuse_horizontal_radiation`
Args:
value (float): value for IDD Field `diffuse_horizontal_radiation`
Unit: Wh/m2
value >= 0.0
Missing value: 9999.0
... | [
"Corresponds",
"to",
"IDD",
"Field",
"diffuse_horizontal_radiation"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L6293-L6319 | [
"def",
"diffuse_horizontal_radiation",
"(",
"self",
",",
"value",
"=",
"9999.0",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {} ne... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
train | WeatherData.global_horizontal_illuminance | Corresponds to IDD Field `global_horizontal_illuminance`
will be missing if >= 999900
Args:
value (float): value for IDD Field `global_horizontal_illuminance`
Unit: lux
value >= 0.0
Missing value: 999999.0
if `value` is None it... | pyepw/epw.py | def global_horizontal_illuminance(self, value=999999.0):
""" Corresponds to IDD Field `global_horizontal_illuminance`
will be missing if >= 999900
Args:
value (float): value for IDD Field `global_horizontal_illuminance`
Unit: lux
value >= 0.0
... | def global_horizontal_illuminance(self, value=999999.0):
""" Corresponds to IDD Field `global_horizontal_illuminance`
will be missing if >= 999900
Args:
value (float): value for IDD Field `global_horizontal_illuminance`
Unit: lux
value >= 0.0
... | [
"Corresponds",
"to",
"IDD",
"Field",
"global_horizontal_illuminance",
"will",
"be",
"missing",
"if",
">",
"=",
"999900"
] | rbuffat/pyepw | python | https://github.com/rbuffat/pyepw/blob/373d4d3c8386c8d35789f086ac5f6018c2711745/pyepw/epw.py#L6332-L6358 | [
"def",
"global_horizontal_illuminance",
"(",
"self",
",",
"value",
"=",
"999999.0",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"try",
":",
"value",
"=",
"float",
"(",
"value",
")",
"except",
"ValueError",
":",
"raise",
"ValueError",
"(",
"'value {}... | 373d4d3c8386c8d35789f086ac5f6018c2711745 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.