Skip to content

Probe file naming problems #33

@Murray2015

Description

@Murray2015

Hi,

I've been having a problem with the output probe filenames - probe file names are writing as hundreds of files with names of random strings, for example, probe_0001E1??e34??1?x, and many of the probe files are empty. I think I've narrowed the bug down to the line
STAT_FILE = TRIM(FDIR)//'probe_'//TRIM(FILE_NUM)
in the subroutine probes. I've made a bodge fix for it by changing it to
STAT_FILE = TRIM(FDIR)//'probe_'//TRIM(FILE_NUM(1:4)),
which solves the problem, and implies that the TRIM isn't working. No idea why.

On a slightly related note, I'm not sure why the probes subroutine isn't crashing when running in parallel - as far as I'm reading the code it looks like the file should be being opened at the same time by multiple cores, which should crash it...

Cheers,
Murray

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions