source: CONFIG_DEVT/IPSLCM6.5_work_ENSEMBLES/oasis3-mct/examples/test_interpolation/create_grids_masks_with_F90/routine_hdlerr.F90 @ 5725

Last change on this file since 5725 was 5725, checked in by aclsce, 3 years ago

Added new oasis3-MCT version to be used to handle ensembles simulations with XIOS.

File size: 533 bytes
Line 
1!*********************************************************************************
2SUBROUTINE hdlerr(istatus, line)
3  !*********************************************************************************
4  use netcdf
5  implicit none
6  !
7  ! Check for error message from NetCDF call
8  !
9  integer, intent(in) :: istatus, line
10  integer             :: ierror
11  !
12  IF (istatus .NE. NF90_NOERR) THEN
13      write ( * , * ) 'NetCDF problem at line',line
14      write ( * , * ) 'Stopped '
15      STOP
16  ENDIF
17  !
18  RETURN
19END SUBROUTINE hdlerr
Note: See TracBrowser for help on using the repository browser.