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
Hi
I am trying to load a namefile from the simulation code Ramses (name = namelist.txt). It works most of the time but I have a run when this fails and gives the following message (see below).
This may be just that my namefile is wrongly formatted. Is there a way for me to easily read the namelist and see where the formatting may be wrong?
Can you attach a copy of the namelist? Or an example which has the same issue?
Reporting a namelist error is a harder proposal, since the parser is not very mature and doesn't have great awareness of its state. (I think compiler people would call it a "hand parser"). We might be able to do something like report the problematic line, though.
Thanks for this: actually I think that the namelist is just not well formatted and has been wrongly written by the f90 programme. So it is actually probably not a f90nml problem. Before going further and wasting your time, I'll have a deeper look myself. Thanks again and apologies for the trouble!
Hi
I am trying to load a namefile from the simulation code Ramses (name = namelist.txt). It works most of the time but I have a run when this fails and gives the following message (see below).
This may be just that my namefile is wrongly formatted. Is there a way for me to easily read the namelist and see where the formatting may be wrong?
Apologies for the naive question.
Thanks for any tips that may help.
Eric
======================================
[within ipython]
nm = "namelist.txt"
f90nml.read(nm)
The text was updated successfully, but these errors were encountered: