@@ -597,19 +597,19 @@ program interp_restarts
597597 if (rst_files(ifile)% has_edge .eqv. .false. &
598598 .and. rst_files(ifile)% has_center .eqv. .false. &
599599 .and. rst_files(ifile)% ungrid_size == - 1 ) then
600- call MAPL_IOChangeRes(InCfg(1 ),OutCfg(1 ),( / ' lon' ,' lat' / ),( / imc,jmc/ ) ,rc= status)
600+ call MAPL_IOChangeRes(InCfg(1 ),OutCfg(1 ),[ ' lon' ,' lat' ],[ imc,jmc] ,rc= status)
601601 else if (rst_files(ifile)% has_edge .eqv. .false. &
602602 .and. rst_files(ifile)% has_center .eqv. .true. &
603603 .and. rst_files(ifile)% ungrid_size == - 1 ) then
604- call MAPL_IOChangeRes(InCfg(1 ),OutCfg(1 ),( / ' lon' ,' lat' ,' lev' / ),( / imc,jmc,npz/ ) ,rc= status)
604+ call MAPL_IOChangeRes(InCfg(1 ),OutCfg(1 ),[ ' lon' ,' lat' ,' lev' ],[ imc,jmc,npz] ,rc= status)
605605 else if (rst_files(ifile)% has_edge .eqv. .true. &
606606 .and. rst_files(ifile)% has_center .eqv. .true. &
607607 .and. rst_files(ifile)% ungrid_size == - 1 ) then
608- call MAPL_IOChangeRes(InCfg(1 ),OutCfg(1 ),( / ' lon ' ,' lat ' ,' lev ' ,' edge' / ),( / imc,jmc,npz,npz+1 / ) ,rc= status)
608+ call MAPL_IOChangeRes(InCfg(1 ),OutCfg(1 ),[ ' lon ' ,' lat ' ,' lev ' ,' edge' ],[ imc,jmc,npz,npz+1 ] ,rc= status)
609609 else if (rst_files(ifile)% has_edge .eqv. .false. &
610610 .and. rst_files(ifile)% has_center .eqv. .true. &
611611 .and. rst_files(ifile)% ungrid_size > 0 ) then
612- call MAPL_IOChangeRes(InCfg(1 ),OutCfg(1 ),( / ' lon ' ,' lat ' ,' lev ' ,' unknown_dim1' / ),( / imc,jmc,npz,rst_files(ifile)% ungrid_size/ ) ,rc= status)
612+ call MAPL_IOChangeRes(InCfg(1 ),OutCfg(1 ),[ character (len = 12 ) :: ' lon ' ,' lat ' ,' lev ' ,' unknown_dim1' ],[ imc,jmc,npz,rst_files(ifile)% ungrid_size] ,rc= status)
613613 end if
614614
615615
0 commit comments