Skip to content

Reduced volume LUTs and updated P3 LUTs#145

Merged
isilber merged 1 commit intoARM-DOE:masterfrom
isilber:emc2_dev
May 21, 2025
Merged

Reduced volume LUTs and updated P3 LUTs#145
isilber merged 1 commit intoARM-DOE:masterfrom
isilber:emc2_dev

Conversation

@isilber
Copy link
Copy Markdown
Collaborator

@isilber isilber commented May 20, 2025

This PR:

  1. Updates all Mie LUTs (including the m-D A-D, or mDAD LUTs used by the E3SMv1 and inherited classes) - file volume reduced by a factor of ~200. This reduction directly speeds up processing by more than 10%. It indirectly expedites the processing of larger model output files and/or more subcolumns by reducing RAM usage, thereby enabling parallel processing of larger chunks of data.

  2. Updates all P3 LUTs - upon testing error magnitudes stemming from this volume reduction, it became clear that the hydrometeor diameter array used in the P3 LUTs is prone to errors on the order of a few tens of percent (not shown), especially at large and very small effective sizes and high mu (narrower distributions). Expansion of the P3 single particle diameter dimension by ~40% to 466 entries (with LUT file total volume increase of 15-20%) reduces these errors to fractions of a percent.

The errors associated with the Mie file volume reduction were rigorously examined by evaluating them as a function of in-cloud water content and number concentration. The variable suffering from the most significant errors is the backscatter cross section, with errors generally greater at higher mu (shape parameter) values (most of which are beyond microphysics scheme limits) — see example figure below. Using 144 water content-number concentration combinations for each mu value (out of 16 mu values), and combining all instruments, the analysis results in an average backscatter cross-section error of ~0.2%. The example figure below demonstrates CEIL backscatter cross-section errors, which tend to be larger at the different panels' bottom right corners. However, these enhanced error regions correspond to effective radii < 2 um (see bottom figure), which are largely irrelevant for cloud research. Thus, we conclude that the reduced volume LUTs are robust and that errors are negligible for all practical EMC² purposes.

lut_ice_CEIL_Cback_bulk_diff
lut_r_eff

This commit:
1. Updates all Mie LUTs - file volume reduced by a factor of ~200. This reduction directly speeds up processing by more than 10% and indirectly expedites processing of larger model output files and/or more subcolumns by reducing RAM usage, thereby enabling parallel processing of larger chuncks of data.
2. Updates all P3 LUTs - upon testing error magnitudes stemming from this volume reduction, it became clear that the hydrometeor diameter array used in the P3 LUTs is prone to errors on the order of a few tens of percent, especially at large and very small effective sizes and high mu (narrower distributions). Expansion of the P3 single particle diameter dimension by ~40% to 466 entries (with LUT file total volume increase of 15-20%) reduces these errors to fraction of a percent.
@isilber isilber requested a review from rcjackson May 20, 2025 19:01
@isilber
Copy link
Copy Markdown
Collaborator Author

isilber commented May 21, 2025

@rcjackson, I think this PR is solid, but another pair of eyes on the description and what I've done here before merging would be great.
Thanks!

@rcjackson
Copy link
Copy Markdown
Collaborator

Looks good to me @isilber !

@isilber isilber merged commit 9d1a479 into ARM-DOE:master May 21, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants