nextsimhub / nextsimdg

neXtSIM_DG : next generation sea-ice model with DG
https://nextsim-dg.readthedocs.io/en/latest/?badge=latest
Apache License 2.0
10 stars 13 forks source link

Wrap XIOS API calls part 2: setters #559

Closed jwallwork23 closed 5 months ago

jwallwork23 commented 6 months ago

Wrap XIOS API calls part 2: setters

Fixes #558

Task List


Change Description

Note that #555 will need to be merged first. This PR wraps more of the XIOS API for use in neXtSIM-DG. In particular, it allows neXtSIM-DG to create XIOS objects itself rather than relying on XML input files.


Test Description

Update TestXiosInit_MPI2.cpp...


Pre-Request Checklist

jwallwork23 commented 5 months ago

Managed to figure this out! We can set up the entire example using the API introduced in this PR.

Also opened #571, which will allow us to reduce iodef.xml further.

jwallwork23 commented 5 months ago

Thanks very much for reviewing this @TomMelt!