You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PIO2 library fills in unused characters of a string variable with
C null characters, and replaces C null characters with spaces when reading
strings. However, the PIO1 library does not perform these conversions.
Consequently, if a file written by the PIO2 library is read by the PIO1 library,
C null characters may be present in the resulting Fortran string.
Under the assumption that C null characters will generally not be expected
or handled in MPAS (e.g., in timestamp strings), this commit makes calls to
MPAS_sanitize_string to convert any C null characters in strings read by PIO
into spaces.
0 commit comments