Skip to content

Demonstration code and examples for XIOS (XML I/O Server) multi-version use

License

Notifications You must be signed in to change notification settings

UniExeterRSE/tcd-XIOS-demonstration

 
 

Repository files navigation

tcd-XIOS-demonstration

Demonstration code for XML I/O server XIOS usage.

Demonstrations of using XIOS are provided with Continuous Integration testing with respect to XIOS2 trunk.

Environments

Environments are managed, with a little complication, to enable running on scientific desktop and on Github Continuous Integration.

There is a helper script that one can source, in the root directory, to ensure that the scientific desktop LFRic environment is loaded, using the environment variable setup for the Makefiles, which is also compatible with the Github CI runner.

. desktopEnv

Running demonstrations as test cases

The code in this repository is organised with test runners, which enable some or all of the cases to be prepared and run.

To run all cases: (where $REPO_ROOT is the root directory of this repository)

cd $REPO_ROOT
python -m unittest discover -v -s xios_examples

Individual tests, or subsets of tests, may be run by explicitly targeting tests using python imports, e.g.

python -m unittest xios_examples.read_axis_resample.test_resample_cases

About

Demonstration code and examples for XIOS (XML I/O Server) multi-version use

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 46.5%
  • Fortran 39.4%
  • Makefile 7.2%
  • C 5.2%
  • Other 1.7%