pyrfu.mms.get_ts module#

pyrfu.mms.get_ts.get_ts(file_path, cdf_name, tint: list | None = None)[source]#

Reads field named cdf_name in file and convert to time series.

Parameters:
  • file_path (str) – Path of the cdf file.

  • cdf_name (str) – Name of the target variable in the cdf file.

  • tint (list of str, Optional) – Time interval.

Returns:

out – Time series of the target variable in the selected time interval.

Return type:

xarray.DataArray