dtscalibration.read_sensortran_files

dtscalibration.read_sensortran_files(directory: str | Path, timezone_input_files: str = 'UTC', timezone_netcdf: str = 'UTC', silent: bool = False, **kwargs) Dataset[source]

Read a folder with measurement files from a device of the Sensortran brand. Each measurement file contains values for a single timestep. Remember to check which timezone you are working in.

The sensortran files are already timezone aware

Parameters:
  • directory (str, Path) – Path to folder containing BinaryRawDTS and BinaryTemp files

  • timezone_input_files (str, optional) – Timezone string of the measurement files. Remember to check when measurements are taken. Also if summertime is used.

  • timezone_netcdf (str, optional) – Timezone string of the netcdf file. UTC follows CF-conventions.

  • silent (bool) – If set tot True, some verbose texts are not printed to stdout/screen

  • kwargs (dict-like, optional) – keyword-arguments are passed to DataStore initialization

  • Returns

  • ——–

  • DataStore – The newly created datastore.