FPv9.3.1FPv9.3.1b_testingFPv9.3.2fp9.3.1-20161214-nc4grib2nc4_repair
Last change
on this file since 403dde7 was
496c607,
checked in by Don Morton <Don.Morton@…>, 8 years ago
|
Initial commit of FPv9.3.1
Currently, this is a clone of snapshot FPv9.3.0
|
-
Property mode set to
100644
|
File size:
552 bytes
|
Rev | Line | |
---|
[496c607] | 1 | subroutine grib2check(igrib, fpname, conversion_factor) |
---|
| 2 | #if defined CTBTO |
---|
| 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 |
---|
Note: See
TracBrowser
for help on using the repository browser.