Skip to content

capgen: dimension specifier foo(N) is not the same as foo(1:N) in Fortran code #747

@climbfuji

Description

@climbfuji

Description

Error:

Variable mismatch in gfs_control_type, no Fortran variable idat.

Metadata:

[idat]
  standard_name = date_and_time_at_model_initialization_in_iso_order
  long_name = initialization date and time
  units = none
  dimensions = (8)
  type = integer

Fortran:

integer :: idat(1:8) ! initialization date and time

If I change the Fortran code to

integer :: idat(8) ! initialization date and time

then the error is gone.

Steps to Reproduce

See above. Should be reproducible in one of the capgen tests from develop.

Additional Context

n/a

Output

See above

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugFor issues describing bugs, or PRs fixing bugscapgenbugs, requests, etc. that involve ccpp_capgen

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions