GEUS-Glaciology-and-Climate / pypromice

Process AWS data from L0 (raw logger) through Lx (end user)
https://pypromice.readthedocs.io
GNU General Public License v2.0
12 stars 4 forks source link

Remove calcDirectionDeg and adopt calcHourAngle moving forward? #125

Open PennyHow opened 1 year ago

PennyHow commented 1 year ago

We currently use pypromice.process.L1toL2.calcHourAngle() for calculating the hour angle of the sun based on time and longitude. https://github.com/GEUS-Glaciology-and-Climate/pypromice/blob/c5613a942d7e79089865f4f5837313bf6abe3461/src/pypromice/process/L1toL2.py#L658-L678

However, there is an alternative method here. Do we intend on adopting this at some point or can it be removed? https://github.com/GEUS-Glaciology-and-Climate/pypromice/blob/c5613a942d7e79089865f4f5837313bf6abe3461/src/pypromice/process/L1toL2.py#L680-L698