mirror of
https://github.com/JHUAPL/kaipy.git
synced 2026-01-09 14:28:02 -05:00
Switch to PyPi for supermag support
This commit is contained in:
@@ -16,4 +16,5 @@ spacepy
|
||||
sphinx-rtd-theme
|
||||
sphinxcontrib-autoprogram
|
||||
sunpy
|
||||
gfz-api-client
|
||||
gfz-api-client
|
||||
supermag-api
|
||||
@@ -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()
|
||||
|
||||
|
||||
@@ -15,4 +15,5 @@ spacepy
|
||||
sphinx-rtd-theme
|
||||
sphinxcontrib-autoprogram
|
||||
sunpy
|
||||
gfz-api-client
|
||||
gfz-api-client
|
||||
supermag-api
|
||||
4
setup.py
4
setup.py
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user