Skip to content

integrate_model docs "no namelist" not quite true #1119

@hkershaw-brown

Description

@hkershaw-brown

Docs integrate_model: "There is no namelist for this program."
https://docs.dart.ucar.edu/en/latest/assimilation_code/programs/integrate_model/integrate_model.html#namelist

However there is a namelist

! only read in if use_namelist is .true. -- ignored otherwise.
namelist /integrate_model_nml/ &
ic_file_name, ud_file_name, &
trace_execution, is_model_advance_file, target_days, target_seconds

! this must come AFTER the standard utils are initialized.
! Read the integrate_model_nml namelist from input.nml if 'use_namelist' true.
if (use_namelist) then
call find_namelist_in_file('input.nml', 'integrate_model_nml', iunit)
read(iunit, nml = integrate_model_nml, iostat = rc)
call check_namelist_read(iunit, rc, "integrate_model_nml")
else
errstring = ' !must edit integrate_model/integrate_model.f90 to enable this namelist'
if (do_nml_file()) write(nmlfileunit, '(A)') trim(errstring)
if (do_nml_term()) write( * , '(A)') trim(errstring)
endif

Seems like a good candidate for command line argumenst

./integrate_model intial.nc next_step.nc

That way you could run multiple integrate_models in the same directory (see #969 for problems with all dart programs looking for input.nml)

Metadata

Metadata

Assignees

No one assigned

    Labels

    psipossible student issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions