Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ keywords = [
"PV",
]
dependencies = [
"aiohttp==3.13.4",
"aiohttp==3.14.1",
"numpy>=1.19.3",
"pvlib>=0.12.0",
"scipy>1.6.0",
Expand Down
11 changes: 9 additions & 2 deletions tutorials/01_basics/04_weather_database_access.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": null,
"metadata": {
"execution": {
"iopub.execute_input": "2025-12-03T15:42:18.187172Z",
Expand Down Expand Up @@ -321,7 +321,14 @@
" x_0=6.5,\n",
" wind_factor=0.33,\n",
")\n",
"print(pvdeg.standards.interpret_standoff(res))\n",
"\n",
"# Print rounded numeric outputs for testing\n",
"res_clean = {\n",
" \"x_cm\": round(float(res[\"x\"].iloc[0]), 1),\n",
" \"T98_0_C\": round(float(res[\"T98_0\"].iloc[0]), 1),\n",
" \"T98_inf_C\": round(float(res[\"T98_inf\"].iloc[0]), 1),\n",
"}\n",
"print(res_clean)\n",
"\n",
"# Clean metadata for consistent output (remove variable fields)\n",
"meta_clean = {k: v for k, v in meta.items() if k not in [\"irradiance_time_offset\"]}\n",
Expand Down
9 changes: 8 additions & 1 deletion tutorials/01_basics/scripts/04_weather_database_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,14 @@
x_0=6.5,
wind_factor=0.33,
)
print(pvdeg.standards.interpret_standoff(res))

# Print rounded numeric outputs for testing
res_clean = {
"x_cm": round(float(res["x"].iloc[0]), 1),
"T98_0_C": round(float(res["T98_0"].iloc[0]), 1),
"T98_inf_C": round(float(res["T98_inf"].iloc[0]), 1),
}
print(res_clean)

# Clean metadata for consistent output (remove variable fields)
meta_clean = {k: v for k, v in meta.items() if k not in ["irradiance_time_offset"]}
Expand Down
Loading