Skip to main content

@math.gl/earth

Earth models, sunlight, astronomy, time zones, and ocean calculations. Import each API from its feature subpath.

Featuresโ€‹

FeatureSupportNotes
Geoid modelsโœ…Parse grids and compute height offsets; load optional datasets explicitly.
Sun, Moon, and skyโœ…Observer-based positions, illumination, and lighting calculations.
Timezone calculationsโœ…Geographic lookup and local calendar operations.
Seawater and underwater acousticsโœ…Optional /ocean entry point: TEOS-10 subset, classic sound-speed and absorption equations.
Automatic dataset fetchingโŒApplications control data loading and ownership.

Entry pointsโ€‹

ImportDescription
@math.gl/earth/geoidParse geoid grids and compute height offsets.
@math.gl/earth/sunSolar and lunar positions, daylight, observer geometry, and sky lighting.
@math.gl/earth/sun-starsStar catalog and galactic calculations.
@math.gl/earth/timezoneGeographic timezone lookup and local calendar calculations.
@math.gl/earth/oceanSeawater state, underwater sound speed, and absorption.

Load optional geoid grids and timezone geometry explicitly when your application needs them.

๐Ÿงช Experimental ยท @math.gl/earth/celestial