Skip to content

Commit

Permalink
Update fvcom_tools for reading 32-bit surface restart files.
Browse files Browse the repository at this point in the history
  • Loading branch information
hu5970 committed Sep 25, 2023
1 parent 8a479da commit 5e3071d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/fvcom_tools/ftst_readfvcomnetcdf.F90
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ program readfvcomnetcdf
real :: lbcvice_expected(NUM_VALUES) !expected fvcom ice thickness values

! Create allocabable arrays to read from .nc files
real, allocatable :: fv3ice(:,:), fv3sst(:,:)
real, allocatable :: fv3sfcT(:,:), fv3mask(:,:)
real, allocatable :: fv3iceT(:,:), fv3sfcTl(:,:)
real, allocatable :: fv3zorl(:,:), fv3hice(:,:)
real, allocatable :: lbcice(:,:), lbcsst(:,:)
real, allocatable :: lbcsfcT(:,:), lbcmask(:,:)
real, allocatable :: lbciceT(:,:), lbchice(:,:)
real, allocatable :: lbczorl(:,:)
real(4), allocatable :: fv3ice(:,:), fv3sst(:,:)
real(4), allocatable :: fv3sfcT(:,:), fv3mask(:,:)
real(4), allocatable :: fv3iceT(:,:), fv3sfcTl(:,:)
real(4), allocatable :: fv3zorl(:,:), fv3hice(:,:)
real(4), allocatable :: lbcice(:,:), lbcsst(:,:)
real(4), allocatable :: lbcsfcT(:,:), lbcmask(:,:)
real(4), allocatable :: lbciceT(:,:), lbchice(:,:)
real(4), allocatable :: lbczorl(:,:)
! Expected values from the dummy files
data lat_lon_expected_values /5, 5/
data fv3mask_expected /1, 0/
Expand Down

0 comments on commit 5e3071d

Please sign in to comment.