I know that pcolormesh works fine with the latitude and longitude from the model. I am looking at CICE output, so I can use TLAT/TLON here. Now, I thought I had heard that contourf should work with these nonuniform grids as well. I can't seem to get that to work. I can certainly use pcolormesh, but I can't control the contour levels like one can in contourf.
It looks like contour/contourf expect a regular grid, but tricontourf could be an option more here. Do you have some sample data to work with? Katie's sea ice example issue is on my list to get to next week as well. Apologies for the delay on that.
That was actually my scripts. :) We did use pcolormesh for the CESM Tutorial. I have some sample data in:
/glade/campaign/cesm/development/cross-wg/diagnostic_framework/CESM_output_for_testing
The cases b.e23_alpha16g.BLT1850.ne30_t232.073c and b.e23_alpha16g.BLT1850.ne30_t232.075c have climatologies and timeseries files here. The variable aice (0 to 1) is a good place to start.
I did look at tricontourf, but I don't think it does quite what we want.
Thanks! I'll take a look.
Last updated: May 16 2025 at 17:14 UTC