geogridfusion.geogridfusion.store#

geogridfusion.geogridfusion.store(dataset: Dataset, store: NestedNamespace, map_index: bool = True, remove_duplicates: bool = True) None[source]#

Add geospatial meteorolical data to your zarr store. Data will be saved to the correct group based on its periodicity.

This maps arbitrary spatial indexes “gids” to spatially signficant indexes that are only used to check for duplicates and repeat entries.

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”

Parameters:
  • dataset (xr.Dataset) – dataset to store with “ref_grid_id” or “gid” dimension, and “latitude:” and “longitude” coordinates

  • name (str) – geogridfusion datastore name to utilize

  • map_index (bool) – remap index “gid” to pre-baked uniform resolution grid indexes. unless your input data has spatially significant and unique indexes like a geospatial id “gid”, do not turn this off.

  • remove_duplicates (bool) – remove duplicate points in new dataset at resolution of store provided