Skip to content

trho(2) not set in w3iorsmd #1287

@DeniseWorthen

Description

@DeniseWorthen

Describe the bug

An initial value for TRHO(2) is not provided.

WW3/model/src/w3iorsmd.F90

Lines 1300 to 1309 in abc77b9

ELSE
TLEV(1) = -1
TLEV(2) = 0
TICE(1) = -1
TICE(2) = 0
TRHO(1) = -1
TIC1(1) = -1
TIC1(2) = 0
TIC5(1) = -1
TIC5(2) = 0

This resulted in an unexpected failure for the mesh cap, when adding additional export fields for the Coastal App. See ufs-community/ufs-weather-model#2367 for details.

It is unknown whether this impacts WW3 standalone RTs.

Expected behavior
TRHO(2) should have an initial value set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions