Skip to content

Integrate openpmd-scipp into the main API #1716

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 24 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
d47d6d8
Add Code from openpmd_scipp repository
pordyna Jan 31, 2025
7c1e484
WIP: Try lazy loading scipp converter
franzpoeschel Jan 31, 2025
50a9561
Add preliminary example
pordyna Feb 4, 2025
2c36906
Move lazy_init under scipp folder again
franzpoeschel Feb 4, 2025
c2b8412
Revert "Move lazy_init under scipp folder again"
franzpoeschel Feb 4, 2025
7e93f34
Some import checks
franzpoeschel Feb 4, 2025
13d6318
Add Scipp documentation from README.md
pordyna Feb 5, 2025
a647bfd
Some formatting fixes
pordyna Feb 5, 2025
464572c
Adapt documentation to integration into openPMD-api
franzpoeschel Feb 5, 2025
1262583
Add Jupyter Notebook from openpmd_scipp repo
pordyna Feb 5, 2025
dc1877c
Adapt to changes in the openPMD-api repo
franzpoeschel Feb 5, 2025
fb0a9ad
Some fixes for documentation
franzpoeschel Feb 5, 2025
10eec02
Try adding some scipp runners to the CI
franzpoeschel Feb 5, 2025
9449631
scipp apparently unsupported on musllinux
franzpoeschel Feb 11, 2025
7c63412
Remove non-ASCII character
franzpoeschel Feb 11, 2025
26d7d04
Documentation: 80 chars line limit
pordyna Feb 11, 2025
9b3e45d
80 chars line limit: code
pordyna Feb 11, 2025
aa4719a
Compatibility with Python 3.8
franzpoeschel Feb 12, 2025
3bde4fb
79 chars instead of 80..
pordyna Feb 12, 2025
153d013
Fix unused import
franzpoeschel Feb 12, 2025
fa98c14
Style fixes
franzpoeschel Feb 12, 2025
9c1b184
Style fixes
pordyna Feb 12, 2025
12e9ad3
Fix plopp import again..
franzpoeschel Feb 12, 2025
124b080
Change/add license info
franzpoeschel Feb 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ jobs:
sudo apt install clang-14 cmake gfortran libhdf5-dev python3.11 python3.11-dev wget
sudo .github/workflows/dependencies/install_spack
python3.11 -m pip install numpy pandas
python -m pip install scipp plopp
git clone -b v4.0.3 https://github.com/ToruNiina/toml11
cmake -S toml11 -B build_toml11 \
-DCMAKE_INSTALL_PREFIX=toml11_install \
Expand Down Expand Up @@ -229,6 +230,8 @@ jobs:
python3 -m pip install -U pandas
python3 -m pip install -U dask
python3 -m pip install -U pyarrow
python3 -m pip install -U plopp
python3 -m pip install -U scipp
- name: Build
env: {CC: gcc-7, CXX: g++-7, CXXFLAGS: -Werror}
run: |
Expand Down
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,8 @@ if(openPMD_HAVE_PYTHON)
__init__.py DaskArray.py DaskDataFrame.py DataFrame.py
ls/__init__.py ls/__main__.py
pipe/__init__.py pipe/__main__.py
scipp/__init__.py scipp/loader.py scipp/mesh_loader.py scipp/utils.py
ScippLazyInit.py
)
endif()

Expand Down Expand Up @@ -720,6 +722,7 @@ set(openPMD_PYTHON_EXAMPLE_NAMES
11_particle_dataframe
12_span_write
13_write_dynamic_configuration
15_scipp_loader
)

if(openPMD_USE_INVASIVE_TESTS)
Expand Down
856 changes: 856 additions & 0 deletions docs/source/analysis/README_15_0.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading