Package holding utilities for Generalized Grid Description (GGD) objects in IMAS datastructure. It provides, interpolation routines, grid subset tools, and plotting recipes. For installation and usage instructions, see the online documentation. For documentation on under development branch, see dev online documentation
For installation:
using Pkg
Pkg.add("IMASggd")
If you are contributing to this project, you would need to install dvc to fetch sample files for testing. Once installed, please configure your ssh so that you can ssh into omega tunneling through cybele without requiring to enter password. This is optional but will make it much easier for you.
Once you have completed above steps, inside the git repo, simply do:
dvc pullThis would download the sample files in the samples directory. Then to run tests, you would first need to instantiate the project:
julia --projectThen press ]:
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.11.5 (2025-04-14)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> ]Then type:
(IMASggd) pkg> instantiateOnce the package has been instantiated, you can run the tests using:
(IMASggd) pkg> testThis would run all the tests though. To run specific tests, you can do following from the command line to see help options (this works after you ahve instantiated the project like mentioned above):
% julia --project test/test.jl help
Usage (from inside IMASggd.jl):
julia --project test/test.jl [interp] [projection] [in] [subset_tools] [types] [h] [help]
Run tests. Default is all tests.
Optional arguments:
interp Test interp
projection Test project_prop_on_subset!()
in Test ∈
subset_tools Test subset tools
types Test types
h Show this help message and exit
help Show this help message and exit