Skip to content

Commit

Permalink
Update NCDataset syntax to NCDatasets 0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
Sbozzolo committed Nov 13, 2023
1 parent adffb16 commit e28774d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/hybrid/sphere/hadley_circulation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,10 @@ apply_remap(datafile_rll, datafile_cc, weightfile, ["q1"])

# load remapped data and create statistics for plots
nt = NCDataset(datafile_rll, "r") do nc
lat = nc["lat"][:]
z = nc["z"][:]
time = nc["time"][:]
q1 = nc["q1"][:]
lat = Array(nc["lat"])
z = Array(nc["z"])
time = Array(nc["time"])
q1 = Array(nc["q1"])
(; lat, z, time, q1)
end
(; lat, z, time, q1) = nt
Expand Down

0 comments on commit e28774d

Please sign in to comment.