Changeset 8785
- Timestamp:
- 2017-11-22T13:34:53+01:00 (6 years ago)
- Location:
- branches/2017/dev_r8600_xios_read_write/NEMOGCM/NEMO/OPA_SRC/IOM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_r8600_xios_read_write/NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90
r8774 r8785 66 66 PRIVATE iom_set_domain_attr, iom_set_axis_attr, iom_set_field_attr, iom_set_file_attr, iom_get_file_attr, iom_set_grid_attr 67 67 PRIVATE set_grid, set_grid_bounds, set_scalar, set_xmlatt, set_mooring, iom_update_file_name, iom_sdate 68 PRIVATE iom_set_rst_context, iom_set_rstw_active 68 PRIVATE iom_set_rst_context, iom_set_rstw_active, iom_set_rstr_active 69 69 PUBLIC iom_set_rstw_var_active, iom_set_rst_vars 70 70 # endif … … 214 214 CALL iom_set_rst_vars(rst_fields) 215 215 !set which fields are to be read from restart file 216 CALL set_rstr_active()216 CALL iom_set_rstr_active() 217 217 ELSE IF( TRIM(cdname) == TRIM(cwxios_context) ) THEN 218 218 !set names of the fields in restart file IF using XIOS to write data … … 263 263 END SUBROUTINE iom_set_rstw_var_active 264 264 265 SUBROUTINE set_rstr_active()265 SUBROUTINE iom_set_rstr_active() 266 266 !sets enabled = .TRUE. for each field in restart file 267 267 CHARACTER(len=256) :: rst_file … … 309 309 ENDIF 310 310 END DO 311 END SUBROUTINE set_rstr_active311 END SUBROUTINE iom_set_rstr_active 312 312 313 313 SUBROUTINE iom_set_rstw_core() … … 536 536 #if defined key_iomput 537 537 TYPE(xios_context) :: nemo_hdl 538 538 IF(lwp) write(numout,*) 'SWAP to: ',TRIM(cdname) 539 539 IF( TRIM(Agrif_CFixed()) == '0' ) THEN 540 540 CALL xios_get_handle(TRIM(cdname),nemo_hdl) -
branches/2017/dev_r8600_xios_read_write/NEMOGCM/NEMO/OPA_SRC/IOM/restart.F90
r8770 r8785 249 249 TYPE(xios_duration):: dtime 250 250 integer::ni,nj,nk 251 REAL(wp), DIMENSION(jpi, jpj, jpk) :: w3d 251 252 !!---------------------------------------------------------------------- 252 253 … … 265 266 & "rst_read:- ln_diurnal_only set, setting rhop=rau0" 266 267 rhop = rau0 267 CALL iom_get( numror, jpdom_autoglo, 'tn' , tsn(:,:,1,jp_tem), ldxios = lxios_read ) 268 CALL iom_get( numror, jpdom_autoglo, 'tn' , w3d, ldxios = lxios_read ) 269 tsn(:,:,1,jp_tem) = w3d(:,:,1) 268 270 RETURN 269 271 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.