<div dir="ltr">I updated the Earth, Sun, Moon, and Planets plugin to include some field calculator expressions. If there are other expressions that you think should be made available, let me know.<div><br></div><div><a href="https://plugins.qgis.org/plugins/earthsunmoon/">https://plugins.qgis.org/plugins/earthsunmoon/</a></div><div><br></div><div>Note that you need to "pip install timezonefinder skyfield" libraries from your OSGeo4W shell for these functions to be available.<br><div><ul><li><b>esm_local_datetime()</b> - Returns the current date and time as a python datetime object with the local computer's timezone settings.</li><li><b>esm_local_qdatetime()</b> - Returns the current date and time as a standard QGIS QDateTime object with the local computer's timezone settings.</li><li><b>esm_moon_phase()</b> - Given a date and time, return the moon's phase in degrees where 0° is the New Noon, 90° is First Quarter, 180° is Full Moon, and 270° is Last Quarter.</li><li><b>esm_moon_zenith()</b> - Given a date and time, return the EPSG:4326 coordinate point where the moon is directly overhead.</li><li><b>esm_sun_moon_info()</b> - Given a date and time, latitude and longitude in EPSG:4326, output format type, and optional timezone of the date and time object, it returns a python dictionary or JSON string of solar and lunar information.</li><li><b>esm_sun_zenith()</b> - Given a date and time, return the EPSG:4326 coordinate point where the sun is directly overhead.</li></ul></div><div>Best wishes,</div></div><div>Calvin</div></div>