-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clamp in ZonalWind to [0, 1] for sqrt (#649)
* clamp in ZonalWind to [0, 1] for sqrt * update changelog * Test initialize + time step for uncommon resolutions
- Loading branch information
Showing
4 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@testset "Single time step at uncommon resolutions" begin | ||
@testset for trunc in rand(15:200, 10) | ||
spectral_grid = SpectralGrid(; trunc, Grid=FullClenshawGrid) | ||
model = PrimitiveWetModel(spectral_grid) | ||
simulation = initialize!(model) | ||
run!(simulation, period=Day(0)) | ||
@test simulation.model.feedback.nars_detected == false | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters