Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1077 from CliMA/ar/bump-v0.43.0
Bump v0.43.0
- Loading branch information
Bump v0.43.0
232aab2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
Release notes:
Fixes a bug in
TwoDimensionalLeith
(PR TendencyTermField (or something like it) for diagnosing exact tendency terms and fluxes #1073, issue Bug in TwoDimensionalLeith closure #1034). Previously tests were being skipped due to extreme slowness. Now we run tests on GPU (but not CPU, where the closure is much slower to compile).Rewrites the interface for "scheduling" output and diagnostics (PR AbstractSchedules for scheduling output and diagnostics #1070). Previously output and diagnostics were usually scheduled by specifying either
time_interval
oriteration_interval
kwargs in the constrcutor for the object in question. Now, the relevant kwarg is calledschedule
and takes a callableAbstractSchedule
object (or any user-defined functionfunc
that returnstrue
orfalse
depending on the single argumentfunc(model)
). This design is more flexible and extensible, and also simplifies underlying code. Four schedules are provided:TimeInterval(interval)
IterationInterval(interval)
WallTimeInterval(interval)
AveragedTimeInterval(interval; window=interval, stride=1)
(for time-averaging output).Breaking changes:
Output writers and diagnostics no longer have the keyword arguments
time_interval
oriteration_interval
. The most commonly-used features that are affected areJLD2OutputWriter
,NetCDFOutputWriter
, andCheckpointer
.JLD2OutputWriter
andNetCDFOutputWriter
no longer have the kwargstime_averaging_window
andtime_averaging_stride
. The specific syntax changes are:time_interval=T
becomesschedule=TimeInterval(T)
iteration_interval=I
becomesschedule=IterationInterval(I)
time_interval=T, time_averaging_window=W
becomesschedule=AveragedTimeInterval(T, window=W)
.232aab2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/23319
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: