Skip to content

Commit

Permalink
Fixed bug with regional stats
Browse files Browse the repository at this point in the history
Added allocation for attLists in generated fields
  • Loading branch information
akturner committed Feb 17, 2021
1 parent c0691f1 commit 288a7c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions analysis_members/mpas_seaice_regional_statistics.F
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,8 @@ subroutine create_new_output_field_1D(&
outputField % isVarArray = .false.
outputField % isPersistent = .true.

allocate(outputField % attLists(1))

end subroutine create_new_output_field_1D

!***********************************************************************
Expand Down Expand Up @@ -823,6 +825,8 @@ subroutine create_new_output_field_2D(&
outputField % isVarArray = .false.
outputField % isPersistent = .true.

allocate(outputField % attLists(1))

end subroutine create_new_output_field_2D

!***********************************************************************
Expand Down

0 comments on commit 288a7c5

Please sign in to comment.