NCAR / icar

The Intermediate Complexity Atmospheric Research model (ICAR)
MIT License
72 stars 53 forks source link

intermittent interpolation bug #68

Closed gutmann closed 2 years ago

gutmann commented 4 years ago

There have been issues reported by various people with ICAR not being able to "find" the correct grid cells when interpolating the forcing data to the ICAR grid. This started when moving to the stricter triangulation method instead of assuming a rectilinear forcing grid. It also seems more likely when using higher resolution ICAR grids.

Need to work on making this interpolation routine a little more robust, and maybe falling back to something simpler with a warning printed instead of stopping completely when it may just be a floating point precision / rounding issue.

gutmann commented 2 years ago

closing because I haven't seen this (or heard of this) in a while from others.