datacube.api.query.solar_day#

datacube.api.query.solar_day(dataset, longitude=None)[source]#

Adjust Dataset timestamp for “local time” given location and convert to numpy.

Parameters:
  • dataset (Dataset) – Dataset object from which to read time and location

  • longitude (float | None) – If supplied correct timestamp for this longitude, rather than mid-point of the Dataset’s footprint

Return type:

datetime64