Skip to content

Errors for unavailable diagnostics #71

@blimlim

Description

@blimlim

Certain diagnostics aren't available for some models or with specific namelist settings. E.g. when calc_Tsfc=.false. f_sitemptop can't be calculated and can't be saved. Other variables aren't available when using the UM style coupling for ESM1.6

PR #35 adds error messages for several of these diagnostics:

#ifdef ACCESS
! these are not available with UM style coupling
if ( f_siflsenstop /= 'x' ) call abort_ice("f_siflsenstop not available, set to 'x'")
if ( f_sifllwdtop /= 'x' ) call abort_ice("f_sifllwdtop not available, set to 'x'")
if ( f_sifllwutop /= 'x' ) call abort_ice("f_sifllwutop not available, set to 'x'")
if ( f_siflswdtop /= 'x' ) call abort_ice("f_siflswdtop not available, set to 'x'")
if ( f_siflswutop /= 'x' ) call abort_ice("f_siflswutop not available, set to 'x'")
if ( f_sisnconc /= 'x' ) call abort_ice("f_sisnconc not available, set to 'x'")

The lists might not be exhaustive. E.g. f_flwup_ai, fsens_ai, f_flwdn, f_fswdn, and f_fswup use the same data as some of the above fields, but aren't included in the lists. It could be good to go through the diagnostics and add errors for any additional ones that aren't available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions