nrel_spa 1.0.0 copy "nrel_spa: ^1.0.0" to clipboard
nrel_spa: ^1.0.0 copied to clipboard

NREL Solar Position Algorithm for Dart and Flutter. Calculates solar zenith, azimuth, sunrise, sunset, and solar noon for any location and time. Pure Dart, zero dependencies, ±0.0003° accuracy.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add nrel_spa

With Flutter:

 $ flutter pub add nrel_spa

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  nrel_spa: ^1.0.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:nrel_spa/nrel_spa.dart';
0
likes
130
points
117
downloads

Documentation

API reference

Publisher

verified publisherariccamarata.com

Weekly Downloads

NREL Solar Position Algorithm for Dart and Flutter. Calculates solar zenith, azimuth, sunrise, sunset, and solar noon for any location and time. Pure Dart, zero dependencies, ±0.0003° accuracy.

Repository (GitHub)
View/report issues

Topics

#solar #astronomy #sunrise #sunset #solar-position

License

unknown (license)

More

Packages that depend on nrel_spa