Changeset 492
- Timestamp:
- 10/18/16 11:15:43 (8 years ago)
- Location:
- codes/icosagcm/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/trunk/src/restart.f90
r488 r492 28 28 CALL xios_set_file_attr("restart",name=TRIM(ADJUSTL(restart_file_name)),output_freq=itaumax*xios_timestep) 29 29 CALL xios_set_fieldgroup_attr("group_restart", freq_op=itaumax*xios_timestep) 30 CALL xios_set_axis_attr("lev_read", n_glo=llm)30 ! CALL xios_set_axis_attr("lev_read", n_glo=llm) 31 31 ENDIF 32 32 ENDIF … … 420 420 INTEGER :: status 421 421 REAL(rstd),ALLOCATABLE :: lon(:),lat(:),bounds_lon(:,:),bounds_lat(:,:) 422 REAL(rstd) :: it_ temp(1)422 REAL(rstd) :: it_real 423 423 424 424 IF (no_io) RETURN … … 450 450 IF (PRESENT(field18)) THEN ; CALL xios_read_field(TRIM(field18(1)%name)//'_start',field18) ; ENDIF 451 451 IF (PRESENT(field19)) THEN ; CALL xios_read_field(TRIM(field19(1)%name)//'_start',field19) ; ENDIF 452 ! doesn't work for now, to be decomment when xios is ok 453 ! CALL xios_recv_field("it_start",it_temp) 454 ! it=it_temp(1) 455 it=0 452 453 CALL xios_recv_field("it_start",it_real) 454 it=it_real 456 455 ELSE 457 456 -
codes/icosagcm/trunk/src/xios_mod.F90
r483 r492 52 52 REAL(rstd) :: lev_value(llm) 53 53 REAL(rstd) :: lev_valuep1(llm+1) 54 REAL(rstd) :: nq_value(nqtot) 54 55 INTEGER :: ncell, ncell_tot, ncell_glo(0:mpi_size-1), displ 55 56 INTEGER :: ind, i,j,k,l,ij … … 65 66 lev_value(:) = (/ (l,l=1,llm) /) 66 67 lev_valuep1(:) = (/ (l,l=1,llm+1) /) 68 nq_value(:) = (/ (l,l=1,nqtot) /) 67 69 CALL xios_set_axis_attr("lev",n_glo=llm ,value=lev_value) ; 68 70 CALL xios_set_axis_attr("levp1",n_glo=llm+1 ,value=lev_valuep1) ; 69 CALL xios_set_axis_attr("nq",n_glo=nqtot ) ;71 CALL xios_set_axis_attr("nq",n_glo=nqtot, value=nq_value) ; 70 72 71 73 ncell=0
Note: See TracChangeset
for help on using the changeset viewer.