SkyMapMod 0.0.18__tar.gz → 0.0.19__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: SkyMapMod
3
- Version: 0.0.18
3
+ Version: 0.0.19
4
4
  Project-URL: Homepage, https://istina.msu.ru/profile/aminevann/
5
5
  Author-email: Anna Amineva <amineva.2219@physics.msu.ru>
6
6
  License-File: LICENSE
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "SkyMapMod"
7
- version = "0.0.18"
7
+ version = "0.0.19"
8
8
  authors = [
9
9
  { name="Anna Amineva", email="amineva.2219@physics.msu.ru" },
10
10
  ]
@@ -4,4 +4,5 @@ from .transparency import *
4
4
  from .airglow_spectrum import *
5
5
  from .modtran_default_kp_transparency import *
6
6
  from .solar_spectrum import *
7
- from .band_V_data import *
7
+ from .band_V_data import *
8
+ from .solar_radio_flux import *
@@ -17,3 +17,7 @@ def airglow(wavelenght_airglow = wavelenght_kp, intensity_airglow = intensity_kp
17
17
  return(np.array(wavelenght), np.array(intensity))
18
18
  #функция написана для спектра взятого от китт пик, прозрачность атмосферы взята из модтрана, параметры -- см. доклад, там прямо скрин. Прозрачность взята для 45 градусов, пересчитана в 30 градусов
19
19
 
20
+ from .solar_radio_flux import fluxdate
21
+
22
+ def check(fluxdate):
23
+ print(fluxdate)
@@ -0,0 +1,23 @@
1
+ import requests
2
+
3
+ url = "https://www.spaceweather.gc.ca/solar_flux_data/daily_flux_values/fluxtable.txt"
4
+ response = requests.get(url)
5
+
6
+ a = response.text
7
+ a = a.split('\n')
8
+
9
+ fluxdate = []
10
+ fluxtime = []
11
+ fluxjulian = []
12
+ fluxcarrington = []
13
+ fluxobsflux = []
14
+ fluxadjflux = []
15
+ fluxursi = []
16
+ for i in range(2, len(a)-1):
17
+ fluxdate.append(a[i].split()[0])
18
+ fluxtime.append(a[i].split()[1])
19
+ fluxjulian.append(a[i].split()[2])
20
+ fluxcarrington.append(a[i].split()[3])
21
+ fluxobsflux.append(a[i].split()[4])
22
+ fluxadjflux.append(a[i].split()[5])
23
+ fluxursi.append(a[i].split()[6])
File without changes
File without changes