- Timestamp:
- 2017-10-11T13:03:17+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_r8600_xios_read/NEMOGCM/NEMO/OPA_SRC/DOM/domvvl.F90
r7753 r8612 33 33 USE wrk_nemo ! Memory allocation 34 34 USE timing ! Timing 35 USE iom_def, ONLY : lxios_read 35 36 36 37 IMPLICIT NONE … … 799 800 IF( ln_rstart ) THEN !* Read the restart file 800 801 CALL rst_read_open ! open the restart file if necessary 801 CALL iom_get( numror, jpdom_autoglo, 'sshn' , sshn )802 CALL iom_get( numror, jpdom_autoglo, 'sshn' , sshn, lrxios = lxios_read ) 802 803 ! 803 804 id1 = iom_varid( numror, 'e3t_b', ldstop = .FALSE. ) … … 810 811 ! ! --------- ! 811 812 IF( MIN( id1, id2 ) > 0 ) THEN ! all required arrays exist 812 CALL iom_get( numror, jpdom_autoglo, 'e3t_b', e3t_b(:,:,:) )813 CALL iom_get( numror, jpdom_autoglo, 'e3t_n', e3t_n(:,:,:) )813 CALL iom_get( numror, jpdom_autoglo, 'e3t_b', e3t_b(:,:,:), lrxios = lxios_read ) 814 CALL iom_get( numror, jpdom_autoglo, 'e3t_n', e3t_n(:,:,:), lrxios = lxios_read ) 814 815 ! needed to restart if land processor not computed 815 816 IF(lwp) write(numout,*) 'dom_vvl_rst : e3t_b and e3t_n found in restart files' … … 825 826 IF(lwp) write(numout,*) 'e3t_n set equal to e3t_b.' 826 827 IF(lwp) write(numout,*) 'neuler is forced to 0' 827 CALL iom_get( numror, jpdom_autoglo, 'e3t_b', e3t_b(:,:,:) )828 CALL iom_get( numror, jpdom_autoglo, 'e3t_b', e3t_b(:,:,:), lrxios = lxios_read ) 828 829 e3t_n(:,:,:) = e3t_b(:,:,:) 829 830 neuler = 0 … … 832 833 IF(lwp) write(numout,*) 'e3t_b set equal to e3t_n.' 833 834 IF(lwp) write(numout,*) 'neuler is forced to 0' 834 CALL iom_get( numror, jpdom_autoglo, 'e3t_n', e3t_n(:,:,:) )835 CALL iom_get( numror, jpdom_autoglo, 'e3t_n', e3t_n(:,:,:), lrxios = lxios_read ) 835 836 e3t_b(:,:,:) = e3t_n(:,:,:) 836 837 neuler = 0 … … 857 858 ! ! ----------------------- ! 858 859 IF( MIN( id3, id4 ) > 0 ) THEN ! all required arrays exist 859 CALL iom_get( numror, jpdom_autoglo, 'tilde_e3t_b', tilde_e3t_b(:,:,:) )860 CALL iom_get( numror, jpdom_autoglo, 'tilde_e3t_n', tilde_e3t_n(:,:,:) )860 CALL iom_get( numror, jpdom_autoglo, 'tilde_e3t_b', tilde_e3t_b(:,:,:), lrxios = lxios_read ) 861 CALL iom_get( numror, jpdom_autoglo, 'tilde_e3t_n', tilde_e3t_n(:,:,:), lrxios = lxios_read ) 861 862 ELSE ! one at least array is missing 862 863 tilde_e3t_b(:,:,:) = 0.0_wp … … 867 868 ! ! ------------ ! 868 869 IF( id5 > 0 ) THEN ! required array exists 869 CALL iom_get( numror, jpdom_autoglo, 'hdiv_lf', hdiv_lf(:,:,:) )870 CALL iom_get( numror, jpdom_autoglo, 'hdiv_lf', hdiv_lf(:,:,:), lrxios = lxios_read ) 870 871 ELSE ! array is missing 871 872 hdiv_lf(:,:,:) = 0.0_wp
Note: See TracChangeset
for help on using the changeset viewer.