MPAS-Dev / MPAS-Model

Repository for MPAS models and shared framework releases.
238 stars 317 forks source link

[IO] Adding functions to estimate max byte size of all fields in a pool #1217

Open abishekg7 opened 1 month ago

abishekg7 commented 1 month ago

This PR introduces two functions to src/framework/mpas_stream_manager.F to help compute the max byte size given a field pool from an output stream. This information can be used to decide whether to use CDF2 or CDF5 as the output file format. See https://github.com/MPAS-Dev/MPAS-Model/pull/1219