-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc one-time build
- Loading branch information
Showing
11 changed files
with
70 additions
and
137 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,41 @@ | ||
[build-system] | ||
requires = ["setuptools", "wheel"] | ||
requires = ["setuptools>=61.0.0", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "igrf" | ||
description = "IGRF13, IGRF12, IGRF11 models with simple object-oriented Python interface." | ||
keywords = ["geomagnetic", "igrf"] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Console", | ||
"Intended Audience :: Science/Research", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Fortran", | ||
"Topic :: Scientific/Engineering :: Atmospheric Science" | ||
] | ||
dynamic = ["readme", "version"] | ||
requires-python = ">=3.9" | ||
dependencies = ["xarray", "numpy"] | ||
|
||
[project.scripts] | ||
findssh = "igrf.__main__:cli" | ||
|
||
[project.optional-dependencies] | ||
tests = ["pytest"] | ||
lint = ["flake8", "flake8-bugbear", "flake8-builtins", "flake8-blind-except", "mypy", "type-python-dateutil"] | ||
|
||
[tool.setuptools.dynamic] | ||
readme = {file = ["README.md"], content-type = "text/markdown"} | ||
version = {attr = "igrf.__version__"} | ||
|
||
[tool.black] | ||
line-length = 100 | ||
|
||
[tool.mypy] | ||
files = "src/" | ||
ignore_missing_imports = true | ||
strict_optional = false | ||
allow_redefinition = true | ||
warn_unreachable = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
""" | ||
use IGRF via f2py from Python | ||
""" | ||
from .base import igrf, grid | ||
|
||
__version__ = "13.0.2" | ||
|
||
from .base import igrf, grid, build | ||
from .utils import mag_vector2incl_decl, latlon2colat, latlonworldgrid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters