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
3 changes: 3 additions & 0 deletions docs/sphinx/source/whatsnew/v0.11.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ Bug fixes

Testing
~~~~~~~
* Updated the tests for :py:func:`~pvlib.iotools.get_pvgis_tmy`
and :py:func:`~pvlib.iotools.read_pvgis_tmy` as the default
API endpoint has changed from 5.1 to 5.2. (:pull:`2222`)


Documentation
Expand Down
125 changes: 32 additions & 93 deletions pvlib/data/pvgis_tmy_meta.json
Original file line number Diff line number Diff line change
@@ -1,93 +1,32 @@
{
"inputs": {
"location": {
"description": "Selected location",
"variables": {
"latitude": {
"description": "Latitude",
"units": "decimal degree"
},
"longitude": {
"description": "Longitude",
"units": "decimal degree"
},
"elevation": {
"description": "Elevation",
"units": "m"
}
}
},
"meteo_data": {
"description": "Sources of meteorological data",
"variables": {
"radiation_db": {
"description": "Solar radiation database"
},
"meteo_db": {
"description": "Database used for meteorological variables other than solar radiation"
},
"year_min": {
"description": "First year of the calculations"
},
"year_max": {
"description": "Last year of the calculations"
},
"use_horizon": {
"description": "Include horizon shadows"
},
"horizon_db": {
"description": "Source of horizon data"
}
}
}
},
"outputs": {
"months_selected": {
"type": "time series",
"timestamp": "monthly",
"description": "months selected for the TMY"
},
"tmy_hourly": {
"type": "time series",
"timestamp": "hourly",
"variables": {
"T2m": {
"description": "2-m air temperature",
"units": "degree Celsius"
},
"RH": {
"description": "relative humidity",
"units": "%"
},
"G(h)": {
"description": "Global irradiance on the horizontal plane",
"units": "W/m2"
},
"Gb(n)": {
"description": "Beam/direct irradiance on a plane always normal to sun rays",
"units": "W/m2"
},
"Gd(h)": {
"description": "Diffuse irradiance on the horizontal plane",
"units": "W/m2"
},
"IR(h)": {
"description": "Surface infrared (thermal) irradiance on a horizontal plane",
"units": "W/m2"
},
"WS10m": {
"description": "10-m total wind speed",
"units": "m/s"
},
"WD10m": {
"description": "10-m wind direction (0 = N, 90 = E)",
"units": "degree"
},
"SP": {
"description": "Surface (air) pressure",
"units": "Pa"
}
}
}
}
}
{"inputs": {"location": {"description": "Selected location",
"variables": {"latitude": {"description": "Latitude",
"units": "decimal degree"},
"longitude": {"description": "Longitude", "units": "decimal degree"},
"elevation": {"description": "Elevation", "units": "m"}}},
"meteo_data": {"description": "Sources of meteorological data",
"variables": {"radiation_db": {"description": "Solar radiation database"},
"meteo_db": {"description": "Database used for meteorological variables other than solar radiation"},
"year_min": {"description": "First year of the calculations"},
"year_max": {"description": "Last year of the calculations"},
"use_horizon": {"description": "Include horizon shadows"},
"horizon_db": {"description": "Source of horizon data"}}}},
"outputs": {"months_selected": {"type": "time series",
"timestamp": "monthly",
"description": "months selected for the TMY"},
"tmy_hourly": {"type": "time series",
"timestamp": "hourly",
"variables": {"T2m": {"description": "2-m air temperature",
"units": "degree Celsius"},
"RH": {"description": "relative humidity", "units": "%"},
"G(h)": {"description": "Global irradiance on the horizontal plane",
"units": "W/m2"},
"Gb(n)": {"description": "Beam/direct irradiance on a plane always normal to sun rays",
"units": "W/m2"},
"Gd(h)": {"description": "Diffuse irradiance on the horizontal plane",
"units": "W/m2"},
"IR(h)": {"description": "Surface infrared (thermal) irradiance on a horizontal plane",
"units": "W/m2"},
"WS10m": {"description": "10-m total wind speed", "units": "m/s"},
"WD10m": {"description": "10-m wind direction (0 = N, 90 = E)",
"units": "degree"},
"SP": {"description": "Surface (air) pressure", "units": "Pa"}}}}}
Loading
Loading