Changeset 9424


Ignore:
Timestamp:
2018-03-23T09:57:45+01:00 (2 years ago)
Author:
andmirek
Message:

#1881 initialize multidimensional array to 0 for XIOS read in iom_get_123d

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_package_XIOS_read/NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90

    r8293 r9424  
    11311131          CALL iom_swap( TRIM(rxios_context) )  
    11321132          IF( PRESENT(pv_r3d) ) THEN 
     1133             pv_r3d(:,:,:) = 0._wp 
    11331134             if(lwp) write(numout,*) 'XIOS RST READ (3D): ',trim(cdvar) 
    11341135             CALL xios_recv_field( trim(cdvar), pv_r3d) 
     
    11371138             ENDIF 
    11381139          ELSEIF( PRESENT(pv_r2d) ) THEN 
     1140             pv_r2d(:,:) = 0._wp 
    11391141             if(lwp) write(numout,*) 'XIOS RST READ (2D): ', trim(cdvar) 
    11401142             CALL xios_recv_field( trim(cdvar), pv_r2d) 
     
    11431145             ENDIF 
    11441146          ELSEIF( PRESENT(pv_r1d) ) THEN 
     1147             pv_r1d(:) = 0._wp 
    11451148             if(lwp) write(numout,*) 'XIOS RST READ (1D): ', trim(cdvar) 
    11461149             CALL xios_recv_field( trim(cdvar), pv_r1d) 
Note: See TracChangeset for help on using the changeset viewer.