Skip to content

XIOS: allow a field to be read and written with different types #1034

@joewallwork

Description

@joewallwork

In nextSIM-DG, fields that are treated as DGFields by the model are often initialised from HField data in an initial condition file. They may subsequently be written out as DGField restarts and later runs can read in the restart from DGField. This means that we need to separate out the reading and writing part of a field to improve generality. The overloaded = operator of ModelArray may be used to "project" from HField to DGField so we'll probably need to make use of this.

Metadata

Metadata

Assignees

Labels

ICCSTasks or reviews for the ICCS teamenhancementNew feature or request

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions