You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As detailed in #2850, the current MAPL_GetGlobalHorzIJIndex routine does not work on the stretched grid. @weiyuan-jiang has a PR in to actually trap the error and fail out (see #2851).
All this is well and good, but the consequence is that for normal GOCART runs, you have to disable all the volcanoes (which are point source emissions).
Is there an open ticket for resolving 'point source' problem w/ stretched grid? GMI uses it for more than just volcanoes.
So without a working MAPL_GetGlobalHorzIJIndex routine for stretched grids, GMI will have issues.
I know in talking with @bena-nasa and @weiyuan-jiang said how the normal algorithms we have for this sort of thing don't quite work (great circles?). Perhaps with @tclune a naive, if suboptimal/slow, routine could be added for the stretched grid cases?
The text was updated successfully, but these errors were encountered:
@weiyuan-jiang outlined the correct algorithm earlier this week. You invert the schmidt transform to find the original lat/lon and then use the existing algorithm.
For performance it will be important to use the vectorized form of this where the user passes in a list of lats and lons so that we don't do the inverse schmidt transform over and over again.
Unfortunately, in the short term this means creating a copy of schmidt (and inverse) so that MAPL can access.
Long term, we hope ESMF can directly bin in a more general manner, but probably will be slower when generic.
Not entirely obvious whether it is invertible in that form. Hopefully we can actually find an implementation of the inverse or we can express mathematically and then invert. Also we need to ignore the fixes to put lon and lat into the proper interval but then apply such fixes again to the output of the inverse ...
As detailed in #2850, the current
MAPL_GetGlobalHorzIJIndex
routine does not work on the stretched grid. @weiyuan-jiang has a PR in to actually trap the error and fail out (see #2851).All this is well and good, but the consequence is that for normal GOCART runs, you have to disable all the volcanoes (which are point source emissions).
But, @mmanyin asked:
So without a working
MAPL_GetGlobalHorzIJIndex
routine for stretched grids, GMI will have issues.I know in talking with @bena-nasa and @weiyuan-jiang said how the normal algorithms we have for this sort of thing don't quite work (great circles?). Perhaps with @tclune a naive, if suboptimal/slow, routine could be added for the stretched grid cases?
The text was updated successfully, but these errors were encountered: