E3SM-Project / e3sm_diags

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

CDAT Migration: Test `lat_lon` set with run script and debug any issues #794

Closed tomvothecoder closed 5 months ago

tomvothecoder commented 5 months ago

Issues fixed

Differences we can accept

There seems to be a minor difference in nan locations for the regridded land-sea mask produced using xCDAT + xESMF vs. CDAT + ESMF (method="bilinear"). xCDAT has a little bit more nan values than CDAT. This causes x and y nan location mismatch when comparing array values. I don't know the exact reason why there are differences, but they seem insignificant enough to accept.

The absolute sum, mean, and nan count values are similar across variables. The diff plots also show no visible differences. All of the scripts for debugging these variables can be found here.

xCDAT CDAT Diff
output output_2 diff
xCDAT CDAT Diff
debug_era5_trefht_actual debug_era5_trefht_expected debug_era5_trefht_diff
xCDAT CDAT Diff
debug_merra2_trefht_actual debug_merra2_trefht_expected debug_merra2_trefht_diff

Issues on main

Checklist

If applicable:

tomvothecoder commented 5 months ago

Hi @chengzhuzhang, I'm just tagging you so you're aware of the issues that were fixed in this PR, differences that we can accept, and issues found on the main branch. I will merge this PR to continue moving forward.

With the list of issues fixed, the cdat-migration-fy24 branch will be even more robust.

chengzhuzhang commented 5 months ago

Hi @chengzhuzhang, I'm just tagging you so you're aware of the issues that were fixed in this PR, differences that we can accept, and issues found on the main branch. I will merge this PR to continue moving forward.

With the list of issues fixed, the cdat-migration-fy24 branch will be even more robust.

Got it. Thank you for working on this!