NOAA-EMC / CMEPS

NUOPC Community Mediator for Earth Prediction Systems
https://escomp.github.io/CMEPS/
0 stars 18 forks source link

Allow tiled history output for non-cubed sphere configurations #111

Closed DeniseWorthen closed 3 months ago

DeniseWorthen commented 6 months ago

When using component-specific mediator history files (ie, history_n_atm_inst ), it is possible to write the files on the the cube-sphere tiles instead of the mesh. This is set via a CMEPS config variable for the component, eg

history_tile_atm = @[ATMTILESIZE]

This also works for the LND component when run on the cubed-sphere grid. Currently the ATMTILESIZE is set as the cube-sphere dimenion, e.g. 96 and the mesh is assumed to be decomposed into 6x96x96.

For regional configurations of a single tile, the tilesize needs to recognize there is only a single tile, where the x and y dimensions are not the same.

DeniseWorthen commented 5 months ago

The original method of specifying the CSG will be replaced by having FV3 add the required cpl_scalars to its export state using a new index in the cpl_scalars array for the number of tiles. This allows both regional and CSG configurations to be handled seamlessly in CMEPS.