Subarea cutout producing different cutouts when rotated poles differ
- Dominant language
- Python
- Stars
- 33
- Forks
- 19
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 30
Description
First reported by @afinnen:
model 1:
model 2:
In the above examples the same cutout region (based on real-world coordinates) is being applied however the models are producing different results.
Comparisons by @afinnen plotting the cutouts onto the larger domain show this:
This could arise because only the corners of the cutout are rotated, so the areas will not overlap for the same rotated pole.
An initial approach (suggested by @afinnen) could be to create a 2D array with unrotated lat/lon pairs for each point
Create Boolean version where points set to true where both lat and lon are within the user defined range
use the boolean array to mask the rotated pole
create a copy of the rotated cube replacing the original data with the masked array.
use that cube for plotting
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.