irfpy.cy1orb.subsolar
¶
Module to calculate the subsolar point.
- irfpy.cy1orb.subsolar.subsolar(jd)[source]¶
Return a subsolar point position in ME frame.
>>> import datetime >>> print(subsolar(datetime.datetime(2010, 1, 1))) [1732.257648 -140.8436964 -9.504253 ]
- irfpy.cy1orb.subsolar.subsolar_asdegrees(jd)[source]¶
Return a subsolar point position as (longitude, latitude) in ME.
>>> import datetime >>> subsol = subsolar(datetime.datetime(2010, 1, 11)) >>> print('{0[0]:.3f} {0[1]:.3f} {0[2]:.3f}'.format(subsol)) -1024.471 -1403.960 0.533 >>> print(subsolar_asdegrees(datetime.datetime(2010, 1, 10))) (-113.94..., -0.00889...)