-
Notifications
You must be signed in to change notification settings - Fork 14
Release/2.0.0 #25
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
Merged
Merged
Release/2.0.0 #25
Changes from 16 commits
Commits
Show all changes
114 commits
Select commit
Hold shift + click to select a range
a5acf1e
Implement `DBEntry.get_sample` in IMASPy
maarten-ic fd49e02
Add docstrings for GetSliceParameters / GetSampleParameters
maarten-ic 45aaaaa
Merge remote-tracking branch 'origin/develop' into feature/IMAS-3885-…
maarten-ic 73268bb
Update tests for DD 4.0.0
maarten-ic bc9ea19
Update NCDBEntryImpl for get_sample and raise NotImplementedError
maarten-ic 674460b
Set `begin_timerange_action` as available since AL core 5.4
maarten-ic 0a47f94
Make the NC2IDS reader class-based
maarten-ic d59fcab
Add missing docstring
maarten-ic 4d028e2
Merge remote-tracking branch 'origin/develop' into feature/IMAS-3885-…
maarten-ic ee385b7
Disable MDSplus backend tests for get_sample
maarten-ic d518a87
Pull request #239: Make the NC2IDS reader class-based
maarten-ic b007316
Add validation for the ids_properties.homogeneous time variable in ne…
maarten-ic f7be384
Additional validation checks and tests
maarten-ic e524646
Fix a bug with lazy loading multiple IDSs from the same HDF5 DBEntry
maarten-ic d47566b
Validate netCDF sparsity metadata
maarten-ic 54d78d6
Add environment variable to disable netCDF file validation.
maarten-ic 5ccae5d
Eliminate nc2ids function
maarten-ic afb8c29
Update `get_sample` docstring to clarify that the interpolation mode …
maarten-ic 983a652
Pull request #241: Fix a bug with lazy loading multiple IDSs from the…
maarten-ic 6cd1e44
Add `validate_nc` command to imaspy CLI
maarten-ic 6ec21c7
Fix incorrect exception when using mode="x" for netCDF files
maarten-ic 1f6c6fe
Close netCDF datasets when an exception is raised
maarten-ic b7d8963
Add unit tests for `nc_validate.py`
maarten-ic fc2cbf2
Additional documentation for the `imaspy validate_nc` command line tool
maarten-ic 3c35fa9
Pull request #220: Implement `DBEntry.get_sample` in IMASPy
maarten-ic 7c56b5f
Explicitly set `IDSDEF_PATH` when opening a DBEntry with the UDA backend
maarten-ic 74d2e3a
Make prepare_data_dictionaries compatible with DD>4.0.0 (change in sc…
olivhoenen 77fb044
Updating the license and readme
olivhoenen d80778f
Replace references to LICENSE.md to LICENSE.txt
maarten-ic bd098bb
Pull request #244: Add `validate_nc` command to imaspy CLI
maarten-ic d427972
Pull request #248: Replace references to LICENSE.md to LICENSE.txt
maarten-ic 1968cde
Pull request #246: Make prepare_data_dictionaries compatible with DD>…
olivhoenen cef4667
Fix a bug with lazy loading
maarten-ic 4beab9f
Add contributing guidelines
olivhoenen 2eb385e
fixed readme.md for imas
gautamraj8044 133f78c
Apply suggestion on naming
olivhoenen 6f871f5
Update README.md
gautamraj8044 693f035
Update CONTRIBUTING.md
maarten-ic b2913f6
renamed imaspy to imas
prasad-sawantdesai 6e9d47f
added github actions and readthedocs conf
prasad-sawantdesai 36a7d8b
configures setuptools_scm
prasad-sawantdesai 42c3f91
removed dd_helpers_old
prasad-sawantdesai 5b3d0fe
Modifications for compatibility with TORAX.
Nush395 c1f7a96
Modify tests to use fixture.
Nush395 abcaf3f
Update imaspy/test/test_ids_mixin.py
Nush395 aab7f66
Update imaspy/test/test_cli.py
Nush395 006580a
Add error message when attemtping to store complex number with netcdf…
Nush395 b2afe07
Formatting.
Nush395 816bbd4
Add tests for different versions of netcdf.
Nush395 2f7b591
Minor changes to tests.
Nush395 3591f17
Rename test.
Nush395 0d48b0b
Update numpy exception version change to 1.25.
Nush395 68c225d
Fix bug in skip logic of tests.
Nush395 4570e13
merged develop branch
prasad-sawantdesai 00e1b38
fixed ci scripts and formatting
prasad-sawantdesai 95d587b
Adding release notes for tag 1.2.0
olivhoenen 835dccf
renaming of imas-python to IMAS-Python
prasad-sawantdesai f8ed355
fixed pytest and updated documentation references
prasad-sawantdesai 07c2144
merged with develop
prasad-sawantdesai 9d925a5
fixed readthedocs link
prasad-sawantdesai f53fb88
Apply suggestions from code review
prasad-sawantdesai 438dc73
Few fixes in the documentation
olivhoenen c5b43c4
Merge pull request #14 from iterorganization/rename_imaspy_sources_to…
olivhoenen 954bdb8
Publish package to pypi for tags only, and to testpypi for develop only
olivhoenen 6186d46
fixed issue with imas-core dependency while installing pip install -e…
prasad-sawantdesai 1d5b967
fixed create_model_ids_xml function
prasad-sawantdesai 39c8db7
pass filename as string
prasad-sawantdesai cb3830a
Update imas/backends/imas_core/mdsplus_model.py
prasad-sawantdesai 9a57d5c
Update imas/backends/imas_core/mdsplus_model.py
prasad-sawantdesai bc010ab
fixed review comments
prasad-sawantdesai 1b4189d
Implement implicit DD version conversion in NetCDF backend
maarten-ic 0c835a1
Improve performance of nc2ids by bypassing IDSPrimitive.value.setter …
maarten-ic 7ab02c7
WIP: lazy loading for netCDF backend
maarten-ic e388694
keep ubuntu-22.04 because latest has Python 3.13 and saxonche is not …
prasad-sawantdesai eabbecf
Add tests for netcdf lazy loading and fix implementation bugs
maarten-ic 962bc71
fixed Python version
prasad-sawantdesai a8a86d4
Merge pull request #16 from prasad-sawantdesai/fixes_imas_core_and_sa…
olivhoenen cfd9a56
Fix bug where untensorized data could be extracted as a 0D numpy arra…
maarten-ic 1f5362e
Fix the thrown exception message when trying to load imas_core
olivhoenen a110d69
Add missing `lazy` argument to unit tests
maarten-ic ae9af2a
Merge branch 'develop' of https://github.com/iterorganization/imas-py…
maarten-ic 62506e0
Update netcdf documentation
maarten-ic ee230cc
Merge pull request #17 from maarten-ic/feature/lazy-load-from-netcdf
maarten-ic 02bcf9a
initial version
prasad-sawantdesai 3587bc7
added matrix to run within different Python environment
prasad-sawantdesai 430391d
fixed UTC issue in Python 3.8
prasad-sawantdesai 6d95d00
timestamp converted to supported format for Python 3.8
prasad-sawantdesai 36cebdf
Refactor iterators used in ids2nc and nc2ids
maarten-ic 2429595
Refactor ids2nc, extract common tensorization logic in IDSTensorizer
maarten-ic 09fb355
Implement `imas.util.to_xarray`
maarten-ic 78b89f6
Add `xarray` as optional imas-python dependency
maarten-ic a56a5e7
Update xarray advanced course to mention imas.util.to_xarray
maarten-ic ce313de
Additional documentation for `imas.util.to_xarray`
maarten-ic dffeac7
Additional documentation and example for to_xarray
maarten-ic 31b5385
Merge branch 'main' into release/2.0.0
olivhoenen 49d87d4
Fixup merge conflicts
olivhoenen 90e97b6
Fixup code after merge
olivhoenen 2d93ab0
Updating changelog for release 2.0.0
olivhoenen f37b699
Fixup formatting in changelog
olivhoenen 6151b37
removed pull_request event
prasad-sawantdesai 062266a
added pull_request event with options
prasad-sawantdesai 02c6387
Merge branch 'develop' into release/2.0.0
olivhoenen 2e3b1b1
added workflow for sphinx doc generation and fixed docstrings
prasad-sawantdesai 1d212a0
fix sphinx docstring issue
prasad-sawantdesai 8f49f94
fixed formatting
prasad-sawantdesai 1d0398e
fixed sphinx doc issue
prasad-sawantdesai 125ba37
removed deactivate command from workflow
prasad-sawantdesai 50eba56
Update imas/backends/netcdf/ids_tensorizer.py
prasad-sawantdesai aa18dcb
Update imas/backends/netcdf/nc2ids.py
prasad-sawantdesai 84cb879
imas to imaspy for old version
prasad-sawantdesai cb64e55
Merge branch 'develop' into release/2.0.0
olivhoenen d81408c
Update the 5 min intro
olivhoenen 8f7986d
Update documentation for release 2.0
olivhoenen 0ecccbf
Update docs/source/changelog.rst
olivhoenen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: verify-sphinx-doc-generation | ||
|
||
on: | ||
push: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
|
||
jobs: | ||
build-and-test: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Checkout IMAS-Python sources | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
with: | ||
# until saxonche is available in 3.13 | ||
# https://saxonica.plan.io/issues/6561 | ||
python-version: "<3.13" | ||
|
||
- name: Display Python version | ||
run: python -c "import sys; print(sys.version)" | ||
|
||
|
||
- name: Set up Python virtual environment | ||
run: | | ||
python -m venv venv | ||
source venv/bin/activate | ||
|
||
- name: Install build dependencies | ||
run: | | ||
pip install --upgrade pip setuptools wheel build | ||
|
||
- name: Build package | ||
run: | | ||
rm -rf dist | ||
python -m build . | ||
|
||
- name: Install package and dependencies | ||
run: | | ||
pip install "$(readlink -f dist/*.whl)[docs,netcdf]" | ||
|
||
- name: Debug dependencies | ||
run: | | ||
pip freeze | ||
|
||
- name: Build Sphinx documentation | ||
run: | | ||
export SPHINXOPTS='-W -n --keep-going' | ||
make -C docs clean html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.