From c38e35d10ad5bf77e8c6e7eaf4df86336d11e46d Mon Sep 17 00:00:00 2001 From: "George.Gayno" Date: Fri, 16 Dec 2022 18:44:07 +0000 Subject: [PATCH] Remove another warning from input_data.F90. Fixes #736. --- sorc/chgres_cube.fd/input_data.F90 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sorc/chgres_cube.fd/input_data.F90 b/sorc/chgres_cube.fd/input_data.F90 index 9b7673a5d..965d199d4 100644 --- a/sorc/chgres_cube.fd/input_data.F90 +++ b/sorc/chgres_cube.fd/input_data.F90 @@ -7073,8 +7073,8 @@ subroutine gridrot(lov,latin1,latin2,lon,rot) if ( (latin1 - latin2) .lt. 0.000001 ) then an = sin(latin1*dtor) else - an = log( cos(latin1*dtor) / cos(latin2*dtor) ) / & - log( tan(dtor*(90.0-latin1)/2.) / tan(dtor*(90.0-latin2)/2.)) + an = real(log( cos(latin1*dtor) / cos(latin2*dtor) ) / & + log( tan(dtor*(90.0-latin1)/2.) / tan(dtor*(90.0-latin2)/2.)), kind=esmf_kind_r4) end if tlon = real((mod(lon - lov + 180. + 3600., 360.) - 180.), kind=esmf_kind_r4)