You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
Expected behavior
*I expect the pearson correlation to return a resource/data that stores correlation coefficient for each gridpoint over over all timesteps *
Actual behavior
*The pearson correlation returns a resource/data with 0 correlation coffiecient and p_value of 1for all gridpoints *
I think what the operation is doing is correlating all gridpoints of two fields for each timestep
instead of ALL timesteps
Steps to reproduce the problem
Step 1
cloud = cate.ops.open_dataset(ds_id="esacci.CLOUD.mon.L3C.CLD_PRODUCTS.multi-sensor.Envisat.MERIS-AATSR.2-0.r1", time_range="2005-01-01,2010-12-31", region="-15,-2,40,30", force_local=True)
Step 2
aerosol = cate.ops.open_dataset(ds_id="esacci.AEROSOL.mon.L3C.AER_PRODUCTS.AATSR.Envisat.SU.4-21.r1", time_range="2005-01-01,2010-12-31", region="-15,-2,40,30", force_local=True)
Step 3
cfc = cate.ops.select_var(ds=cloud, var="cfc")
Step 4
fm_aod550 = cate.ops.select_var(ds=aerosol, var="FM_AOD550_mean")
Step 5
aod550 = cate.ops.select_var(ds=aerosol, var="AOD550_mean")
Step 6
coregist_aod550 = cate.ops.coregister(ds_master=cfc, ds_slave=aod550)
Step 7
res_1 = cate.ops.pearson_correlation(ds_x=cfc, ds_y=coregist_aod550, var_x="cfc", var_y="AOD550_mean")
Specifications
Cate 2.0.0 dev 16.
The text was updated successfully, but these errors were encountered: