Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Thu Apr 19, 2018 1:19 pm




Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

Author Message
 Post subject: Floats not being read
PostPosted: Thu Dec 22, 2011 11:55 pm 
Offline

Joined: Fri Jan 08, 2010 7:22 pm
Posts: 134
Location: Theiss Research
I am using latest ROMS (svn 583).

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

Code:
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 49 times
floats_ore_jun.in [11.88 KiB]
Downloaded 62 times
Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 23, 2011 5:42 pm 
Offline

Joined: Fri Jan 08, 2010 7:22 pm
Posts: 134
Location: Theiss Research
I found a work around that worked following
viewtopic.php?f=19&t=2356

I commented

Code:
                          !  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


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group