-
Notifications
You must be signed in to change notification settings - Fork 52
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
Improve model vs. obs transects on the native MPAS mesh #851
Conversation
TestingI ran SOSE, WOCE and MOC analysis, and they all look okay with these changes (the MOC is unaffected, as we want it to be). These are the only standard types of analysis that uses transects. I also ran the full test suite: Things look as expected. |
@milenaveneziani, could you take a look at this at your earliest convenience and let me know what you think? I'd like to have this fix in the next release sometime next week. If you prefer, we can switch back to doing the comparison on the |
Hi Xylar (I know, it's late, even for our standards..). I do like the MPAS panel but I have to admit that I find all the colors used for the topography and ice shelves a bit distracting. Would it be easy to do the following: 1) leave the upper panel as is (but perhaps use just one color, the light blue, to indicate the ice shelf? I figure you have a reason for using white and blue though); 2) choose one color (darker brown) to mask all the nans in the middle and lower panels, without even using the black contour to delineate the topography. We would basically just show the obs values and the bias only where the obs are available, while still preserving the full model section. I think having the sections on the native mesh is great, so we should definitely push to keep this! |
Thanks @milenaveneziani, I'll keep working on it. The white vs. the light blue is really the distinction between where the model thinks there is an ice shelf and where we have just depressed the sea surface so there's a smooth transition in sea surface height. I wanted to highlight this in part because I think it might be problematic, but I don't have a problem making that whole region blue instead. The difference between the dark and light brown is that the light brown is where there are NaNs but the dark brown is where there is simply no mesh. It turns out to be surprisingly difficult to outline the combined light and dark brown regions. If I do a contour, I only get the boundary where the light brown touches the valid data. Anyway, I agree with your suggestions and I will keep working on how to make them happen. |
What if you don't outline it all, just use one color for both. Oh maybe that's what you did in the last commit.. |
Without an outline, it's hard to tell that the bathymetry isn't just part of the dataset. I think the outline really does help so I'll work on it... |
Maybe I'll try the version without an outline and see if that's okay. It's by far the easiest solution. |
5a83d81
to
1f48404
Compare
@milenaveneziani, I think it maybe works okay: Do you think I should keep the line between the ice shelf and the rest? I could go either way. The light blue is similar to colors in many of our color maps so the line might keep thing clearer. But it also is kind of odd to have it there and not around the topography. |
Here are the full set of transects if you want to look at more of them: |
Here's a version without the line below the ice shelf: And the rest of the plots in that style: I think maybe I do like that better and I'll commit that change. |
1f48404
to
acbc9fa
Compare
This was previously documented as being a RemapMpasClimatologySubtask object, but this is the parent class and is missing some required attributes (notably `remap`).
This allows both the MPAS topography and the obs or SOSE topography to be displayed.
We plot ice where the landIcePressure is depressing the sea surface, not just where the landIceFraciton is nonzero.
Also working on how to get the expected outline
acbc9fa
to
9de4f2b
Compare
@milenaveneziani, this is ready for you to give it another look as soon as you have time. |
Yes, I agree that your last version works best. Nice work Xylar! |
Thanks @milenaveneziani. |
After some discussion below, the most straightforward solution seems to be to remove the line between the topography and the colormap, and make the
NaN
color the same as the background color.closes #849