-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_dist for VERTISSURFACE #757
Comments
copied comments over: nancycollins commented 1 hour ago @nancycollins @hkershaw-brown https://docs.dart.ucar.edu/en/latest/guide/creating-obs-seq-real.html#observation-locations |
this text in the docs: DART/guide/creating-obs-seq-real.rst Lines 333 to 337 in e218864
Is this true for VERTISSURFACE? That you would want want anything surface to impact the whole column? DART/assimilation_code/location/threed_sphere/location_mod.f90 Lines 501 to 520 in e218864
|
i don't believe that DART itself requires that the vertical value for VERTISSURFACE be in meters. i think it's ignored. WRF and then MPAS were then free to require that observations set the value to be the elevation of the observing station so they could do rejections of obs at too different elevations. you might want to grep the code because i may be confused, but i don't think we require that the vertical value be anything when the vertical type is VERTISSURFACE. that doesn't mean we can't change it if that's useful. |
so what makes you say "i don't believe that DART itself requires that the vertical value for VERTISSURFACE be in meters'? Was the design originally no value, and people 'hacked' a use for it to reject surface observations? Looking at the code and docs there are a bunch of places where VERTISSURFACE is m is assumed (or according to comments, defined).
DART/assimilation_code/location/threed_sphere/location_mod.f90 Lines 896 to 902 in e218864
https://docs.dart.ucar.edu/en/latest/guide/vertical-conversion.html DART/assimilation_code/programs/obs_selection/obs_selection.f90 Lines 100 to 106 in e218864
It seems prone to bugs to have a converter put out VERTISURFACE where the vertical could be in pressure, height, no value, etc and the model can interpret that number differently. |
how i remember it is that originally if a location was marked as VERTISSURFACE, the actual vertical value was undefined (meaning unused, not specified as needing to be set, etc). then the wrf folks decided to use it for their own purposes since it was unused. (this was 10-15 years ago.) at that point i probably should have made it part of the spec that the value needed to be vertical in meters, or something. but it was model dependent so i just left it alone. after that point, since i knew it was being used that way, i'm guessing some code migrated into the mainline dart code that assumed meters, without it ever being part of a spec. it wasn't good, but that's the history as i remember it. i agree it's bug prone for obs. |
ok thanks. |
Moved from #756
location_mod get_dist "! Vert distance can only be done for like vertical locations units"
why can you not calculate vertical distance between two points one with VERTISSURFACE(m) and one with VERTISHEIGHT(m)?
DART/assimilation_code/location/threed_sphere/location_mod.f90
Lines 507 to 509 in e218864
Originally posted by @hkershaw-brown in #756 (comment)
The text was updated successfully, but these errors were encountered: