Skip to content

How is the output_interval meta information in the output files used? #235

Description

@guoqing-noaa

The ufs-community version added the following code snippet to write out the output_interval meta information to output files.
It came from PR #18. It looks like NSSL added it.
Do we know how this information is used? Anyone uses this? Thanks!

! Write output_interval to stream
!
IF (stream %filename_interval(1:4) /= "none") THEN
call mpas_set_timeInterval(filename_interval, timeString=stream %filename_interval)
call mpas_get_timeInterval(filename_interval,M=output_interval)
call mpas_writeStreamAtt(stream%stream, 'output_interval',output_interval,syncVal=.true., ierr=local_ierr)
if (local_ierr /= MPAS_STREAM_NOERR) then
ierr = MPAS_STREAM_MGR_ERROR
return
end if
END IF
end if

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions