E3SM Diagnostics package
BSD 3-Clause "New" or "Revised" License
38
stars
31
forks
source link
[Bug]: CDAT Migration - Fix large relative diff and `x and y nan location mismatch` for some variables in `zonal_mean_xy` set #790
Closed
tomvothecoder closed 5 months ago
What happened?
Related to https://github.com/E3SM-Project/e3sm_diags/pull/752#issuecomment-1945057995
Source regression testing notebook: https://github.com/E3SM-Project/e3sm_diags/blob/cdat-migration-fy24/auxiliary_tools/cdat_regression_testing/654-zonal_mean_xy/debug_654-zonal_mean_xy_cdat_regression_test_netcdf_debug.ipynb
What did you expect to happen? Are there are possible answers you came across?
For most the variables (CLDTOT_TAU_1.3_9.4_ISSCP, etc.), it is most likely related to cosp_bin_sum().
Notice in the log output how the outputs for
cdat_migration_fy24
are usingMinimal Complete Verifiable Example (MVCE)
No response
Relevant log output
Large relative difference
PminusE
x and y nan location mismatch
Possible cause:
xesmf
withunmapped_to_nan=False
, when it should beunmapped_to_nan=True
ALBEDO, ALBEDOC, CLDTOT_TAU1.3_9.4_ISCCP, CLDTOT_TAU1.3_9.4_ISCCP, CLDTOT_TAU1.3_ISCCP, CLDTOT_TAU9.4_ISCCP, CLDLOW_TAU1.3_9.4_MISR, CLDLOW_TAU1.3_MISR, CLDLOW_TAU9.4_MISR, CLDTOT_TAU1.3_9.4_MISR, CLDTOT_TAU1.3_MISR, CLDTOT_TAU9.4_MISR, CLDHGH_TAU1.3_9.4_MODIS, CLDHGH_TAU1.3_MODIS, CLDHGH_TAU9.4_MODIS, CLDTOT_TAU1.3_9.4_MODIS, CLDTOT_TAU1.3_MODIS, CLDTOT_TAU9.4_MODIS
Anything else we need to know?
No response
Environment
Latest
cdat_migration_fy24
branch