Skip to content

Commit

Permalink
tests adapted to get_column! with progn argument
Browse files Browse the repository at this point in the history
  • Loading branch information
milankl committed Oct 18, 2023
1 parent bcdefea commit da677df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/column_variables.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@ end
model = PrimitiveDryModel(;spectral_grid)
simulation = initialize!(model)
diagn = simulation.diagnostic_variables
progn = simulation.prognostic_variables

column = ColumnVariables{NF}(;nlev)

SpeedyWeather.reset_column!(column)
SpeedyWeather.get_column!(column,diagn,1,model.geometry,model.land_sea_mask)
SpeedyWeather.get_column!(column,diagn,progn,1,model.geometry,model.land_sea_mask)

# set a tendency to something
humid_tend = rand(NF,nlev)
Expand Down

0 comments on commit da677df

Please sign in to comment.