pyrfu.mms.db_get_variable module#

pyrfu.mms.db_get_variable.db_get_variable(dataset_name: str, cdf_name: str, tint: list, verbose: bool | None = True, data_path: str | None = '') DataArray[source]#

Get variable in the cdf file.

Parameters:
  • dataset_name (str) – Name of the dataset.

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

  • tint (list) – Time interval.

  • verbose (bool, Optional) – Status monitoring. Default is verbose = True

  • data_path (str, Optional) – Path of MMS data. Default uses pyrfu.mms.mms_config.py

Returns:

out – Variable of the target variable.

Return type:

DataArray

Raises:

FileNotFoundError – If no files are found for the dataset.