NOAA-GFDL / MDTF-diagnostics

Analysis framework and collection of process-oriented diagnostics for weather and climate simulations
https://mdtf-diagnostics.readthedocs.io/en/main/
Other
56 stars 95 forks source link

Finite-amplitude Rossby Wave Diagnostics #566

Open csyhuang opened 2 months ago

csyhuang commented 2 months ago

Description

This is preliminary PR for an additional POD, "Finite-amplitude Rossby Wave Diagnostics". The code could run through and produce the plots on HTML properly when lastly touched base with Jess #514 (latest commit from main in this PR: f69e745 ) , but it breaks after merging the recent commits. After discussing with my liason @yihungkuo , it seems easier on both sides for me to submit a preliminary PR to iterate (rather than fixing the issues on my own). I am therefore submitting this PR to kickstart the fix, with the understanding that the MDTF team is busy and will get back only when time allows.

Please let me know if I shall provide more information to fix this. On my side, the missing items include the (1) Detailed documentation and (2) predigest data, which do not affect the test of the code. I am still working with my collaborators to finalize them, hoping to get them ready by the end of this month.

Thanks in advance! 😄

How Has This Been Tested?

In my inputdata/ directory, I have the following files downloaded from GFDL portal:

I run MDTF with the following command and get all the plots successfully:

./mdtf -f src/default_finite_amplitude_wave_diag.jsonc -v

Checklist:

Generated plot generated from sample data GFDL-CM3_historical_r1i1p1.*.day.nc

The plots look like this (if changing the hyperlink "plot" to actual PNG images) - these are generated out of a small sample so the patterns are not representative:

Screenshot 2024-05-19 at 10 15 53 PM