Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating a cdf namelist gives errors #56

Open
thomaswilder opened this issue Sep 12, 2023 · 0 comments
Open

Generating a cdf namelist gives errors #56

thomaswilder opened this issue Sep 12, 2023 · 0 comments

Comments

@thomaswilder
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant