Hi everyone,
Previously, I modify a METEO file, so the modified subroutine can successfully read a wind file with a short period (e.g. 10 days), by modifying:
IF(MY_OPTION.EQ.2) THEN
! JUMPING TWO LINES OF COMMENTS
READ(UL,*,ERR=100,END=25800)
READ(UL,*,ERR=100,END=25800)
! READING THE FIRST TWO LINES OF DATA
READ(UL,*,ERR=100,END=25800) AT1,FUAIR1,FVAIR1
READ(UL,*,ERR=100,END=25800) AT2,FUAIR2,FVAIR2
(With a time step of 30s, 25800 steps is an equivalent of 774,000s=10 days)
Now, I suppose to run TELEMAC 2D with about one-year period, so I prepare a wind file (txt. file) and modify a subroutine (METEO) in order to read this file.
I set up a model with a time step of 60s, and and wind file (text file) has a length of 31,560,000s =365days6h40m = 526 000 steps). So, in METEO subroutine I change:
IF(MY_OPTION.EQ.2) THEN
! JUMPING TWO LINES OF COMMENTS
READ(UL,*,ERR=100,END=526000)
READ(UL,*,ERR=100,END=526000)
! READING THE FIRST TWO LINES OF DATA
READ(UL,*,ERR=100,END=526000) AT1,FUAIR1,FVAIR1
READ(UL,*,ERR=100,END=526000) AT2,FUAIR2,FVAIR2
But it does not work!
What do I need to modify more?
Please help me
Thanks & Best Regards
Huy