isofit.utils.solar_position

Functions

solar_position([cite, time, latitude, longitude, ...])

Solar position algorithm of Reda & Andreas (2003).

cli(**kwargs)

Execute the Solar position algorithm

Module Contents

solar_position(cite=False, time='now', latitude=51.48, longitude=0.0, elevation=0.0, temperature=14.6, pressure=1013.0, dt=0.0, radians=False, csv=False)[source]

Solar position algorithm of Reda & Andreas (2003).

Parameters:
  • cite (bool, default=False) – Print citation information

  • time (float, default='now') – Datetime formatted as one of: ‘now’, ‘YYYY-MM-DD hh:mm:ss.ssssss’, or (UTC) POSIX timestamp

  • latitude (float, default=51.48) – Latitude, in decimal degress, positive for north

  • longitude (float, default=0.0) – Longitude, in decimal degress, positive for east

  • elevation (float, default=0.0) – Elevation in meters

  • temperature (float, default=14.6) – Temperature in degrees celcius

  • pressure (float, default=1013.0) – Atmospheric pressure in millibar

  • dt (float, default=0.0) – Difference between earth’s rotation time (TT) and universal time (UT1)

  • radians (bool, default=False) – Output in radians instead of degrees

  • csv (bool, default=False) – Comma separated values (time,dt,lat,lon,elev,temp,pressure,az,zen,RA,dec,H)

cli(**kwargs)[source]

Execute the Solar position algorithm

Reda & Andreas (2003)