mirror of
https://github.com/acamarata/nrel-spa-dart.git
synced 2026-07-01 11:24:25 +00:00
* feat: gap-fill API surface parity with nrel-spa JS (v1.0.1) Add formatTime, calcSpa, SpaFormattedResult, SpaFormattedAnglesResult, functionCode parameter for getSpa (spaZa/spaZaInc/spaZaRts/spaAll), incidence field on SpaResult, and export all function code constants. All 48 tests pass including numerical cross-validation against the NREL SPA reference date (Golden CO, 2003-10-17) and surface incidence angle. * docs: add CHANGELOG.md for v1.0.1 release * chore: polish pubspec, fix unused import, add wiki docs
9 lines
316 B
Dart
9 lines
316 B
Dart
/// NREL Solar Position Algorithm for Dart.
|
|
///
|
|
/// Pure Dart implementation of the NREL SPA (Reda & Andreas, 2004).
|
|
/// Accurate to ±0.0003° for solar zenith angle over years -2000 to 6000.
|
|
/// Zero external dependencies.
|
|
library;
|
|
|
|
export 'src/types.dart';
|
|
export 'src/spa.dart' show getSpa, calcSpa, formatTime;
|