Page 1 of 1

Spectral analysis of output time series

PostPosted: Fri Mar 06, 2015 11:39 am
by davide.motta
Hello,

I am trying to run one of the test cases where the user chooses to perform spectral analysis on each of the output time series. The case is "1D_irregular_waves_up_slope".

I am using the executable provided with the package distributed on this forum by Prof. Lynett on Nov 8 2013 ("New code version - 11/2013").

Simulation time = 200 s, time increment to write file = 1 s, number of time series to write to file = 60 s, time at which to start processing time series = 50 s.

Simulation runs without problems, but when the spectral analysis is initiated, the following error is given

Processing time series 1 of 60
PGFIO-F-217/list-directed read/unit=10120/attempt to read past end of file
File name = tmsr001.dat formatted sequential access record = 1(null) In Source file Y:\home\plynett\sims\model_package\src\spectral_analysis.f at line number 35

Line in the code is
read(10119+cur_ts,*) xloc, yloc, hloc, dum

I guess somehow the code is trying to read time series beyond their length.

Could you suggest any way I can fix this?

Thank you.

Davide

Re: Spectral analysis of output time series

PostPosted: Wed Mar 11, 2015 6:53 am
by davide.motta
I did some more research into this, and realized that is a problem of the package distributed on this forum by Prof. Lynett on Nov 8 2013 ("New code version - 11/2013"). The code places output time series in a subfolder called "tmsr", and the spectral analysis functionality cannot access those files and read them.

Previous versions, for instance, the August 2010 distribution (http://isec.nacse.org/models/coulwave_download.php) do not put the time series in a subfolder, and the spectral analysis is carried out without problems.

Davide