@math.gl/earth
Earth models, sunlight, astronomy, time zones, and ocean calculations. Import each API from its feature subpath.
Featuresโ
| Feature | Support | Notes |
|---|---|---|
| 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โ
| Import | Description |
|---|---|
@math.gl/earth/geoid | Parse geoid grids and compute height offsets. |
@math.gl/earth/sun | Solar and lunar positions, daylight, observer geometry, and sky lighting. |
@math.gl/earth/sun-stars | Star catalog and galactic calculations. |
@math.gl/earth/timezone | Geographic timezone lookup and local calendar calculations. |
@math.gl/earth/ocean | Seawater state, underwater sound speed, and absorption. |
Load optional geoid grids and timezone geometry explicitly when your application needs them.