Skip to main content

Solar Geometry 2

Solar Geometry 2 (SG2) is the second generation of library for computing the relative position of the sun and the earth. Valid over the time period 1980-2100, the algorithm is 20 times faster than the well-know SPA algorithm, with an accuracy order of approx. 0.005°. Reference article: Blanc P. and L. Wald, The SG2 algorithm for a fast and accurate computation of the position of the sun for multi-decadal time period. Solar Energy 88, 3072-3083, 2012, doi: 10.1016/j.solener.2012.07.018.

License

Solar Geometry 2 is released under LGPLv3.

Python binding

Python installation

We provide wheel binary package that can be installed using pip:

pip install sg2

To compile it see README.linux or README.win.

Python usage

see help(sg2)

$ python3
>>> import sg2
>>> help(sg2)

Metadata

Release files for sg2 2.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sg2 2.3.4
File Size Uploaded
sg2-2.3.4.tar.gz 1.6 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for sg2 2.3.4
File
sg2-2.3.4-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
sg2-2.3.4-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
sg2-2.3.4-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details
sg2-2.3.4-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
sg2-2.3.4-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
sg2-2.3.4-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details
sg2-2.3.4-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
sg2-2.3.4-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details
sg2-2.3.4-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details
sg2-2.3.4-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
sg2-2.3.4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
sg2-2.3.4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details
sg2-2.3.4-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
sg2-2.3.4-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
sg2-2.3.4-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details
sg2-2.3.4-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
sg2-2.3.4-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
sg2-2.3.4-cp39-cp39-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.9 CPython 3.9 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details

Total release size: 38.5 MB

Release files / sg2-2.3.4.tar.gz

Download URL sg2-2.3.4.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
d42e6f6e50ca11c87357c41eabcf8af6dd3394a208f582355411fef96e6cd5ed
BLAKE2b-256 checksum
How to use checksums
b0ffd63509945f1c0da0d0b798635bed2049f9e45a70cd2e89b784fd178ba93d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / sg2-2.3.4-cp314-cp314-win_amd64.whl

Download URL sg2-2.3.4-cp314-cp314-win_amd64.whl
Size 1.3 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
a115d73a991a51d402efa8afe06e06bf837f0c47d45f2c3330c6fcdbd010bfa0
BLAKE2b-256 checksum
How to use checksums
81204dad8e96f2bc33ed32413fa3d84e8a6e5e6accc06ef1a203a0a672b3bd5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / sg2-2.3.4-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL sg2-2.3.4-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 2.4 MB
Tags CPython 3.14 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c4bad90a201e93df02f89e21a053b91b4ef15237564d8385b4c750d15b9a6d92
BLAKE2b-256 checksum
How to use checksums
87b64da92fb569e56cecd51e17e2c1e9d48333f14c7df90376b4ac2ea43d1f98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / sg2-2.3.4-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL sg2-2.3.4-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 2.4 MB
Tags CPython 3.14 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
d62a369a980a2bb7b11f60e9dff38dce44ab4584abe257a2073413bc4d2912ec
BLAKE2b-256 checksum
How to use checksums
1060f9ec9c8bc5bfd1a1634f0df8c8a8af1dfc1a7c264da919b24a3e74aa1334
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / sg2-2.3.4-cp313-cp313-win_amd64.whl

Download URL sg2-2.3.4-cp313-cp313-win_amd64.whl
Size 1.3 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
4fc6aca4c01d2e5267284e3eff7e95f084976297cbaeca5942dfa45af2d693ba
BLAKE2b-256 checksum
How to use checksums
877dd944b9366c50bccf9e6a220b0f728aaa3d59a6786698f826421015d2d7a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / sg2-2.3.4-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL sg2-2.3.4-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 2.4 MB
Tags CPython 3.13 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
27f88869209c720ff3f11a753f1d90efeffa17b178ce20db3e2f31f25f442afb
BLAKE2b-256 checksum
How to use checksums
3497c193f94f5f6087ed1df9cdce0a9fa2fc2972ca0b36a72560a8775a9188bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / sg2-2.3.4-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL sg2-2.3.4-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 2.4 MB
Tags CPython 3.13 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
72e749818044319284ff07c5b1c5666d3d42540d57653105464137e58d289fcb
BLAKE2b-256 checksum
How to use checksums
e2af31012e6394deddf5f8a936f254805a4929500ecb57c8e2f62c3616fc9984
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / sg2-2.3.4-cp312-cp312-win_amd64.whl

Download URL sg2-2.3.4-cp312-cp312-win_amd64.whl
Size 1.3 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
f7c6abd2c9a5ca6121b4b3a7cdadde013aa5f9438469b0f3b916251707477917
BLAKE2b-256 checksum
How to use checksums
dd269208f9aeb8e1bfa2d7a59793e751a63c2e3651bb33be207f13805ea72217
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / sg2-2.3.4-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL sg2-2.3.4-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 2.4 MB
Tags CPython 3.12 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
a93806f11cf9ac2b3701223b46a2b16864109e25d3290c8c25e35844c96b3992
BLAKE2b-256 checksum
How to use checksums
670400fa6b20afe13a1f172260b012b9059fdfd5c6b80818bf5356fe375436c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / sg2-2.3.4-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL sg2-2.3.4-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 2.4 MB
Tags CPython 3.12 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
08ec7f72b9dc7e3f2545067b15198fb5a0e68683b635424bb8f805504c122359
BLAKE2b-256 checksum
How to use checksums
d701ea73fdfa01e744b001e5abc0ae45c7e99bccddaf87c84690a8ac2d2ea592
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / sg2-2.3.4-cp311-cp311-win_amd64.whl

Download URL sg2-2.3.4-cp311-cp311-win_amd64.whl
Size 1.3 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
73f38b611ee151e68811d41428e298f823eccacba8a2c647dd528a95558ae447
BLAKE2b-256 checksum
How to use checksums
7864deb4897f0d27ff4970e64592d7069db7f2947c77086bb2f1690d71fa493c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / sg2-2.3.4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL sg2-2.3.4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 2.4 MB
Tags CPython 3.11 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
03795c1f7447ccc5847e70cae668a77330586528f8337c57a0e4fe44337293c3
BLAKE2b-256 checksum
How to use checksums
6e2e635dd79eeb033a6b5e76ce28d78f16044f060ad1150ccd7c34de1f78d16f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / sg2-2.3.4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL sg2-2.3.4-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 2.4 MB
Tags CPython 3.11 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
4933e9bef769eedc9e5bc095e574f5c41132d10aea2bbbb77adf08a1273234f6
BLAKE2b-256 checksum
How to use checksums
8371deadbbe15433fede4e843ecbac34dc3cb78f6a3d9d9ca91ffeebec74038c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / sg2-2.3.4-cp310-cp310-win_amd64.whl

Download URL sg2-2.3.4-cp310-cp310-win_amd64.whl
Size 1.3 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
5208d6701819418c281afa93e3739bc15d96d3d6bf8567bdf0bb5979dd6c1eff
BLAKE2b-256 checksum
How to use checksums
265e95c4c9053d13aea6e5925d16ec540ce27101334db9d7c7d8ef7a6feeeb67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / sg2-2.3.4-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL sg2-2.3.4-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 2.4 MB
Tags CPython 3.10 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
ffb752b442d17e2125d4c97b9dbe07372db5aec072ea02530d0560763c071df4
BLAKE2b-256 checksum
How to use checksums
3b530b89729c0a4366c39cb4ffc5f58c7085572264a33bde62fa75b1afb10455
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / sg2-2.3.4-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL sg2-2.3.4-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 2.4 MB
Tags CPython 3.10 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
a954b58520795654b790351e6359a6abcd0a755b759d02d30394c533b19ec085
BLAKE2b-256 checksum
How to use checksums
6a8460d5f504d3fc01ee788b9876587df435e5ea1058a44c946d4b57459cf245
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / sg2-2.3.4-cp39-cp39-win_amd64.whl

Download URL sg2-2.3.4-cp39-cp39-win_amd64.whl
Size 1.3 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
ffa606bbb37646a458b385c5c52117e2a633c7aff132b691f364b92ace6fd6ed
BLAKE2b-256 checksum
How to use checksums
a65e378ac0b2f5122ed4a5b5101dc65229bd103eaf3553c5c2904c1b82b893ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / sg2-2.3.4-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL sg2-2.3.4-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 2.4 MB
Tags CPython 3.9 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
2bde5061ded76fdbe4d5b5dbb300e40ae5c55e8ee62d0f7e906a1130998c8bfb
BLAKE2b-256 checksum
How to use checksums
3ddfd396f8a10e8f82bbb0c2f00339698d7c0fcf8e4b6cac29c2b200223510f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / sg2-2.3.4-cp39-cp39-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL sg2-2.3.4-cp39-cp39-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 2.4 MB
Tags CPython 3.9 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
638b319d2721048a0715626da1ffcfdc96684fd5c7687cc891aa7e31ca485a10
BLAKE2b-256 checksum
How to use checksums
df35d2d9108498889d883bbe9a3a43fbf6466eb56d277b12b11c34a0b60646f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

2.3.4 This release

19 release files

2.3.3

31 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page