Skip to content

Commit

Permalink
fixed bug in quickLook with new refraction feature
Browse files Browse the repository at this point in the history
  • Loading branch information
kristinemlarson committed Mar 12, 2024
1 parent 7b1baec commit 8c1a270
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gnssrefl/quickLook_function2.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ def quick_refraction(station):
"""

xdir = os.environ['REFL_CODE']
refraction_model = 1
lat,lon,ht=g.queryUNR_modern(station.lower())
# default values
Expand All @@ -528,6 +529,7 @@ def quick_refraction(station):
irefr = 0
return p,T,irefr, e

refr.readWrite_gpt2_1w(xdir, station, lat, lon)
dlat = lat*math.pi/180; dlong = lon*math.pi/180;
p,T,dT,Tm,e,ah,aw,la,undu = refr.gpt2_1w(station, dmjd,dlat,dlong,ht,it)

Expand Down

0 comments on commit 8c1a270

Please sign in to comment.