diff --git a/src/MNH/write_diachro.f90 b/src/MNH/write_diachro.f90
index cfb648886b09bc7999acbc1cecb7467442c568e0..de060fcd60dce31ab3852296d6d139355b05f2ed 100644
--- a/src/MNH/write_diachro.f90
+++ b/src/MNH/write_diachro.f90
@@ -314,7 +314,7 @@ else if ( ycategory == 'Flyers' ) then
   end if
 else if ( ycategory == 'Profilers' .or. ycategory == 'Stations' ) then
   ytype = 'CART'
-else if ( ycategory == 'Time series'  ) then
+else if ( ycategory == 'Time_series'  ) then
   if ( tpbudiachro%licompress ) then
     ytype = 'CART'
   else