Merge remote-tracking branch 'origin/dev_312' into dev_312_nik

This commit is contained in:
Nikhil Rao
2025-05-23 11:58:11 -04:00
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

@@ -21,7 +21,7 @@ import pandas as pd
# Kaipy modules
#### 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
@@ -376,7 +376,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',