SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
error_read_surf_asc.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_read_surf_asc(HREC,KRESP)
6 !
7 USE modi_abor1_sfx
8 !
9 USE modd_io_surf_asc, ONLY : nluout
10 !
11 USE yomhook ,ONLY : lhook, dr_hook
12 USE parkind1 ,ONLY : jprb
13 !
14 IMPLICIT NONE
15 !
16  CHARACTER(LEN=*), INTENT(IN) :: hrec
17 INTEGER, INTENT(OUT):: kresp
18 REAL(KIND=JPRB) :: zhook_handle
19 !
20 IF (lhook) CALL dr_hook('ERROR_READ_SURF_ASC',0,zhook_handle)
21 kresp = -1
22 !
23 WRITE(nluout,*) ' '
24 WRITE(nluout,*) 'WARNING'
25 WRITE(nluout,*) '-------'
26 WRITE(nluout,*) ' '
27 WRITE(nluout,*) 'error when reading article', hrec
28 WRITE(nluout,*) "default value may be used; who knows?"
29 WRITE(nluout,*) ' '
30 !
31  CALL abor1_sfx('READ_SURF_ASC: ERROR WHEN READING ARTICLE '//hrec)
32 IF (lhook) CALL dr_hook('ERROR_READ_SURF_ASC',1,zhook_handle)
33 !
34 END SUBROUTINE error_read_surf_asc
subroutine error_read_surf_asc(HREC, KRESP)
subroutine abor1_sfx(YTEXT)
Definition: abor1_sfx.F90:6