diff --git a/src/SURFEX/read_dummyn.F90 b/src/SURFEX/read_dummyn.F90 index c6c407dda24e6d48183addb194ce91223597765f..5d24e91fbe0e5a9027ea2f1b7614f18c028c4ffd 100644 --- a/src/SURFEX/read_dummyn.F90 +++ b/src/SURFEX/read_dummyn.F90 @@ -18,6 +18,7 @@ !! MODIFICATIONS !! ------------- !! Original 03/2004 +!! P.Tulet 2015 Bug depassement de tableau YRECFM !------------------------------------------------------------------------------- ! !* 0. DECLARATIONS @@ -77,7 +78,7 @@ ALLOCATE(XDUMMY_FIELDS(NSIZE_FULL,NDUMMY_NBR)) ! DO JDUMMY=1,NDUMMY_NBR ! - WRITE(YRECFM,FMT='(A8,I3.3,A5)') 'DUMMY_GR',JDUMMY,' ' + WRITE(YRECFM,FMT='(A8,I3.3,A1)') 'DUMMY_GR',JDUMMY,' ' CALL READ_SURF(HPROGRAM,YRECFM,XDUMMY_FIELDS(:,JDUMMY),IRESP,HCOMMENT=YCOMMENT) ! ! diff --git a/src/SURFEX/writesurf_dummyn.F90 b/src/SURFEX/writesurf_dummyn.F90 index b0fa392e533e4746221c1ce604d9a03a28165b5e..9290824e1b1cf89e5d911c207165ab711e6ba43b 100644 --- a/src/SURFEX/writesurf_dummyn.F90 +++ b/src/SURFEX/writesurf_dummyn.F90 @@ -18,6 +18,7 @@ !! MODIFICATIONS !! ------------- !! Original 03/2004 +!! P.Tulet 2015 Bug depassement de tableau YRECFM !------------------------------------------------------------------------------- ! !* 0. DECLARATIONS @@ -70,7 +71,7 @@ YCOMMENT=' ' ! DO JDUMMY=1,NDUMMY_NBR ! - WRITE(YRECFM,'(A8,I3.3,A5)') 'DUMMY_GR',JDUMMY,' ' + WRITE(YRECFM,'(A8,I3.3,A1)') 'DUMMY_GR',JDUMMY,' ' YSTRING20=CDUMMY_NAME(JDUMMY) YSTRING03=CDUMMY_AREA(JDUMMY) YCOMMENT='X_Y_'//YRECFM//YSTRING20//YSTRING03// &