Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions wgrib2/gctpc/source/omerfor.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ static double cosaz; /**< Cos of azimuth */
* - 202 :: Input data error
*
* @author T. Mittan @date March, 1993
Comment thread
AlysonStahl-NOAA marked this conversation as resolved.
* W. Ebisuzaki Sept 2025, defined f
*/
long omerforint(double r_maj, double r_min, double scale_fact,
double azimuth, double lon_orig, double lat_orig, double false_east,
Expand Down Expand Up @@ -118,6 +119,9 @@ if (fabs(lat_origin) < EPSLN)
{
d = 1.0;
el = 1.0;
/* W. Ebisuzaki: define f */
/* when ts==1 and d==1 then f=1 to be consistent with else .. endif */
f = 1.0;
}
else
{
Expand Down
4 changes: 4 additions & 0 deletions wgrib2/gctpc/source/omerinv.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ static double cosaz; /**< Cos of azimuth */
* - 202 :: Input data error
*
* @author T. Mittan @date March, 1993
* W. Ebisuzaki Sep 2025 define f
Comment thread
AlysonStahl-NOAA marked this conversation as resolved.
Outdated
*/
long omerinvint(double r_maj, double r_min, double scale_fact, double azimuth,
double lon_orig, double lat_orig, double false_east, double false_north,
Expand Down Expand Up @@ -118,6 +119,9 @@ if (fabs(lat_origin) < EPSLN)
ts = 1.0;
d = 1.0;
el = 1.0;
/* W. Ebisuzaki: define f */
/* when ts==1 and d==1 then f=1 to be consistent with else .. endif */
f = 1.0;
}
else
{
Expand Down
Loading