Skip to content

Commit 3206370

Browse files
authored
code comment on the implementation convention
1 parent 3c5a035 commit 3206370

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

components/lfric-xios/source/lfric_xios_file_mod.f90

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,9 @@ function lfric_xios_file_constructor( file_name, xios_id, io_mode, freq, &
258258
if (present(field_group_id)) then
259259
self%field_group_id = field_group_id
260260
else
261+
! The convention is to have a single field_group for fields in file
262+
! with mode="read" and to name that field group relative to the
263+
! file `id` with suffix "_field_group"
261264
self%field_group_id = trim(self%xios_id)//"_field_group"
262265
end if
263266

0 commit comments

Comments
 (0)