Skip to content

Commit

Permalink
include v in default output vars
Browse files Browse the repository at this point in the history
  • Loading branch information
milankl committed Oct 3, 2023
1 parent 565ccc2 commit 39b6fde
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/output/output.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 39b6fde

Please sign in to comment.