New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 5581 for branches/2014/dev_r4765_CNRS_agrif/NEMOGCM/NEMO/OPA_SRC/OBS/obs_read_vel.F90 – NEMO

Ignore:
Timestamp:
2015-07-10T13:28:53+02:00 (9 years ago)
Author:
timgraham
Message:

Merged head of trunk into branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_r4765_CNRS_agrif/NEMOGCM/NEMO/OPA_SRC/OBS/obs_read_vel.F90

    r4292 r5581  
    118118         & zphi, & 
    119119         & zlam 
    120       REAL(dp), DIMENSION(:), ALLOCATABLE :: & 
     120      real(wp), DIMENSION(:), ALLOCATABLE :: & 
    121121         & zdat 
    122122      LOGICAL :: & 
     
    124124      TYPE(obfbdata), POINTER, DIMENSION(:) :: & 
    125125         & inpfiles 
    126       REAL(dp), DIMENSION(knumfiles) :: & 
     126      real(wp), DIMENSION(knumfiles) :: & 
    127127         & djulini, & 
    128128         & djulend 
     
    130130      INTEGER :: iproftot 
    131131      INTEGER :: iuv3dt 
     132      INTEGER :: ios 
     133      INTEGER :: ioserrcount 
    132134      INTEGER, DIMENSION(kvars) :: iv3dt 
    133135      CHARACTER(len=8) :: cl_refdate 
     
    459461                
    460462               ! Instrument type 
    461                READ( inpfiles(jj)%cdtyp(ji), '(I4)' ) itype 
     463               READ( inpfiles(jj)%cdtyp(ji), '(I4)', IOSTAT = ios, ERR = 901 ) itype 
     464901            IF ( ios /= 0 ) THEN 
     465                  IF (ioserrcount == 0) CALL ctl_warn ( 'Problem converting an instrument type to integer. Setting type to zero' )  
     466                  ioserrcount = ioserrcount + 1 
     467                  itype = 0 
     468               ENDIF 
    462469               profdata%ntyp(iprof) = itype 
    463470                
Note: See TracChangeset for help on using the changeset viewer.