Floats not being read

Facts, news, and guidance about ROMS software

Moderators: arango, robertson

Post Reply
Message
Author
rduran
Posts: 152
Joined: Fri Jan 08, 2010 7:22 pm
Location: Theiss Research

Floats not being read

#1 Unread post by rduran »

I am using latest ROMS (svn 583).

For some reason my floats.in file is not being read properly:

Code: Select all

READ_FltPar - Inconsistent number of floats to process:      0   888
                 change input script.
But I have checked by floats.in and everything looks right, I even checked for tabs that would not allow for the number of floats to be read (i.e. the zero in the message should be 888).

What could it be?

I have attached my floats.in and ocean.in files hoping somebody can help me out.

Thanks in advanced,

Rodrigo
Attachments
ore2005_f_jun.in
(97.53 KiB) Downloaded 551 times
floats_ore_jun.in
(11.88 KiB) Downloaded 549 times

rduran
Posts: 152
Joined: Fri Jan 08, 2010 7:22 pm
Location: Theiss Research

Re: Floats not being read

#2 Unread post by rduran »

I found a work around that worked following
viewtopic.php?f=19&t=2356

I commented

Code: Select all

                          !  Report input parameters.
!-----------------------------------------------------------------------
!
!      IF (Lwrite) THEN
!        DO ng=1,Ngrids
!          IF (Lfloats(ng)) THEN
!            IF (ncount(ng).ne.Nfloats(ng)) THEN
!              WRITE (stdout,60) ncount(ng), Nfloats(ng)
!              exit_flag=4
!              RETURN
!            END IF
!            WRITE (out,70) ng
!            DO i=1,nentry(ng)
!              IF (.not.spherical.and.(Fcoor(i,ng).eq.0)) THEN
!                frmt='(i1,i2,i5,f10.4,2f8.2,f8.2,4f9.3)'
!              ELSE
!                frmt='(i1,i2,i5,f10.4,3f8.2,4f9.3)'
!              END IF
!              WRITE (out,frmt) Fcoor(i,ng), Ftype(i,ng), Fcount(i,ng),  &
!     &                         Ft0(i,ng), Fx0(i,ng), Fy0(i,ng),         &
!     &                         Fz0(i,ng), Fdt(i,ng), Fdx(i,ng),         &
!     &                         Fdy(i,ng), Fdz(i,ng)
!            END DO
!            WRITE (out,80) Nfloats(ng),                                 &
!     &            'Nfloats',                                            &
!     &            'Number of float trajectories to compute.'
!          END IF
!        END DO
!      END IF
!


in read_fltpar.f90

then ./build.sh -noclean and my simulation is working!!

Edit:

Found the problem: there is an extra dot in my latitude, no need to comment any lines (one of those embarrassing mistakes). Anyway still might be a helpful post ...

==End edit

Post Reply