You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extract a weather xarray dataset and metadata pandas dataframe from your zarr store.
13
+
`get` pulls the entire datastore into these objects. PVDeg does not make indexing available at this stage.
14
+
This is practical because all datavariables are stored in dask arrays so they are loaded lazily instead of into memmory when this is called.
15
+
Choose the points you need after this method is called by using `sel`, `isel`, `loc, `iloc`.
16
+
17
+
`store.get` is meant to match the API of other geospatial weather api's from pvdeg like `pvdeg.weather.get`, `pvdeg.weather.distributed_weather`, `GeospatialScenario.get_geospatial_data`
18
+
19
+
Parameters
20
+
-----------
21
+
group : str
22
+
name of the group to access from your local zarr store.
23
+
Groups are created automatically in your store when you save data using `pvdeg.store.store`.
24
+
25
+
*From `pvdeg.store.store` docstring*
26
+
Hourly PVGIS data will be saved to "PVGIS-1hr", 30 minute PVGIS to "PVGIS-30min", similarly 15 minute PVGIS will be saved to "PVGIS-15min"
27
+
28
+
Returns
29
+
-------
30
+
weather_ds : xr.Dataset
31
+
Weather data for all locations requested in an xarray.Dataset using a dask array backend. This may be larger than memory.
32
+
meta_df : pd.DataFrame
33
+
Pandas DataFrame containing metadata for all requested locations. Each row maps to a single entry in the weather_ds.
0 commit comments