Commit 32fdc00b authored by R.K.Garcia's avatar R.K.Garcia
Browse files

Fix latlon_center projection calculation

parent 385d6af4
......@@ -688,8 +688,9 @@ class HimawariAHIasCMIP(object):
def latlon_center(self):
proj = self.proj
h = float(dict(self.proj4_params)['h'])
y, x = self.yx_center
lon, lat = proj(x, y, inverse=True)
lon, lat = proj(x * h, y * h, inverse=True)
return geolocation(lon=lon, lat=lat)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment