psi_data#
Sample data fetching and management utilities for Predictive Science Inc.
This package provides thin, cached download helpers for PSI sample datasets —
MHD model output from MAS and POT3D runs plus standalone example files. Files
are downloaded on demand into a local pooch cache and verified against
packaged checksums, so repeated calls are cheap.
Examples#
>>> import psi_data
>>> paths = psi_data.fetch_mas_data(domains="cor", variables="br")
>>> paths.cor_br
PosixPath('.../cor/mhd/br002.h5')
Functions
|
Delete cached data files downloaded by the |
|
Fetch every registry file matching the requested HDF version. |
|
Fetch the bundled example coronal-hole map database, if available. |
|
Fetch the bundled example magnetic field line trace data file. |
|
Fetch the bundled example radial scaling data file. |
|
Fetch MAS magnetohydrodynamic model output for the given domains and variables. |
|
Fetch derived MAS quantities defined at the model inner radial boundary. |
|
Fetch POT3D potential-field source-surface (PFSS) magnetic field components. |
Exceptions
Warning emitted when a requested data file is unavailable. |