MetOffice / monio

Met Office NetCDF I/O (MONIO) written in C++ for file I/O in JEDI-based DA (JADA).
BSD 3-Clause "New" or "Revised" License
3 stars 2 forks source link

Test FieldSet Write #11

Closed phlndrwd closed 1 year ago

phlndrwd commented 1 year ago

A number of changes to support the new test_monio_fieldset_write. As the simplest of the 5 use-cases in MONIO this was chosen as the place to develop the field-by-field memory efficient approach to writing that has already been implemented in the state read, and will be used for the other use cases (state and increment, read and write). The development was carried out against the test. Which passes only if file writing successfully occurs.

There is not yet any checking of file contents. However, there will be for the full state test, and any issues with data ordering will be addressed there (given that this code is inherited from LFRic-Lite it is currently hoped that potential data ordering issues have already been addressed).

The test uses a C48 but has been found to run successfully for a C224.

Current test outputs: http://fcm1/cylc-review/taskjobs/punderwo/?suite=monio_memory_efficiency3