SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
error_write_surf_fa.F90
Go to the documentation of this file.
1 !SFX_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
2 !SFX_LIC This is part of the SURFEX software governed by the CeCILL-C licence
3 !SFX_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
4 !SFX_LIC for details. version 1.
5 SUBROUTINE error_write_surf_fa(HREC,KRESP)
6 !
7 USE yomhook ,ONLY : lhook, dr_hook
8 USE parkind1 ,ONLY : jprb
9 !
10 USE modd_io_surf_fa, ONLY : nluout
11 !
12 IMPLICIT NONE
13 !
14  CHARACTER(LEN=*), INTENT(IN) :: hrec
15 INTEGER, INTENT(OUT):: kresp
16 REAL(KIND=JPRB) :: zhook_handle
17 !
18 IF (lhook) CALL dr_hook('ERROR_WRITE_SURF_FA',0,zhook_handle)
19 kresp = -1
20 !
21 WRITE(nluout,*) ' '
22 WRITE(nluout,*) 'WARNING'
23 WRITE(nluout,*) '-------'
24 WRITE(nluout,*) ' '
25 WRITE(nluout,*) 'error when writing article', hrec
26 WRITE(nluout,*) "default value may be used; who knows?"
27 WRITE(nluout,*) ' '
28 IF (lhook) CALL dr_hook('ERROR_WRITE_SURF_FA',1,zhook_handle)
29 !
30 END SUBROUTINE error_write_surf_fa
subroutine error_write_surf_fa(HREC, KRESP)