From 39b6fdec12222ddc3c90517e82b79c40d566d377 Mon Sep 17 00:00:00 2001 From: Milan Date: Tue, 3 Oct 2023 14:55:55 -0700 Subject: [PATCH] include v in default output vars --- src/output/output.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/output/output.jl b/src/output/output.jl index 8b8100f15..7f51a6372 100644 --- a/src/output/output.jl +++ b/src/output/output.jl @@ -131,10 +131,10 @@ function OutputWriter( end # default variables to output by model -default_output_vars(::Type{<:Barotropic}) = [:vor,:u] -default_output_vars(::Type{<:ShallowWater}) = [:vor,:u] -default_output_vars(::Type{<:PrimitiveDry}) = [:vor,:u,:temp,:pres] -default_output_vars(::Type{<:PrimitiveWet}) = [:vor,:u,:temp,:humid,:pres,:precip_cond,:precip_conv] +default_output_vars(::Type{<:Barotropic}) = [:vor,:u,:v] +default_output_vars(::Type{<:ShallowWater}) = [:vor,:u,:v] +default_output_vars(::Type{<:PrimitiveDry}) = [:vor,:u,:v,:temp,:pres] +default_output_vars(::Type{<:PrimitiveWet}) = [:vor,:u,:v,:temp,:humid,:pres,:precip_cond,:precip_conv] # print all fields with type <: Number function Base.show(io::IO,O::AbstractOutputWriter)