Skip to content

Commit

Permalink
Update test_bitmap.F90
Browse files Browse the repository at this point in the history
  • Loading branch information
AlysonStahl-NOAA committed Nov 29, 2024
1 parent 2158894 commit 9da43db
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tests/test_bitmap.F90
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ program test_bitmap
parameter(lugi = 31, lugb = 11)

character(len=1), dimension(:), pointer :: cbuf
integer :: idxver = 2
integer :: idxver = 2, ndpts = 16600303
integer :: iret, nnum, nlen

integer :: idrstmpl(5) = (/ 0, 0, 0, 3, 0 /)
real, dimension(ndpts) :: fld

interface
subroutine g2_create_index(lugb, lugi, idxver, filename, iret)
Expand Down Expand Up @@ -47,8 +48,10 @@ end subroutine getidx2

call getidx2(lugb, lugi, idxver, cbuf, nlen, nnum, iret)
if (iret .ne. 0) stop 5
print *, nnum
print *, nlen
if (nnum .ne. 1) stop 6
if (nlen .ne. 226) stop 7

call pngunpack(cbuf, nlen, idrstmpl, ndpts, fld)

call baclose(lugb, iret)
if (iret .ne. 0) stop 100
Expand Down

0 comments on commit 9da43db

Please sign in to comment.