Skip to content
This repository has been archived by the owner on Apr 6, 2024. It is now read-only.

Use lat/lng and date to set sun rise/set time, azimuth, etc. #3

Open
3 tasks
fauxnik opened this issue Jul 20, 2020 · 2 comments
Open
3 tasks

Use lat/lng and date to set sun rise/set time, azimuth, etc. #3

fauxnik opened this issue Jul 20, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@fauxnik
Copy link
Owner

fauxnik commented Jul 20, 2020

  • incorporate sun rise/set azimuth into light motion code
  • add mod settings to input latitude and longitude
  • update light motion fields with data (formatted=0) from https://sunrise-sunset.org/api
  • is there a similar API for moon rise/set?
@fauxnik fauxnik added the enhancement New feature or request label Jul 20, 2020
@fauxnik
Copy link
Owner Author

fauxnik commented Jul 20, 2020

Perhaps there is a better API available? sunrise-sunset.org does not include azimuth, only times. https://keisan.casio.com/exec/system/1224686065 exists, but not sure if an API is available for it. (keisan.casio.com has moon rise/set calculation too!)

@fauxnik
Copy link
Owner Author

fauxnik commented Jul 20, 2020

Perhaps the calculation can be baked into the mod? Here's a calculation spreadsheet from NOAA: https://drive.google.com/file/d/1fozIRwwVna1RNcmHidxKC9VgrCEgYS2w/view?usp=sharing

*source: https://www.esrl.noaa.gov/gmd/grad/solcalc/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant