FLEXPART CTBTO WO8
 All Classes Files Functions Variables
grib2check.F90
Go to the documentation of this file.
1 subroutine grib2check(igrib, fpname, conversion_factor)
2 #if defined WITH_CTBTO_PATCHES
3  use grib_api
4  use par_mod
5  use com_mod
6 
7  implicit none
8  integer, intent(in) :: igrib ! GRIB id (from GRIB API)
9  character(LEN=15), intent(in) :: fpname ! FLEXPART Vtable name of variable
10  real, intent(out) :: conversion_factor
11 
12 
13  conversion_factor=1.
14  if (trim(fpname) .eq. 'CONVPREC') then
15  conversion_factor=1000.
16  endif
17 
18  if (trim(fpname) .eq. 'SD') then
19  conversion_factor=1000.
20  endif
21 
22 
23 #endif
24 return
25 end subroutine grib2check
subroutine grib2check(igrib, fpname, conversion_factor)
Definition: grib2check.F90:1