E3SM-Project / e3sm_diags

E3SM Diagnostics package
https://e3sm-project.github.io/e3sm_diags
BSD 3-Clause "New" or "Revised" License
42 stars 32 forks source link

make --closedcontourcmd resolution specific #824

Closed chengzhuzhang closed 1 month ago

chengzhuzhang commented 4 months ago

Description

TC detection threshold should be model data resolution depended, currently the pre-processing script is using a threshold for ne120, resulted small number of detected TC events in ne30 simulations. Now update to add resolution specific thresholds. Note: this fix should bring into cdat migration branch, and zppy implementation.

The original closed contour criteria (--closedcontourcmd "PSL,300.0,4.0,0;_AVG(T200,T500),-0.6,4,0.30"): requiring an increase in PSL of at least 300 Pa (3 hPa) within 4 Degree of the candidate node, and a decrease in 200 and 500 hPa average air temperature of 0.6 K within 4 Degree of the node within 0.3 degree of the candidate with maximum air temperature.

Checklist

If applicable:

chengzhuzhang commented 4 months ago

With --closedcontourcmd "PSL,300.0,4.0,0;_AVG(T200,T500),-0.6,4,0.30" change into --closedcontourcmd "PSL,300.0,4.0,0;_AVG(T200,T500),-0.6,4,1.0", both threshold somehow created same results. image

Changing --closedcontourcmd "PSL,300.0,4.0,0;_AVG(T200,T500),-0.6,4,1.0" to --closedcontourcmd "PSL,300.0,4.0,0;_AVG(T200,T500),-0.6,4,1.2", slightly modified the distribution. image

chengzhuzhang commented 3 months ago

Below is a comparison between v3.LR and the base line simulation (v2ish) image With threshold 1.0 only 5 events are detected in 15 years of data LR v3.historical (2000-2014). Results are similar with threshold 0.3.

With the investigation so far, it is determined that:

chengzhuzhang commented 1 month ago

@forsyth2 Just a heads-up that I updated the pre-processing script for TC detection, so that the detection is model resolution specific. Also the bug that the mesh generation file can't be written to cfs directories should also be fixed. We should plan to update zppy accordingly with these changes.

forsyth2 commented 1 month ago

@chengzhuzhang How would you like me to review this PR?

chengzhuzhang commented 1 month ago

Visual inspection would be nice. Mostly, it is a heads-up that we should propagate this change to zppy, and hopefully can resolve some recent issues with the tc_analysis in zppy.

chengzhuzhang commented 1 month ago

Looks good from visual inspection thanks. I'll make/test the corresponding changes in zppy too (which might even help with E3SM-Project/zppy#180 & E3SM-Project/zppy#622)

Thanks! @forsyth2