pyglow icon indicating copy to clipboard operation
pyglow copied to clipboard

Not found point.TEC property

Open leeliangchao opened this issue 2 years ago • 1 comments

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

leeliangchao avatar May 09 '23 15:05 leeliangchao

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.

bharding512 avatar May 09 '23 22:05 bharding512