Skip to content

Commit

Permalink
Fix typo for cell_methods
Browse files Browse the repository at this point in the history
  • Loading branch information
magnusuMET committed Jan 23, 2025
1 parent b9c3b0b commit d0c0374
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/fldout_nc.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1143,9 +1143,9 @@ subroutine initialize_output(filename, itime, ierror)
call nc_declare(iunit, dimids4d, varid%comp(m)%icml, &
string, units="Bq/m3", chunksize=chksz4d)
if (modlevel_is_average) then
call check(nf90_put_att(iunit, varid%comp(m)%icml, "cell_method", "time: mean"))
call check(nf90_put_att(iunit, varid%comp(m)%icml, "cell_methods", "time: mean"))
else
call check(nf90_put_att(iunit, varid%comp(m)%icml, "cell_method", "time: point"))
call check(nf90_put_att(iunit, varid%comp(m)%icml, "cell_methods", "time: point"))
end if
end if
if (output_column) then
Expand Down

0 comments on commit d0c0374

Please sign in to comment.