Hi,
I would like to do a weighted area average of ocean temps from a 2degree POP output. I was using this as a guide: https://gist.github.com/bradyrx/aee079f8494b084a5c56f7eaf83c8cef
The trouble is that areacello is not a field in my file (created by timeseries conversion from POP history files). The only comparable field I have is UAREA, but I would presumably want TAREA since TEMP is on the TGRID, right?
What is the best way to go about this? Is there another file I can grab areacello from? Or another method I should use?
Thanks!
I would look at getting your grid information from pop-tools! Here is an example of how to use that functionality https://pop-tools.readthedocs.io/en/latest/examples/get-model-grid.html
Oh yup, that'll do the trick. Thanks!
Last updated: May 16 2025 at 17:14 UTC