Skip to content

sfc_elev_max_diff rejection is dependent on debugging on and on do_ouput (only task 0 typically) #1172

Open

Description

@hkershaw-brown

☠️ skeleton will fill out later.

! Reject obs if the station height is far way from the model terrain.
if(is_vertical(location, "SURFACE").and. sfc_elev_max_diff >= 0) then
if(abs(llv(3) - zGridFace(1,cellid)) > sfc_elev_max_diff) then
istatus = 12
if (debug > 0 .and. do_output()) then
print*, 'model_interpolate: Skip due to abs(dz) > sfc_elev_max_diff:', &
llv(3)-zGridFace(1,cellid), trim(get_name_for_quantity(obs_kind)),' at ',trim(locstring)
goto 100
endif
endif
endif
endif

sfc_elev_max_diff rejection is depended on debugging on and on do_ouput (only task 0 typically)

Activity

  1. changed the title [-]sfc_elev_max_diff rejection is depended on debugging on and on do_ouput (only task 0 typically)[/-] [+]sfc_elev_max_diff rejection is dependent on debugging on and on do_ouput (only task 0 typically)[/+] on Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    mpasModel for Prediction Across Scales (MPAS)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions