-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Boundary Condition Reader interface #175
Conversation
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.
Looks good! I had a couple of comments and agree with Charlie's suggestions. Also, it would be good to implement this in the coupler_driver_modular.jl
file once the #167 is merged.
dummy_data = (; test_data = zeros(axes(land_mask_t))) | ||
|
||
datafile_rll = sst_data | ||
varname = "SST" |
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.
is this using the original file with all of the SST dates? This would make the test quite slow. I wonder if we use a more lightweight version (e.g. save only a couple of the dates in a separate file in the Box as here).
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.
This is a great idea. Do you know how we can select a subset of the dates in the file when or after we download it?
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.
This is a pretty big PR, could it maybe be broken into smaller parts?
Also, I suggest we start using SafeTestsets.jl in the test suite to avoid leaky tests-- this can cause some really unintuitive errors
d9c40cc
to
5e6adb0
Compare
a3a9963
to
c45c04e
Compare
2b76562
to
29378b2
Compare
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.
I left a comment about a performance concern.
d2a2765
to
46daf05
Compare
46daf05
to
c9cd81b
Compare
c29fb3f
to
2c1ed02
Compare
b21321e
to
79bc896
Compare
bors r+ |
For reviewers: This is a large PR, but the majority of the changes are in
src/BCReader.jl
,test/bcreader_tests.jl
, andtest/mpi_tests/bcreader_mpi_tests.jl
. Also, I created thesrc/CallbackManager.jl
file in this PR to simplify compatibility with BCReader, but that module will be documented and tested in a separate PR.Move functions from
coupler_utils/bcfile_reader.jl
tosrc/BCReader.jl
module, and ensure that they are thoroughly commented and tested.#134
To-do
PHASE 1 - moving and documentation
src/
ClimaCoupler.jl
docs/src
,docs/make.jl
PHASE 2 - testing
test/
, add totest/runtests.jl
test/mpi_tests
and in buildkite pipelinePHASE 3 - cleanup