% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/generate_moon_image_latlong.R
\name{generate_moon_image_latlong}
\alias{generate_moon_image_latlong}
\title{Generate the moon into a lat-long image array patch}
\usage{
generate_moon_image_latlong(
  datetime,
  lat,
  lon,
  elev_m = 0,
  width = 800,
  height = 800,
  earthshine = TRUE,
  earthshine_albedo = 0.19,
  solar_irradiance_w_m2 = 1300,
  moon_extinction_kV = 0.172,
  verbose = FALSE
)
}
\arguments{
\item{datetime}{POSIXct observation time (UTC).}

\item{lat}{Latitude in degrees.}

\item{lon}{Longitude in degrees.}

\item{elev_m}{Observer elevation above sea level in metres.}

\item{width}{Output width in pixels.}

\item{height}{Output height in pixels.}

\item{earthshine}{Default \code{TRUE}. If \code{FALSE}, skip the earthshine emissive term.}

\item{earthshine_albedo}{Default \code{0.19}. Effective Earth albedo term used
in the earthshine irradiance approximation.}

\item{solar_irradiance_w_m2}{Default \code{1300}. Reference solar irradiance at
1 AU (W/m^2) used to normalize earthshine emission intensity.}

\item{moon_extinction_kV}{Default \code{0.172}. V-band atmospheric extinction
coefficient for direct moonlight attenuation.}

\item{verbose}{Default \code{FALSE}. If \code{TRUE}, print earthshine diagnostics.}
}
\description{
Produce a rasterised moon texture aligned for composition into
the sky dome. The Earth phase is inferred from the Sun-Moon geometry, and earthshine is
implemented as an emissive term scaled relative to solar irradiance.
}
\keyword{internal}
