Skip to content

Fortran parser must report error in dimension string correctly #362

@climbfuji

Description

@climbfuji

This bug occurs with the metadata/fortran parser version used by @JulieSchramm when parsing variables in CCPP schemes. I mistakenly typed

      real(kind=kind_phys), dimension(:,;), intent(out) :: plvl, tlvl

instead of

      real(kind=kind_phys), dimension(:,:), intent(out) :: plvl, tlvl

(note the semicolon instead of the colon). The error that the parser reported was

Missing local_variables, ['plvl', 'tlvl'] in GFS_rrtmg_pre_run

while it should be something like invalid dimension specification or something like that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    capgenbugs, requests, etc. that involve ccpp_capgenenhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions