Skip to content
Snippets Groups Projects
Commit 7d5bbb2e authored by WAUTELET Philippe's avatar WAUTELET Philippe
Browse files

Philippe 10/01/2019: bug correction: close correctly Z-split files

parent c9efc874
No related branches found
No related tags found
No related merge requests found
!MNH_LIC Copyright 1994-2018 CNRS, Meteo-France and Universite Paul Sabatier !MNH_LIC Copyright 1994-2019 CNRS, Meteo-France and Universite Paul Sabatier
!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence !MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt !MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
!MNH_LIC for details. version 1. !MNH_LIC for details. version 1.
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
! Philippe Wautelet: 05/2016-04/2018: new data structures and calls for I/O ! Philippe Wautelet: 05/2016-04/2018: new data structures and calls for I/O
! J. Pianezze 01/08/2016 add LOASIS flag ! J. Pianezze 01/08/2016 add LOASIS flag
! Philippe Wautelet: 13/12/2018: moved some operations to new mode_io_*_nc4 modules ! Philippe Wautelet: 13/12/2018: moved some operations to new mode_io_*_nc4 modules
! Philippe Wautelet: 10/01/2019: bug correction: close correctly Z-split files
! !
MODULE MODE_IO_ll MODULE MODE_IO_ll
...@@ -775,7 +776,7 @@ CONTAINS ...@@ -775,7 +776,7 @@ CONTAINS
CALL IO_WRITE_COORDVAR_NC4(TZFILE,HPROGRAM_ORIG=HPROGRAM_ORIG) CALL IO_WRITE_COORDVAR_NC4(TZFILE,HPROGRAM_ORIG=HPROGRAM_ORIG)
END IF END IF
#endif #endif
IF (TPFILE%LMASTER) THEN IF (TZFILE%LMASTER) THEN
if (tzfile%cformat == 'LFI' .or. tzfile%cformat == 'LFICDF4') call io_close_file_lfi(tzfile,iresp2) if (tzfile%cformat == 'LFI' .or. tzfile%cformat == 'LFICDF4') call io_close_file_lfi(tzfile,iresp2)
#if defined(MNH_IOCDF4) #if defined(MNH_IOCDF4)
if (tzfile%cformat == 'NETCDF4' .or. tzfile%cformat == 'LFICDF4') call io_close_file_nc4(tzfile,iresp2) if (tzfile%cformat == 'NETCDF4' .or. tzfile%cformat == 'LFICDF4') call io_close_file_nc4(tzfile,iresp2)
......
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