Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not found point.TEC property #153

Open
leeliangchao opened this issue May 9, 2023 · 1 comment
Open

Not found point.TEC property #153

leeliangchao opened this issue May 9, 2023 · 1 comment

Comments

@leeliangchao
Copy link

leeliangchao commented May 9, 2023

When I want to use IRI 2016 to generate TEC, I found that there is no option for TEC in point.[property], how to use IRI to generate TEC, thank you

# Cyclic calculation of TEC
for i, lat in enumerate(latitudes):
    for j, lon in enumerate(longitudes):
        point = Point(date, lat, lon, 0)
        point.run_iri(version=2016)
        tec = point.??????
        tec_data[i, j] = tec
@bharding512
Copy link
Collaborator

pyglow does not currently calculate TEC. You'd have to calculate your own integral by instantiating a number of points along the line of sight and running IRI at each point.

It could be useful to add TEC to pyglow, but I'm not sure how to reconcile it with the fact that a "point" (1-D) philosophically cannot have a TEC (which is a LoS integral). I'm open to ideas though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants