Ignore:
Timestamp:
10/18/16 11:15:43 (8 years ago)
Author:
ymipsl
Message:

Some bugs fixed in XIOS...
=> Some modifciation in restart and read fonctionnalities.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/trunk/src/restart.f90

    r488 r492  
    2828        CALL xios_set_file_attr("restart",name=TRIM(ADJUSTL(restart_file_name)),output_freq=itaumax*xios_timestep) 
    2929        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) 
    3131      ENDIF 
    3232    ENDIF 
     
    420420  INTEGER    :: status 
    421421  REAL(rstd),ALLOCATABLE :: lon(:),lat(:),bounds_lon(:,:),bounds_lat(:,:) 
    422   REAL(rstd) :: it_temp(1) 
     422  REAL(rstd) :: it_real 
    423423   
    424424    IF (no_io) RETURN 
     
    450450      IF (PRESENT(field18))  THEN ; CALL  xios_read_field(TRIM(field18(1)%name)//'_start',field18)  ; ENDIF 
    451451      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 
    456455    ELSE 
    457456 
Note: See TracChangeset for help on using the changeset viewer.