extract_timestep#

sunpy.net.scraper_utils.extract_timestep(directoryPattern)[source]#

Obtain the smallest time step for the given pattern.

Parameters:

directoryPattern (str) – The pattern containing the datetime-formats

Returns:

dateutil.relativedelta.relativedelta – The smallest timestep unit from the provided pattern.