Skip to content

Commit

Permalink
Revert "simplify level querying"
Browse files Browse the repository at this point in the history
This reverts commit b4efa39. Either the
syntax is wrong or this is not allowed.
  • Loading branch information
ReubenHill committed Aug 19, 2024
1 parent b4efa39 commit 23a7e6a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/opsinputs/opsinputs_fill_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1362,6 +1362,7 @@ subroutine opsinputs_fill_fillrealfromgeoval( &
! Local declarations:
type(ufo_geoval), pointer :: GeoVal
real(kind_real) :: MissingReal
integer(integer64), dimension(2) :: GeoValShape
integer(integer64) :: LvlIdx

character(len=*), parameter :: &
Expand Down Expand Up @@ -1398,7 +1399,8 @@ subroutine opsinputs_fill_fillrealfromgeoval( &
! Ops_BGEandCXCreate.inc line 166 and Ops_CxComplete.inc line 299. This
! field is only used for surface visibility calculations so no further
! specific handling is required.
LvlIdx = shape(GeoVaL % vals, dim=1) ! Usually 70
GeoValShape = shape(GeoVaL % vals)
LvlIdx = GeoValShape(1) ! Usually 70
else
LvlIdx = 1
end if
Expand Down

0 comments on commit 23a7e6a

Please sign in to comment.