mpas elevation check #332
Replies: 5 comments
-
i think QTY_SURFACE_ELEVATION should bypass the max diff tests regardless of the setting. i don't know about QTY_SURFACE_PRESSURE - i would think that should be treated like any other obs and rejected if the diff is too large, but maybe that is a soyoung question. just for the record for everything EXCEPT surface elevation: both the wrf and mpas model_mods already have (and have had for a long time) a namelist variable which should be set to -1 to disable the distance check for all QTYs, and set to a positive value to set the max difference in meters that is ok. this is used when the interpolation location vert type is VERTISSURFACE. the vertical value in the location derived type is expected to be the elevation of the observation at that location, in meters. the model_mod computes the model's surface elevation at the obs location and compares the values. a larger difference than the threshold is rejected as a failed forward operator/interpolation. the namelist item is: input.nml :: &model_nml :: sfc_elev_max_diff which is an integer value, in meters. -1 disables the check. |
Beta Was this translation helpful? Give feedback.
-
I still feel the need to discuss this. The first However, all of the other forward operators do not have this guarantee, and the
The block of code used to (circa Aug 11, prior to RTTOV) look like (0c50fcb):
It checked surface pressure and surface elevation. It also uses a module variable Are we simply saying that we should revert to the 0c50fcb block of code? |
Beta Was this translation helpful? Give feedback.
-
yes. :) p.s. when we were looking at the code yesterday, i noticed that it sets a logical "surface_obs" a few lines up. so the first line of that block could be a bit more readable: if(surface_obs .and. sfc_elev_max_diff >= 0) then ... |
Beta Was this translation helpful? Give feedback.
-
actually - let me amend that last answer. the block should mostly be the same, but i think it needs to skip the test for surface elevation in all cases, not just when always_assim_surf_altimeters is true. this would be a slight change from the previous code, but it seems to me if the caller is asking for the surface elevation they don't know it already so they can't pass it in with the location. edit to add: i mean this: if (always_assim_surf_altimeters .and. & changes to: if ((always_assim_surf_altimeters .and. obs_kind == QTY_SURFACE_PRESSURE) .or . & |
Beta Was this translation helpful? Give feedback.
-
moving this to discussions since no decision on this. |
Beta Was this translation helpful? Give feedback.
-
What needs to be checked in mpas for surface elevations?
When should observations be rejected?
Here is the comment in #95
Beta Was this translation helpful? Give feedback.
All reactions