24 character(len=100),
allocatable :: fldnames(:)
34 type(c_ptr),
intent(in) :: c_vars
37 character(len=1023) :: varlist
40 varlist = config_get_string(c_vars,len(varlist),
"variables")
43 self%nv = 1 + count(transfer(varlist,
'a', len(varlist)) ==
",")
46 allocate(self%fldnames(self%nv))
49 read(varlist,*) self%fldnames
Fortran module to handle variables for the FV3JEDI model.
subroutine, public fv3jedi_vars_create(c_vars, self)
Fortran derived type to represent fv3jedi model variables.