Skip to content

Commit

Permalink
remove definition of depth grid from 2d write() function
Browse files Browse the repository at this point in the history
  • Loading branch information
cora-a-hersh committed May 29, 2024
1 parent 5586e60 commit 928fa3d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/ECCOtour.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1563,14 +1563,6 @@ function write(vars::Dict{String,Array{Float32,2}},
field = varname
end

if gridatts.depth["longname"] == "Sigma-1"
depthname = "sigma-1"
z = sigma1grid("mixed layer")
else
depthname = "depth"
z = depthlevels(γ)
end

if varname == "p"
fieldDict = Dict("fldname" => "p","title" => "standard pressure", "units" => "dbar", "levs" => length(z))
else
Expand Down

0 comments on commit 928fa3d

Please sign in to comment.