get_3d_data

Contents

get_3d_data#

get_3d_data(hdf='.h5')[source]#

Fetch the radial magnetic field (3D) data file.

Parameters:
hdfHdfExtType, optional

The HDF file format to fetch. Accepted values are '.h5' for HDF5 and '.hdf' for HDF4. Default is '.h5'.

Returns:
outstr

Local path to the downloaded (and cached) radial magnetic field data file.

Examples

>>> from psi_io import data
>>> path = data.get_3d_data()
>>> path.endswith(".h5")
True