AuroraScienceHub.Geopack.ExternalFieldModels
1.0.2
Prefix Reserved
See the version list below for details.
dotnet add package AuroraScienceHub.Geopack.ExternalFieldModels --version 1.0.2
NuGet\Install-Package AuroraScienceHub.Geopack.ExternalFieldModels -Version 1.0.2
<PackageReference Include="AuroraScienceHub.Geopack.ExternalFieldModels" Version="1.0.2" />
<PackageVersion Include="AuroraScienceHub.Geopack.ExternalFieldModels" Version="1.0.2" />
<PackageReference Include="AuroraScienceHub.Geopack.ExternalFieldModels" />
paket add AuroraScienceHub.Geopack.ExternalFieldModels --version 1.0.2
#r "nuget: AuroraScienceHub.Geopack.ExternalFieldModels, 1.0.2"
#:package AuroraScienceHub.Geopack.ExternalFieldModels@1.0.2
#addin nuget:?package=AuroraScienceHub.Geopack.ExternalFieldModels&version=1.0.2
#tool nuget:?package=AuroraScienceHub.Geopack.ExternalFieldModels&version=1.0.2
<h1 align="center"> <br> <picture> <source media="(prefers-color-scheme: dark)" srcset="docs/logo/Gp_white.png"> <source media="(prefers-color-scheme: light)" srcset="docs/logo/Gp_black.png"> <img src="docs/logo/logo-black.png" style="width:400px;"> </picture> <br> Geopack-2008 C# .NET implementation <br> </h1>
<div align="center"> High-performance C# implementation of the Geopack-2008 geomagnetic field model with double-precision accuracy. <br><br>
<a href="#validation">Validation</a> • <a href="#benchmarks">Benchmarks</a> • <a href="#tech-stack">Tech stack</a> • <a href="#native-aot-compilation">Code Style</a> • <a href="#licensing">Licensing</a> • <a href="#how-to-cite">How to cite</a> • <a href="#references">References</a>
</div>
This library provides numerical accuracy matching the original Fortran code by N. A. Tsyganenko to within 12 decimal digits (8E-12D).
For external magnetic field models, accuracy is raised to 13 digits (1E-13D).
Validation
The implementation is rigorously validated against the original Fortran code using our comprehensive testing framework with 100+ unit tests. See Unit Testing Framework for details on test data generation and verification procedures.
Benchmarks
Comprehensive performance benchmarks are available to measure the library's efficiency. For detailed benchmark results, methodology, and running instructions, see the benchmarks documentation.
Tech stack
- Supported .NET versions:
- Native AOT compilation
- Nullable reference types
- Central package management
- SLNX - simpler solution file format in the .NET CLI
Native AOT compilation
To build the project with native AOT compilation, execute the following command (depending on the target platform):
dotnet publish --framework net9.0 -c Release -r linux-x64
dotnet publish --framework net9.0 -c Release -r win-x64
dotnet publish --framework net9.0 -c Release -r osx-x64
Licensing
This C# implementation is a derivative work of the original FORTRAN code by Nikolai Tsyganenko, and is distributed under the same GNU GPL v3 license.
How to Cite
If you use this software in your research, please cite it using the following metadata:
APA Style: Nikolaev, A. V., Ermilov, A. O., & Tsyganenko, N. A. (2025). Geopack-2008 C# .NET implementation (Version v1.0.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.17437549
BibTeX:
@software{Geopack_2008_CSharp_2025,
author = {Nikolaev, Alexander V. and Ermilov, Aleksei O. and Tsyganenko, Nikolai A.},
doi = {10.5281/zenodo.17437549},
license = {GPL-3.0-or-later},
month = oct,
title = {{Geopack-2008 C\# .NET implementation}},
url = {https://github.com/Aurora-Science-Hub/Geopack},
version = {v1.0.0},
year = {2025}
}
References
The homepages of the original Geopack library and the associated scientific literature are available at the following links: old page and new page.
This implementation is based on and extends the following scientific works:
Tsyganenko, N. A. (2002). A model of the near magnetosphere with a dawn-dusk asymmetry 1. Mathematical structure. J. Geophys. Res., 107 (A8), https://doi.org/10.1029/2001JA000219
Tsyganenko, N. A., & Sitnov, M. I. (2005). Modeling the dynamics of the inner magnetosphere during strong geomagnetic storms. Journal of Geophysical Research: Space Physics, 110(A3), A03208. https://doi.org/10.1029/2004JA010798
Hapgood, M. A. (1992). Space physics coordinate transformations: A user guide. Planetary and Space Science, 40(5), 711–717. https://doi.org/10.1016/0032-0633(92)90012-D
Tsyganenko, N. A., Andreeva, V. A. (2016), An empirical RBF model of the magnetosphere parameterized by interplanetary and ground-based drivers, J. Geophys. Res. Space Physics, v.121(11), 10,786-10,802, https://doi.org/10.1002/2016JA023217
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- AuroraScienceHub.Geopack.Contracts (>= 1.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.