Skip to content

Registry allocates surface arrays based on new sfclayer package not PBL choice#1460

Open
dudhia wants to merge 1 commit into
MPAS-Dev:developfrom
dudhia:sfclayfix
Open

Registry allocates surface arrays based on new sfclayer package not PBL choice#1460
dudhia wants to merge 1 commit into
MPAS-Dev:developfrom
dudhia:sfclayfix

Conversation

@dudhia
Copy link
Copy Markdown
Collaborator

@dudhia dudhia commented May 26, 2026

When the LES options are run in real-data cases, the sfclayer physics is used but not the PBL physics.
Many (over 30) 2d arrays were allocated based on PBL packages when their true dependence is on the sfclayer package.
This caused a failure due to using unallocated arrays.
The fix is to create and use instead a sfclayer package in the Registry.
(Note: in development code PBL was on in namelist to enable these arrays but by-passed for LES options,
now we need PBL to be off when LES is chosen which could require a safety check).
This enables real-data LES applications to run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants