ECC-383: latitude of sub-satellite point should be zero

This commit is contained in:
Shahram Najm 2017-01-04 14:29:15 +00:00
parent 26961f89cb
commit 7b2b89d386
1 changed files with 1 additions and 1 deletions

View File

@ -215,11 +215,11 @@ static int init(grib_iterator* iter,grib_handle* h,grib_arguments* args)
lop = lonOfSubSatellitePointInDegrees;
lap *= 1e-6; /* default scaling factor */
lop *= 1e-6;
if (lap != 0.0) return GRIB_NOT_IMPLEMENTED;
lap *= DEG2RAD;
lop *= DEG2RAD;
orient_angle = orientationInDegrees;
/* apply default scaling factor */
if (orient_angle != 0.0) return GRIB_NOT_IMPLEMENTED;
xp = xpInGridLengths;