Skip to content

Generating a cdf namelist gives errors #56

@thomaswilder

Description

@thomaswilder

I am running cdfnamelist -p to generate a template namelist as some of my variable names are different to the prescribed names set. Running this command results in a file PrintCdfNames.namlist with the contents

 ! Tue Sep 12 16:03:34 2023
 ! Namelist automatically generated by PrintCdfNames 
 ! Do not edit without changing its name ... 
 ! ------------------------------------------

and a .err file like

At line 348 of file modcdfnames.F90 (unit = 3, file = 'PrintCdfNames.namlist')
Fortran runtime error: End of record

Error termination. Backtrace:
#0  0x7f6b475c460f in write_character
	at ../../../libgfortran/io/write.c:1450
#1  0x7f6b475c7eab in nml_write_obj
	at ../../../libgfortran/io/write.c:2253
#2  0x7f6b475c1763 in finalize_transfer
	at ../../../libgfortran/io/transfer.c:4283
#3  0x5602ecf72dbe in ???
#4  0x5602ecf72247 in ???
#5  0x5602ecf7227d in ???
#6  0x7f6b46db8554 in ???
#7  0x5602ecf711d8 in ???

Could anyone advise how I should generate a template namelist, and what I may be doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions