NCAR / NCAR/ccpp-framework

Allow output allocatable variables without specific dimensions

Open
#667 3 comments 0 reactions 1 assignee View on GitHub

@peverwhee is already working on this.

Since Jul 24, 2025.

enhancement
Dominant language
Python
Stars
25
Forks
67
Avg merge
3d 8h
Merged PRs (30d)
2

Description

Description

Similar to how we handle the run-time constituents, there should be a way to indicate to the framework that the physics will handle variable allocation and we do not yet know the dimensions.

Solution

If a variable has the following metadata attributes when it first appears:

  1. allocatable = True
  2. dimensions = (:,:) (just the shape)
  3. intent = out

the cap will just declare the variable but not do any allocation or dimensions checking.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.