PLEASE I NEED HELP WITH THIS ERROR

MOHID Water forum. Questions and discussion around MOHID Water
sabarbosac@unal.edu.co
MOHID Insider
Posts: 52
Joined: Thu Jan 01, 1970 00:00

PLEASE I NEED HELP WITH THIS ERROR

Postby sabarbosac@unal.edu.co » Tue Apr 12, 2011 23:26

HELLO MOHID USER

the error is StartTImeSerieInput_ ModuleTimeSerie_ERR17

I think that is ok or i could find the mistake, please someone know what is this error? Please.

anamartin98@gmail.com
MOHID User
Posts: 23
Joined: Thu Jan 01, 1970 00:00

some help

Postby anamartin98@gmail.com » Wed Apr 13, 2011 08:58

Hi Sergio
I can not help you with your error, but perhaps yo can find what's wrong if you search the errors inside the Mohid Source Code (download it form Mohid web and unzip)

I usually search inside fortran files for the error, and so I can offen find what's th problem.
I've searched the error you reported. It is inside MOHIDBase1 folder, in the file ModuleTimeSerie.F90, line 1431.

Now you must investigate what that error message means

Good luck and don't despair
Ana

sabarbosac@unal.edu.co
MOHID Insider
Posts: 52
Joined: Thu Jan 01, 1970 00:00

Postby sabarbosac@unal.edu.co » Wed Apr 13, 2011 22:29

Hello Ana

Ana thanks again, I have been researching but i have not found the solution yet.

the error says:

!Allocates Buffer Line
allocate(BufferLine(1:MaxColumns))

!Get a new line
call GetData(BufferLine, &
Me%ObjEnterData, &
flag, &
Buffer_Line = StartLine+1, &
STAT = STAT_CALL)
if (STAT_CALL /= SUCCESS_ .and. STAT_CALL /= SIZE_ERR_) then
stop 'StartTimeSerieInput - ModuleTimeSerie - ERR16'
endif
if (flag < 1 ) stop 'StartTimeSerieInput - ModuleTimeSerie - ERR17'
if (flag > MaxColumns) stop 'StartTimeSerieInput - ModuleTimeSerie - ERR18'


and I dont know what is \"Allocates Buffer Line\", and I can notice that the error is because a flag is < 1, and again i dont know what is a flag.

So I post this because maybe someone knows what \"Allocates Buffer Line\" and flag means.

Ana I am very very grateful to you because you helped me so much thanks again.

sabarbosac@unal.edu.co
MOHID Insider
Posts: 52
Joined: Thu Jan 01, 1970 00:00

Postby sabarbosac@unal.edu.co » Thu Apr 14, 2011 15:18

Hello Ana

I found the error Thanks a lot. It was a silly error.

The space between the <BeginTimeSerie> and the numbers was the error

wrong form

<BeginTimeSerie>

0 17.5 150.64 2.88 0.38 18.97 5.85
1 17.5 150.64 2.88 0.38 18.97 5.85
2 17.5 144.94 5 0.37 19.06 5.48


right form

<BeginTimeSerie>
0 17.5 150.64 2.88 0.38 18.97 5.85
1 17.5 150.64 2.88 0.38 18.97 5.85
2 17.5 144.94 5 0.37 19.06 5.48


Now the program show me other error so maybe you can help me again.}

Thanks a lot Ana

Saludos

administrator@.
Site Admin
Posts: 349
Joined: Thu Jan 01, 1970 00:00
Location: Instituto Superior Tecnico - Lisbon - Portugal
Contact:

Postby administrator@. » Mon Apr 25, 2011 08:17

Hi,

You can read more about MOHID time series format here:

http://www.mohid.com/wiki/index.php?title=Time_series

Cheers,
Luis


Return to “MOHID Water”

Who is online

Users browsing this forum: No registered users and 5 guests