The Earth System Modeling Framework (ESMF) is a suite of software tools for developing high-performance, multi-component Earth science modeling applications.
Spaces are breaking ESMF_Info. So NUOPC attributes doesn't store restart_fhat all. This is also true for restart_fh = "0.05, 0.25, 0.5, 3, 6".
reproducer_info.tar.gz
Discussed in https://github.com/orgs/esmf-org/discussions/291
Using ESMF_Config with a list of items isn't working unless items do not have whitespace and are parsed in user code. Reproducer attached
What's broken
Lists aren't working. This is seen as a single string.
Spaces are breaking ESMF_Info. So NUOPC attributes doesn't store
restart_fh
at all. This is also true forrestart_fh = "0.05, 0.25, 0.5, 3, 6"
. reproducer_info.tar.gzIssue Source
NUOPC_CompAttributeIngest does not ingest attributes from a NUOPC_FreeFormat if they do not have exactly 3 tokens. First token is the Info label, second token is
=
, third token is value up until first space. If a 4th token is found then it silently skips the line. https://github.com/esmf-org/esmf/blob/4bbe0ebe7e7617d5a16a4e027e17fca893f9d4a2/src/addon/NUOPC/src/NUOPC_Comp.F90#L1724