From 928fa3df9958ae788fc143e5835b4ecc8ede5493 Mon Sep 17 00:00:00 2001 From: cora-a-hersh Date: Wed, 29 May 2024 17:06:13 -0400 Subject: [PATCH] remove definition of depth grid from 2d write() function --- src/ECCOtour.jl | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/ECCOtour.jl b/src/ECCOtour.jl index 81e3ae2..ba0baff 100644 --- a/src/ECCOtour.jl +++ b/src/ECCOtour.jl @@ -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