Ignore:
Timestamp:
Dec 5, 2011, 2:44:51 AM (13 years ago)
Author:
aslmd
Message:

MESOSCALE: a small bug fix which appeared as I tried a longer than usual mesoscale simulation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/PREP_MARS/create_readmeteo.F90

    r11 r452  
    156156ELSE IF (n < 100) THEN
    157157        write(6,fmt='(I2)') n
     158ELSE IF (n < 1000) THEN
     159        write(6,fmt='(I3)') n
    158160ELSE
    159         write(6,fmt='(I3)') n       
     161        write(6,fmt='(I4)') n       
    160162END IF
    161163! subscript in GCM data file
     
    166168        ELSE IF (subs < 100) THEN
    167169                write(6,fmt='(I2)') subs
     170        ELSE IF (subs < 1000) THEN
     171                write(6,fmt='(I3)') subs
    168172        ELSE
    169                 write(6,fmt='(I3)') subs   
     173                write(6,fmt='(I4)') subs   
    170174        END IF       
    171175END DO
Note: See TracChangeset for help on using the changeset viewer.