Skip to content

Commit

Permalink
feature/PNetcdf: This commit references ufs-community#26.
Browse files Browse the repository at this point in the history
Fix array bounds bug in ./global_chgres.fd/chgres.f90 discovered
by Dusan.
  • Loading branch information
GeorgeGayno-NOAA committed Feb 7, 2020
1 parent 4a0af6d commit 14da500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sorc/global_chgres.fd/chgres.f90
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ END SUBROUTINE WRITE_FV3_SFC_DATA_NETCDF
ENDIF

ALLOCATE(VCOORDI(LEVSI+1,GFSHEADI%NVCOORD))
VCOORDI(:,:) = GFSHEADVI%VCOORD(:,:,1)
VCOORDI(:,:) = GFSHEADVI%VCOORD(:,1:GFSHEADI%NVCOORD,1)

! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
! READ INPUT NEMSIO DATA ARRAY
Expand Down

0 comments on commit 14da500

Please sign in to comment.