Switch to PyPi for supermag support

This commit is contained in:
wiltbemj
2025-05-23 09:37:08 -06:00
parent 856a590780
commit 256ee62b22
4 changed files with 7 additions and 7 deletions

View File

@@ -16,4 +16,5 @@ spacepy
sphinx-rtd-theme
sphinxcontrib-autoprogram
sunpy
gfz-api-client
gfz-api-client
supermag-api

View File

@@ -16,7 +16,7 @@ import pandas as pd
#### NEED TO POINT TO SUPERMAG API SCRIPT
#### /glade/p/hao/msphere/gamshare/supermag/supermag_api.py
import kaipy.supermag_api as smapi
import supermag_api as smapi
####
# this warning is very annoying
@@ -371,7 +371,7 @@ def ReadSimData(filename, quiet = True):
first_step_name = "Step#%s" % sIds[0]
data = f[first_step_name]
dBt, dBp = np.array(data['dBt'])[0], np.array(data['dBp'])[0]
dBt, dBp = np.array(data['dBt']), np.array(data['dBp'])
BH = np.sqrt(dBt**2 + dBp**2)
maglat = np.array(data['smlat'])[0].flatten()

View File

@@ -15,4 +15,5 @@ spacepy
sphinx-rtd-theme
sphinxcontrib-autoprogram
sunpy
gfz-api-client
gfz-api-client
supermag-api

View File

@@ -10,7 +10,7 @@ setup(
packages=find_packages(),
include_package_data=True,
package_data={'kaipy': ['scripts/*', 'scripts/*/*']},
python_requires='>=3.8,<=3.13',
python_requires='>=3.9,<=3.13',
install_requires=[
'alive_progress',
'astropy',
@@ -33,8 +33,6 @@ setup(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD 3-Clause',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',