Changeset 65 for trunk/NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90
- Timestamp:
- 01/02/13 18:50:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90
r46 r65 89 89 TYPE(xios_time) :: dtime = xios_time(0, 0, 0, 0, 0, 0) 90 90 CHARACTER(len=19) :: cldate 91 !!---------------------------------------------------------------------- 92 93 CALL xios_context_initialize("nemo", mpi_comm_opa) 91 CHARACTER(len=10) :: clname 92 !!---------------------------------------------------------------------- 93 94 clname = "nemo" 95 IF( TRIM(Agrif_CFixed()) /= '0' ) clname = TRIM(Agrif_CFixed())//"_"//TRIM(clname) 96 CALL xios_context_initialize(TRIM(clname), mpi_comm_opa) 94 97 CALL iom_swap 95 98 96 99 ! calendar parameters 97 100 SELECT CASE ( nleapy ) ! Choose calendar for IOIPSL 98 CASE ( 1) ; CALL xios_set_context_attr( "nemo", calendar_type= "Gregorian")99 CASE ( 0) ; CALL xios_set_context_attr( "nemo", calendar_type= "NoLeap")100 CASE (30) ; CALL xios_set_context_attr( "nemo", calendar_type= "D360")101 CASE ( 1) ; CALL xios_set_context_attr(TRIM(clname), calendar_type= "Gregorian") 102 CASE ( 0) ; CALL xios_set_context_attr(TRIM(clname), calendar_type= "NoLeap") 103 CASE (30) ; CALL xios_set_context_attr(TRIM(clname), calendar_type= "D360") 101 104 END SELECT 102 105 WRITE(cldate,"(i4.4,'-',i2.2,'-',i2.2,' 00:00:00')") nyear,nmonth,nday 103 CALL xios_set_context_attr( "nemo", start_date=cldate )106 CALL xios_set_context_attr(TRIM(clname), start_date=cldate ) 104 107 105 108 ! horizontal grid definition … … 341 344 INTEGER :: i_s, i_e ! temporary integer 342 345 CHARACTER(LEN=100) :: clinfo ! info character 343 INTEGER :: inb_period_initial, inb_period_final, inb_period_sec, inb_period_max, inb_period344 346 !--------------------------------------------------------------------- 345 347 ! … … 351 353 i_s = 1 352 354 i_e = jpmax_files 353 #if defined key_iomput354 CALL xios_context_finalize()355 #endif356 355 ENDIF 357 356
Note: See TracChangeset
for help on using the changeset viewer.