Each HistoryCollectionGridComp will need a ESMF_FieldBundle that contains the output fields with the correct names, i.e. not the short name but the alias the user specified.
We obviously don't want to make a whole new copy. Rather we want to make a new field, but share the pointer with the import field and we want to copy the ESMF_Info as well to the new field.
So we need a procedure to do this in the initialize method after the fields have been allocated.
For this first round, let's not support the case if the output field is the result of an expression. This requires creating new field that is not pointed sharing, this is much more complicated for reasons that will be spelled out in another issue.
Each HistoryCollectionGridComp will need a ESMF_FieldBundle that contains the output fields with the correct names, i.e. not the short name but the alias the user specified.
We obviously don't want to make a whole new copy. Rather we want to make a new field, but share the pointer with the import field and we want to copy the ESMF_Info as well to the new field.
So we need a procedure to do this in the initialize method after the fields have been allocated.
For this first round, let's not support the case if the output field is the result of an expression. This requires creating new field that is not pointed sharing, this is much more complicated for reasons that will be spelled out in another issue.