dtscalibration.read_apsensing_files

dtscalibration.read_apsensing_files(filepathlist=None, directory=None, file_ext='*.xml', timezone_input_files='UTC', timezone_netcdf='UTC', silent=False, load_in_memory='auto', **kwargs)[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.

Parameters:
  • filepathlist (list of str, optional) – List of paths that point the the silixa files

  • directory (str, Path, optional) – Path to folder

  • 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.

  • file_ext (str, optional) – file extension of the measurement files

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

  • load_in_memory ({‘auto’, True, False}) – If ‘auto’ the Stokes data is only loaded to memory for small files

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

  • Notes

  • ——

  • Only XML files are supported for now

  • Returns

  • ——–

  • datastore (DataStore) – The newly created datastore.