Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix interpolation error of obsop #142

Open
cd10kfsu opened this issue Sep 29, 2022 · 0 comments
Open

Fix interpolation error of obsop #142

cd10kfsu opened this issue Sep 29, 2022 · 0 comments
Labels

Comments

@cd10kfsu
Copy link
Collaborator

The obsop break down when handling AVHRR obs at the location

rlon = 73.812500000000000
rlat = 79.854179382324219

The error trace back to

At line 188 of file common_obs_mom6.f90
Fortran runtime error: Index '37' of dimension 2 of array 'lat2d' above upper bound of 36

This error is caused by the grid interpolation subroutine phys2ijk

!---------------------------------------------------------------------------
! Convert the physical coordinate to model grid coordinate (note: real, not integer)
!---------------------------------------------------------------------------
CALL phys2ijk(elem(n),rlon(n),rlat(n),rlev(n),ri,rj,rk) !(OCEAN)

It is probably due to the grid search in the tripolar coordinates.

@cd10kfsu cd10kfsu added the bug label Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant