Conversation
…_skin_temperature" definition, and return proper skin temperature naming accordingly
…see if this sticks...
…ned "friction-temperature", including definition and citation.
…r "at_surface_interface" due to existing conflicting definition of "bottom-of-atmosphere" in radiation community. Will stick with the slightly more ambiguous but overall less confusing "at_surface" as a synonym for "at_surface_interface", with appropriate definitions.
|
@svahl991 Here is the pull request for your review. There are a few changes since the last time I checked in:
|
b211c59 to
36899d1
Compare
|
@climbfuji Thanks for your review; note I pushed one more change with additional "skin_temperature" variables after your review. I've also updated the figure to use |
svahl991
left a comment
There was a problem hiding this comment.
This system seems to work OK, especially given the description in the rules. I don't know if it feels self-explanatory to me, however (easily understood without reading the rules), but maybe that's too hard to achieve.
It's unfortunate that once again, JEDI has "guessed wrong" and moved forward with names that we thought would become part of the standard but did not, leaving us in a position where we must re-change names we've already changed once in order to conform. But that's just complaining, and of course can't be considered when trying to determine the best names.
The use of the word "interface" seems slightly different in different places. In this PR, it is referring to a physical interface between the atmosphere and the surface, but around line 107 of the Rules file it is used to refer to the interface(s) between vertical levels of a column. Not inconsistent exactly, but subtly different.
| * `dimensionless_exner_function_at_surface_adjacent_layer`: Dimensionless exner function (p/p0)^(Rd/cp), where p0 is 1000 hPa and p is the pressure at the surface-adjacent layer | ||
| * `real`: units = 1 | ||
| * `dimensionless_exner_function_wrt_surface_pressure`: Dimensionless exner function with respect to surface pressure, (p/ps)^(Rd/cp) | ||
| * `dimensionless_exner_function_wrt_pressure_at_surface`: Dimensionless exner function with respect to surface pressure, (p/ps)^(Rd/cp) |
There was a problem hiding this comment.
Why pressure_at_surface in this name instead of air_pressure_at_surface? Seems internally inconsistent. I notice this in other names as well. It seems like in other names the word pressure implies air_pressure, and we only include the word air in air_pressure_at_surface. See also reference_pressure_at_surface and pressure_of_dry_air_at_surface.
There was a problem hiding this comment.
This is a good point; we should probably have more rules about when and how a medium should be explicitly spelled out (air_pressure vs just pressure). I think in most (all?) cases it should be explicitly stated, especially across different modeling systems where the medium can't just be assumed to be air unless otherwise specified. I'd need to do a thorough review of the existing names to see what exists and what is missing; I can open an issue for this.
| * `real`: units = K | ||
| * `potentially_advected_quantities`: Potentially advected quantities | ||
| * `real`: units = various | ||
| * `pressure_of_dry_air_at_surface`: surface pressure of dry air |
There was a problem hiding this comment.
The "dry" qualifier shifts the syntax from air_pressure_at_surface to pressure_of_dry_air_at_surface.
There was a problem hiding this comment.
The difference between air_pressure and pressure_of_dry_air is the inclusion of air_pressure as a base name...this was done to avoid the more clunky and verbose language when it is a very common term, while keeping names technically following our rules.
| definition being fundamentally different from unqualified ``X``. For example, ``surface_skin_temperature`` | ||
| is a fundamentally different quantity than the unqualified ``skin_temperature``. In cases such as these, |
There was a problem hiding this comment.
For example,
surface_skin_temperature
is a fundamentally different quantity than the unqualifiedskin_temperature.
skin_temperature (unqualified) does not appear to be a valid name (it appears to be skin_temperature_at_toa), so maybe a different example would be better?
There was a problem hiding this comment.
I think this is the only example currently; I have updated the wording to hopefully be more clear.
|
@svahl991 I have made a few updates based on your comments, including hopefully making the use of the "interface" term more clear. |
Description
This PR seeks to resolve several open issues:
surfaceall together when unnecessary (e.g.surface_friction_velocity-->friction_velocity)surface_skin_temperature,sea_surface_skin_temperature, andskin_temperature_at_toa, with detailed comments on the definitions for each.In addition to these issues, additional clarity is added to the rules for definitions of "layer" vs "interface" (including a fancy diagram!), and the term
surface_temperature_scaleis renamed to the synonymous and less ambiguousfriction_temperature.Issues
Resolves: