Hello,
I have adapted parts of the meteo.f code for venuti.f. If I have understood correctly, venuti is just for reading the first 2 entries in the winds file, and the interpolation is carried out by other sub-routines. Please correct me if I am wrong.
The code looks like this:
!+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
!
! JUMPING TWO LINES OF COMMENTS
READ(NVEN,*,ERR=100,END=200)
READ(NVEN,*,ERR=100,END=200)
! READING THE FIRST TWO LINES OF DATA
READ(NVEN,*,ERR=100,END=200) TV1,U1(NPOIN),V1(NPOIN)
READ(NVEN,*,ERR=100,END=200) TV2,U2(NPOIN),V2(NPOIN)
!
RETURN
!-----------------------------------------------------------------------
!
100 CONTINUE
WRITE(LU,*) ' '
WRITE(LU,*) 'VENUTI'
IF(LNG.EQ.1) WRITE(LU,*) 'ERREUR DANS LE FICHIER DE VENT'
IF(LNG.EQ.2) WRITE(LU,*) 'ERROR IN THE WIND FILE'
CALL PLANTE(1)
STOP
200 CONTINUE
WRITE(LU,*) ' '
WRITE(LU,*) 'VENUTI'
IF(LNG.EQ.1) WRITE(LU,*) 'FIN PREMATUREE DU FICHIER DE VENT'
IF(LNG.EQ.2) WRITE(LU,*) 'WIND FILE TOO SHORT'
CALL PLANTE(1)
STOP
!-----------------------------------------------------------------------
RETURN
END
The fortran file compiles OK, tomawac runs but the wind vectors in the results file present errors when I open in BlueKenue. Any hints on what I have done wrong?
Regards,
Costas