Remove initialization of close_ind array for 3d sphere and 3d cartesian location mods.#972
Remove initialization of close_ind array for 3d sphere and 3d cartesian location mods.#972hkershaw-brown merged 2 commits intomainfrom
Conversation
|
Performance check (ocean models)
Interpretation: Omitting |
|
Thanks! I wouldn’t necessarily expect to see run time improvements in these cases, with most of the time being in IO (obs sequence or writing the large state) -> the things that don't scale to the large core count. The gotcha for this pull request is if someone is relying on testing for the -99 value in their code. |
Helen, unfortunately I didn't turn on output_timestamps. I could rerun filter if you think it's important. |
I did run with timestamps turned on. Here is a summary:
For future purposes, I placed the 2 ocean DA test cases, with the necessary files, here:
|
|
awesome thanks Moha |
039ed92 to
cebcb02
Compare
|
@hkershaw-brown this has been hanging out for a minute... is there a hold on this PR? |
@mjs2369 no just needs 'approve' clicked |
cebcb02 to
2806a21
Compare
Description:
Removes the initialization of close_ind array to -99 in get_close for 3D location_mods.
See #910 for the cost of this initialization.
The output array of close_ind is only valid from 1:num_close
Fixes issue
fixes #910
Types of changes
Documentation changes needed?
Tests
Please describe any tests you ran to verify your changes.
MPAS case from profiling in #910, and get_close test harness also given in #910
Checklist for merging
Checklist for release
Testing Datasets