PTEMARB.DAT file not read correctly

28 views
Skip to first unread message

Noel Gomariz

unread,
Aug 14, 2025, 8:10:43 AM8/14/25
to european-calpuff-user-discussion-group
Hi all,

I am getting an error when executing calpuff. It seems that it is trying to read twice the PTEMARB.DAT file. By adding some debug messages i see that, the first time, the header is read correctly. But then that same line of code is being executed, but reaching "end of file": 
Screenshot from 2025-08-14 14-08-53.png
Screenshot from 2025-08-14 14-10-03.png

I anyone has an idea of why this is happening, I'd appreciate any help!

Novvier Uscuchagua

unread,
Aug 19, 2025, 1:34:11 PM8/19/25
to european-calpuff-user-discussion-group
Hi,

Maybe it is due to the line termination. If PTEMARB.DAT was created on Windows, it may have CRLF (\r\n) line endings instead of LF (\n). Check compiler opcions to accepted CRLF or remove CR of the PTEMARB file.
Reply all
Reply to author
Forward
0 new messages