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
Describe the bug
The package f90nml (https://github.com/marshallward/f90nml) used by ESM-Tools has a bug (marshallward/f90nml#110) which means it cannot handle certain types of namelists correctly. Unfortunately we have such namelists (which are valid fortran namelists) sometimes with NEMO in FOCI and
Workaround
Since it seems to be difficult to fix this in f90nml (see discussion at marshallward/f90nml#110) a workaround is to rewrite the problematic section by using named entries in the namelist. To do so, you need to look up the names in the source code. In the above test case I was able to produce a workaround with
Hi @seb-wahl, yeah I saw this. I don't think anything in ECHAM or FESOM currently uses this style of namelist. Out of curiosity, what does this translate to? A 3x4 array?
The namelist parser should certainly be able to handle that somehow, but I do not have time to look into it (plus it is foreign code, so it would take me even longer 😞
Describe the bug
The package f90nml (https://github.com/marshallward/f90nml) used by ESM-Tools has a bug (marshallward/f90nml#110) which means it cannot handle certain types of namelists correctly. Unfortunately we have such namelists (which are valid fortran namelists) sometimes with NEMO in FOCI and
is turned into
by f90nml together with warnings (see marshallward/f90nml#110 for details)
Workaround
Since it seems to be difficult to fix this in f90nml (see discussion at marshallward/f90nml#110) a workaround is to rewrite the problematic section by using named entries in the namelist. To do so, you need to look up the names in the source code. In the above test case I was able to produce a workaround with
But maybe one of us is able to actually fix this in f90nml correctly, but I doubt that we have time to do this...
The text was updated successfully, but these errors were encountered: