Skip to content

Commit

Permalink
Try #195:
Browse files Browse the repository at this point in the history
  • Loading branch information
bors[bot] authored May 15, 2023
2 parents 37668b5 + 9a28e3b commit 0880329
Show file tree
Hide file tree
Showing 7 changed files with 177 additions and 103 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ ClimaComms = "0.3, 0.4"
ClimaCore = "0.10"
ClimaCoreTempestRemap = "0.3.5, 0.3.6, 0.3.7"
DocStringExtensions = "0.8, 0.9"
Insolation = "0.3"
Insolation = "0.3, 0.4"
IntervalSets = "0.5, 0.6, 0.7"
JLD2 = "0.4"
NCDatasets = "0.11, 0.12"
Expand Down
10 changes: 9 additions & 1 deletion experiments/LSM/ozark/ozark_met_drivers_FLUXNET.jl
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,15 @@ function zenith_angle(
) where {FT}
# This should be time in UTC
dt = DateTime("2004-01-01-06", "yyyy-mm-dd-HH") + Dates.Second(t)
FT(instantaneous_zenith_angle(dt, longitude, latitude, insol_params)[1])
FT(
instantaneous_zenith_angle(
dt,
Insolation.OrbitalData(),
longitude,
latitude,
insol_params,
)[1],
)
end


Expand Down
Loading

0 comments on commit 0880329

Please sign in to comment.