Skip to content

Commit 5bb2d24

Browse files
committed
specify module for sunpos
1 parent 5b0c46f commit 5bb2d24

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "RvSpectML"
22
uuid = "1f61ac2c-3a1c-440a-925a-2707197041c8"
33
authors = ["Eric B. Ford, Christian Gilbertson, Joe Ninan, Michael L. Palumbo III, Alex Wise, and contributors"]
4-
version = "0.2.0"
4+
version = "0.2.1"
55

66
[deps]
77
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
@@ -54,7 +54,7 @@ PDMats = "0.10, 0.11"
5454
Polynomials = "1, 1.1, 2"
5555
ProgressMeter = "1.4"
5656
QuadGK = "2.4"
57-
Query = "1.0"
57+
Query = "1"
5858
RvSpectMLBase = "0.2"
5959
Scalpels = "0.1"
6060
SpecialFunctions = "1.0, 1.1"

src/util/sun.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ function calc_solar_alt(time::Real; obs::Symbol)
2929
lat = 31.958092
3030
alt = 2091.0
3131
=#
32-
(ra_sun, dec_sun, ) = sunpos(time)
33-
lst = ct2lst(loc["lon"],time)
34-
(alt, az) = hadec2altaz(lst-ra_sun/360*24, dec_sun,loc["lat"])
32+
(ra_sun, dec_sun, ) = AstroLib.sunpos(time)
33+
lst = AstroLib.ct2lst(loc["lon"],time)
34+
(alt, az) = AstroLib.hadec2altaz(lst-ra_sun/360*24, dec_sun,loc["lat"])
3535
return alt
3636
end

0 commit comments

Comments
 (0)