Skip to content

Commit

Permalink
delete comment on proj_id on wrong line and add note to get_area_defi…
Browse files Browse the repository at this point in the history
…nition
  • Loading branch information
ameraner committed Dec 16, 2020
1 parent 69eb991 commit c2f56cd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions satpy/readers/_geos_area.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,16 @@ def get_area_definition(pdict, a_ext):
h: Platform height (m)
a_name: Area name
a_desc: Area description
p_id: Projection id # being deprecated
p_id: Projection id
a_ext: A four element tuple containing the area extent (scan angle)
for the scene in radians
Returns:
a_def: An area definition for the scene
.. note::
The AreaDefinition `proj_id` attribute is being deprecated.
"""
proj_dict = {'a': float(pdict['a']),
'b': float(pdict['b']),
Expand All @@ -139,7 +143,7 @@ def get_area_definition(pdict, a_ext):
pdict['a_name'],
pdict['a_desc'],
pdict['p_id'],
proj_dict, # being deprecated
proj_dict,
int(pdict['ncols']),
int(pdict['nlines']),
a_ext)
Expand Down

0 comments on commit c2f56cd

Please sign in to comment.