get_3d_data#
- get_3d_data(hdf='.h5')[source]#
Fetch the radial magnetic field (3D) data file.
- Parameters:
- hdf
HdfExtType, optional The HDF file format to fetch. Accepted values are
'.h5'for HDF5 and'.hdf'for HDF4. Default is'.h5'.
- hdf
- Returns:
- out
str Local path to the downloaded (and cached) radial magnetic field data file.
- out
Examples
>>> from psi_io import data >>> path = data.get_3d_data() >>> path.endswith(".h5") True