Skip to content

Commit

Permalink
Update INSAT-3D reader to get satellite location from file rather tha…
Browse files Browse the repository at this point in the history
…n hardcoded value.
  • Loading branch information
simonrp84 committed Nov 8, 2023
1 parent ee63577 commit 23c136a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion satpy/readers/insat3d_img_l1b_h5.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ def get_area_def(self, ds_id):
a = 6378137.0
b = 6356752.314245

nom_cen_pos = self.datatree.attrs["Nominal_Central_Point_Coordinates(degrees)_Latitude_Longitude"][1]

pdict = {
"cfac": cfac,
"lfac": lfac,
Expand All @@ -193,7 +195,7 @@ def get_area_def(self, ds_id):
"a": a,
"b": b,
"h": h,
"ssp_lon": 82.0,
"ssp_lon": nom_cen_pos,
"a_name": "insat3d82",
"a_desc": "insat3d82",
"p_id": "geosmsg"
Expand Down

0 comments on commit 23c136a

Please sign in to comment.