Skip to content

Transferring Grid in memory #3

@Sumanshekhar17

Description

@Sumanshekhar17

@danrosen25 Starting an issue to track the progress of the code!

Problem description:
Right now we want to use a grid provided by another component in a NUOPC model, instead of creating a new one. This process is part of setting up the interactions between model component and DART, where one component can "accept" a grid and associated fields from another component.

Here's how we could manage this using a grid provided by another component (rough idea):

Step 1: Configuration of the Import State
To use a grid from another component, the DART component needs to properly configure its import state to indicate that it expects to receive this grid. This is typically done during the initialization phase where you define what DART would need (import) and produce (export).

Step 2: Advertise and Realize
In NUOPC, fields and their associated grids are advertised to communicate what a component can provide or needs to receive. Then, during the realization step, the component actually acquires the data structures necessary to operate on the data, including the grid. This can be done using ESMF field API ?

Tagging @amrhein @hkershaw-brown @anhpham3621 so that you guys could get notification!

Metadata

Metadata

Labels

questionFurther information is requested

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions