Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The interpolation for 10 million sea ice observations takes over 3 hours.
Instructions to Reproduce the Issue
Run
orcamodel_hofx3D.x
with over 10000 observations in the input file. You can do this either using the comparison suite with Simon's branch, or by running using theostia_seaice_obs.yaml
configuration.Acceptance Criteria (Definition of Done)
The interpolation of 10 million points takes less than 10 minutes.
Dependencies
max_fraction_elems_to_try = 0.0
in the interpolation section of the configuration (the default is 0.2, and causes atlas to search 20% of the grid for points which lie outside of the model domain). An example of this setting is in L41 ofostia_seaice_obs.yaml
.Summary of Changes
ostia_seaice_obs.yaml
file to point to a large example problemmax_fraction_elems_to_try
option. Setting this to zero and using the head of atlas develop will cause the interpolator to skip observations that are not found in the cell with the closest cell centre or the 8 surrounding grid cells. See ecmwf::atlas#84 for details.