Skip to content

Commit

Permalink
update scalar loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Barth committed Apr 30, 2024
1 parent a462a8c commit 5a37176
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/WorldOceanDatabase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -453,9 +453,9 @@ function load!(dirname,indexname,varname,profiles,lons,lats,zs,times,ids)
profile = nc[varname] |> Array
z = nc["z"] |> Array

lon = nc["lon"] |> Array
lat = nc["lat"] |> Array
time = nc["time"] |> Array
lon = nc["lon"][]
lat = nc["lat"][]
time = nc["time"][]

profileflag = nc["$(varname)_WODflag"] |> Array
sigfigs = nomissing(nc["$(varname)_sigfigs"] |> Array)
Expand Down

0 comments on commit 5a37176

Please sign in to comment.