uataq.filesystem.groupspaces.lin.LGR_UGGA_File.get_files#

static LGR_UGGA_File.get_files(SID, instrument='lgr_ugga', lvl='raw', time_range=None)[source]#

Get list of UGGA files for a given site.

Parameters:
  • SID (str) – The site ID.

  • instrument (str) – The instrument name. Defaults to ‘lgr_ugga’.

  • lvl (str) – The data level. Defaults to ‘raw’.

  • time_range (TimeRange | None) – Skip the folders of days that do not overlap this range. The pipeline keeps each day’s files in a folder named for the day, so a read of one day lists a few of the thousands of folders a site has. A folder that is not named for a day is always listed. Defaults to None, which lists every folder.

Returns:

A list of file paths.

Return type:

list[str]

Raises:

ValueError – If lvl is not "raw".