mirror of https://github.com/ecmwf/eccodes.git
ECC-383: latitude of sub-satellite point should be zero
This commit is contained in:
parent
26961f89cb
commit
7b2b89d386
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue