integration_fixture

petrophys.datasets.integration_fixture

integration_fixture(name, download=True)[source]

Return the path to a large native-format fixture, downloading it if needed.

name may be a complete filename or an unambiguous file stem. A source checkout’s copy is used when it is complete (not a Git LFS pointer); otherwise the file is downloaded once from DATA_URL into data_dir() and checked against its recorded SHA-256. With download=False nothing is fetched, and the checkout path is returned even when the file is absent, so check path.exists() before use. Names that are not catalogued raise FileNotFoundError.

Parameters:
Return type:

Path