# L2 lunar camera sources

Verified directly in the Washington University NASA PDS Geosciences archive on
2026-10-25 before raster use. The detached PDS3 labels and PDS4 XML identities
are archived here; `products.json` records URLs, byte counts and SHA-256 hashes.

| Camera | PDS product | Use | License / rights |
| --- | --- | --- | --- |
| Tsiolkovsky, 20.38° S, 128.97° E | `LDEM_1024_30S_15S_120_150` | Detail, context and southern horizon | NASA/GSFC LOLA scientific data; public domain, 17 USC §105 |
| Tsiolkovsky | `LDEM_1024_15S_00S_120_150` | Northern edge of horizon | NASA/GSFC LOLA scientific data; public domain, 17 USC §105 |
| Nobile Rim 2, 84.2° S, 60.7° E | `LDEM_80S_40M` | 40 m polar detail, context and horizon | NASA/GSFC LOLA scientific data; public domain, 17 USC §105 |
| Nobile Rim 2 | `LDEM_75S_240M` | Outer polar horizon | NASA/GSFC LOLA scientific data; public domain, 17 USC §105 |

Archive root: <https://pds-geosciences.wustl.edu/lro/lro-l-lola-3-rdr-v1/lrolol_1xxx/data/lola_gdr/>.
Cylindrical products are under `cylindrical/img/`, polar products under
`polar/img/`; filenames are lowercase. Each has `.lbl`, `.xml`, and `.img`.
All four logical identifiers begin `urn:nasa:pds:lro_lola_rdr:data_gridded:`
followed by the lowercase product ID. Polar PDS3 labels do not have a
`PRODUCT_ID` field; the PDS4 title and logical identifier verify their identity.
The dataset is `LRO-L-LOLA-4-GDR-V1.0`. Producer: LRO LOLA Team, Goddard Space
Flight Center, David E. Smith. See [NASA data rights](https://www.nasa.gov/nasa-brand-center/images-and-media/).

The labels specify signed little-endian 16-bit integers, `SCALING_FACTOR=0.5`,
and a 1,737,400 m reference radius in the DE421 Mean Earth / polar-axis frame.
Elevation is **DN × 0.5 m**; the reference radius is added only for body-fixed
positions. Grid spacing is approximately 29.6 m north/south for the 1024 ppd
tiles, and 40 m / 240 m true at the south pole for the polar products. Laser
track interpolation limits resolved detail. The polar labels mention comparison
with SELENE for validation; these are LOLA-derived grids, not SLDEM fusion.

No SLDEM2015, ESA product, LROC website image or new optical mosaic is used by
these two cameras. Their reflectance is a constant illustrative gray, generated
in code. This is not measured surface color. New data inputs are NASA public
domain. The shared sky uses ESA/Gaia/DPAC by default, CC BY-SA 3.0 IGO, with
NASA/GSFC COBE/DIRBE `B2A_ZSMA` and `PIXINFO9` as the fallback or explicit
selection. NASA Blue Marble and the unchanged Yale BSC5 star list are retained; BSC5 is a
published compilation whose separate rights statement is documented in
[sky SOURCES](../sky/SOURCES.md), not represented here as a NASA work.

The L2 distribution excludes the inherited Jezero camera and its ESA HRSC blend
assets. Source history and ordinary `npm run build` retain that earlier work.
Use `npm run build:lola` for the requested Moon-only distribution.

## Processing and reproducibility

`moon-webcam/tools/prepare_lola_l2.py` verifies the PDS labels and logical IDs,
downloads the raw inputs directly, checks sizes, and resamples with strict
coverage checks into the existing south-polar stereographic grid format. The
northern cylindrical input is the exact HTTP byte range
`692060160-943718399` (zero-based source rows 11264-15359). Its hash identifies
that range, not the entire original IMG. Tile-centre interpolation joins the two
cylindrical rasters across 15° S. Detail is sampled at 40 m, context at 120 m,
and the horizon at 400 m of local ground distance. The existing Gaussian normal
bake is applied once. There is no terrain height exaggeration or datum shift.
The observer sits 2 m above the smoothed grid at the camera coordinate.
Tsiolkovsky's 20.38° S, 128.97° E coordinate is in the central-peak region, not relocated
to a neighboring summit; its shipped surface elevation is about −1,746 m.

Run from the repository root:

```sh
python3 moon-webcam/tools/prepare_lola_l2.py
for site in tsiolkovsky-peak nobile-rim-2; do
  python3 moon-webcam/tools/bake_horizon.py --terrain moon-webcam/public/sites/$site/terrain \
    --near-cells 160 --near-span 60000 --near-az 96 --near-dist 70000 \
    --far-cells 96 --far-span 220000 --far-az 64 --far-dist 20000
done
cd moon-webcam
npm ci
npm test
npm run build:lola
```

The shared observer, planetary positions, sky shader and terrain horizon code are
retained. Nobile is labeled **Artemis III candidate
region**, not a selected landing site. Earth's elevation is computed, not
clamped to 0-6°. A 2026-10-25 through 2026-11-25 cycle spans approximately
−3.7° to +9.0° above the reference horizontal; local terrain can obscure the
disc further. The libration, finite Earth disc, and measured terrain determine
rise/set visibility. Tsiolkovsky remains far below the Earth-facing horizon.
Small unresolved relief, DEM interpolation and the existing ephemeris accuracy
limit precision of contact times. The Milky Way uses the selected Gaia or DIRBE sky map;
sunlight/exposure can hide it. Planets follow time and
the observer, so a particular planet is not guaranteed to be in the frame.
