Skip to content

Commit

Permalink
Add global attribute write of dataset compatability as a floating poi…
Browse files Browse the repository at this point in the history
…nt number to surface datasets
  • Loading branch information
ekluzek committed Aug 29, 2024
1 parent 37d0e8f commit 6be8c55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/mksurfdata_esmf/src/mkfileMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ subroutine mkfile_define_atts(pioid, dynlanduse)
character(len= 10) :: time ! temporary
character(len= 5) :: zone ! temporary
integer :: rcode
real(r4), parameter :: data_version = 5.3 ! Compatibility version number of the datasets to create
character(len=*), parameter :: subname = 'mkfile_define_atts'
!-----------------------------------------------------------------------

Expand All @@ -126,6 +127,7 @@ subroutine mkfile_define_atts(pioid, dynlanduse)
str = 'Community Land Model: CLM5'
rcode = pio_put_att (pioid, pio_global, 'Source', trim(str))
rcode = pio_put_att (pioid, pio_global, 'Version', trim(gitdescribe))
rcode = pio_put_att (pioid, pio_global, 'Dataset_Version', data_version)
rcode = pio_put_att (pioid, pio_global, 'Logname', trim(logname))
rcode = pio_put_att (pioid, pio_global, 'Host', trim(hostname))
rcode = pio_put_att (pioid, pio_global, 'Number-of-tasks', npes)
Expand Down

0 comments on commit 6be8c55

Please sign in to comment.