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 5038 for branches/2014/dev_r4621_NOC4_BDY_VERT_INTERP/NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90 – NEMO

Ignore:
Timestamp:
2015-01-20T15:26:13+01:00 (9 years ago)
Author:
jamesharle
Message:

Merging branch with HEAD of the trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_r4621_NOC4_BDY_VERT_INTERP/NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90

    r4792 r5038  
    11891189   SUBROUTINE iom_context_finalize( cdname ) 
    11901190      CHARACTER(LEN=*), INTENT(in) :: cdname 
    1191       !      
    1192       CALL iom_swap( cdname )   ! swap to cdname context 
    1193       CALL xios_context_finalize() ! finalize the context 
    1194       IF( cdname /= "nemo" ) CALL iom_swap( "nemo" )   ! return back to nemo context 
     1191      ! 
     1192      IF( xios_is_valid_context(cdname) ) THEN 
     1193         CALL iom_swap( cdname )   ! swap to cdname context 
     1194         CALL xios_context_finalize() ! finalize the context 
     1195         IF( cdname /= "nemo" ) CALL iom_swap( "nemo" )   ! return back to nemo context 
     1196      ENDIF 
    11951197      ! 
    11961198   END SUBROUTINE iom_context_finalize 
     
    12611263      CHARACTER(len=256)             ::   clsuff                   ! suffix name 
    12621264      CHARACTER(len=1)               ::   cl1                      ! 1 character 
    1263       CHARACTER(len=2)               ::   cl2                      ! 1 character 
     1265      CHARACTER(len=2)               ::   cl2                      ! 2 characters 
     1266      CHARACTER(len=3)               ::   cl3                      ! 3 characters 
    12641267      INTEGER                        ::   ji, jg                   ! loop counters 
    12651268      INTEGER                        ::   ix, iy                   ! i-,j- index 
     
    12871290         WRITE(cl2,'(i2.2)') ji  
    12881291         CALL iom_update_file_name('file'//cl2) 
     1292      END DO 
     1293      DO ji = 1, 999 
     1294         WRITE(cl3,'(i3.3)') ji  
     1295         CALL iom_update_file_name('file'//cl3) 
    12891296      END DO 
    12901297 
Note: See TracChangeset for help on using the changeset viewer.