Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
AlysonStahl-NOAA committed Nov 15, 2024
1 parent 96aec93 commit 556559a
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions tests/test_bitmap.F90
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ program test_bitmap

integer :: idxver = 2, j = 0, jdisc = 0, jpdtn = 0, jgdtn = 0
integer :: myidxver, iret, k, i
!integer :: jids(13), jpdt(100), jgdt(250)
integer, dimension(200) :: jids, jpdt, jgdt
integer :: jids(13), jpdt(100), jgdt(250)
logical :: unpack = .true.

integer :: expected_idsect(13) = (/ 57, 90, 2, 0, 0, 2021, 4, 25, 0, 0, 0, 0, 1/)
Expand Down Expand Up @@ -52,10 +51,10 @@ end subroutine g2_create_index
jpdt = -9999
jgdt = -9999

call getgb2i2(lugb, lugi, j, jdisc, jids, jpdtn, jpdt, jgdtn, &
jgdt, unpack, myidxver, k, gfld, iret)
if (iret .ne. 0) stop 10
if (k .ne. 1) stop 11
!call getgb2i2(lugb, lugi, j, jdisc, jids, jpdtn, jpdt, jgdtn, &
! jgdt, unpack, myidxver, k, gfld, iret)
!if (iret .ne. 0) stop 10
!if (k .ne. 1) stop 11
!if (gfld%version .ne. 2 .or. gfld%discipline .ne. 0 .or. gfld%idsectlen .ne. 13 .or. &
! gfld%locallen .ne. 0 .or. gfld%ifldnum .ne. 1 .or. gfld%griddef .ne. 0 .or. &
! gfld%ngrdpts .ne. 16600320 .or. gfld%numoct_opt .ne. 0 .or. gfld%interp_opt .ne. 0 .or. &
Expand Down Expand Up @@ -83,9 +82,9 @@ end subroutine g2_create_index
if (iret .ne. 0) stop 101

! Free resources.
call gf_free(gfld)
call gf_finalize(iret)
if (iret .ne. 0) stop 102
!call gf_free(gfld)
!call gf_finalize(iret)
!if (iret .ne. 0) stop 102

print *, 'SUCCESS!'
end program test_bitmap

0 comments on commit 556559a

Please sign in to comment.