NCAR / geocat-examples

GeoCAT-examples provides a gallery of visualization examples demonstrating how to reproduce plots from NCL Applications scripts with packages in Python. It also includes some longer form examples demonstrating how to use functionality from various GeoCAT packages.
https://geocat-examples.readthedocs.io
Apache License 2.0
66 stars 42 forks source link

Polar projection examples for sea ice diagnostics #522

Open katiedagon opened 1 year ago

katiedagon commented 1 year ago

I was talking to @dabail10 at lunch today and it sounds like there is an interest in additional polar projection examples for CESM sea ice diagnostics. I did find one example here, and it sounds like it would be helpful for additional variables besides zonal wind.

I'll let Dave fill in the details and add any relevant links to existing NCL plots and scripts.

dabail10 commented 1 year ago

Here are some examples in these notebooks. Note that they use a combination of things including POP_tools. The POP and soon MOM grids can always be tricky to deal with.

https://github.com/NCAR/CESM-Tutorial/blob/main/notebooks/diagnostics/cice/basics.ipynb https://github.com/NCAR/CESM-Tutorial/blob/main/notebooks/diagnostics/cice/advanced.ipynb

kafitzgerald commented 1 year ago

Thanks for the input!

dabail10 commented 7 months ago

Actually, the notebooks were renamed, but both are in:

https://github.com/NCAR/CESM-Tutorial/blob/main/notebooks/diagnostics/cice

jukent commented 7 months ago

Thanks @dabail10 and @katiedagon

There is a new Polar example in GeoCAT-examples (now Polar1 and Polar8) thanks to @kafitzgerald. Are you looking for something in particular?

We are having some internal discussion about defining and leveraging/building out different resources:

Thanks for sharing your thoughts with us on what you'd like to see more of - and of course if you have opinions on how to best interact with these different resources.

dabail10 commented 7 months ago

Hi @jukent . I have pointed to some notebooks from the CESM Tutorial above and I am in the process of putting together a notebook for the CUPiD package. These are not in the repo yet, but are available in my directory:

/glade/u/home/dbailey/CUPiD/examples/nblibrary

There is a seaice.ipynb notebook and accompanying YAML files.

The existing GeoCAT examples are atmosphere focused on a regular lat/lon grid. It is trickier with the sea ice fields as these are on the MOM6 tripole grid. The pcolormesh function does the right thing with the 2D lat/lon fields. I am still working on quiver. It sort of does what I want.

jukent commented 7 months ago

Thanks @dabail10 I'd be happy to iterate on a visualization for your purposes and for better documentation.

Does this advanced_cice notebook cover the gridding and datasets you are referring to? When you say "sort of" does what you want -- want to set up a meeting to demonstrate this to me so I can better understand what we're looking for?

dabail10 commented 7 months ago

I am happy to give a demo on the newer CUPiD notebook. It is the most mature at this point. When I say "sort of" it is giving me some weird things near the tripole seam. Here is the Jupyter Book version. The vector plots are at the bottom.

https://webext.cgd.ucar.edu/BLT1850/b.e23_alpha16g.BLT1850.ne30_t232.059/ice/b.e23_alpha16g.BLT1850.ne30_t232.059-b.e23_alpha16b.BLT1850.ne30_t232.054/seaice.html