Skip to content

Commit

Permalink
Another edit to the if statement logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
orlewis committed Oct 4, 2023
1 parent 2a88f13 commit 0578f73
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/opsinputs/opsinputs_fill_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,7 @@ subroutine opsinputs_fill_fillreal2d_norecords( &
end if
end if
else
if (present(sizeVarObs)) then
if (present(sizeVarObs)) then
if (sizeVarObs > size(channels)) then
if (compressChannels) then
offsetsize = sizeVarObs - size(channels)
Expand All @@ -1135,12 +1135,12 @@ subroutine opsinputs_fill_fillreal2d_norecords( &
Real2(:, Channels(iChannel)) = VarValue
end where
end if
else
where (VarValue /= MissingDouble)
Real2(:, iChannel) = VarValue
end where
end if
else
where (VarValue /= MissingDouble)
Real2(:, iChannel) = VarValue
end where
end if ! the end
end if ! the end
end if
end do
end if ! Data not present? OPS will produce a warning -- we don't need to duplicate it.
Expand Down

0 comments on commit 0578f73

Please sign in to comment.