Skip to content
Snippets Groups Projects
Commit e1dab76d authored by RODIER Quentin's avatar RODIER Quentin
Browse files

Quentin 04/10/2021: bugfix of the previous commit. The diagnostic surfex...

Quentin 04/10/2021: bugfix of the previous commit. The diagnostic surfex variables were not written at any first output file for every segment (instead of not written at time = 0s i.e. KTCOUNT=1 )
parent 3cc7d5e5
No related branches found
No related tags found
No related merge requests found
...@@ -972,7 +972,7 @@ IF ( nfile_backup_current < NBAK_NUMB ) THEN ...@@ -972,7 +972,7 @@ IF ( nfile_backup_current < NBAK_NUMB ) THEN
TFILE_SURFEX => TZBAKFILE TFILE_SURFEX => TZBAKFILE
CALL GOTO_SURFEX(IMI) CALL GOTO_SURFEX(IMI)
CALL WRITE_SURF_ATM_n(YSURF_CUR,'MESONH','ALL',.FALSE.) CALL WRITE_SURF_ATM_n(YSURF_CUR,'MESONH','ALL',.FALSE.)
IF ( nfile_backup_current -1 > 0) THEN IF ( KTCOUNT > 1) THEN
CALL DIAG_SURF_ATM_n(YSURF_CUR,'MESONH') CALL DIAG_SURF_ATM_n(YSURF_CUR,'MESONH')
CALL WRITE_DIAG_SURF_ATM_n(YSURF_CUR,'MESONH','ALL') CALL WRITE_DIAG_SURF_ATM_n(YSURF_CUR,'MESONH','ALL')
END IF END IF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment