pyrfu.mms.get_variable module#

pyrfu.mms.get_variable.get_variable(file_path, cdf_name)[source]#

Reads field named cdf_name in file and convert to DataArray.

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

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

Returns:

out – Target variable.

Return type:

xarray.DataArray