There seems to be a problem with the climate.target_region function which incorrectly extracts one column to the right of the intended one.
https://github.com/mathurinm/celer/blob/main/celer/datasets/climate.py#L60-L72
The pos_Lx value range is supposed to be 0~143, but it is 0~144.
For example, if Lx is 359, pos_Lx will be 144.
Shouldn't we use np.floor insted of np.ceil?
There seems to be a problem with the
climate.target_regionfunction which incorrectly extracts one column to the right of the intended one.https://github.com/mathurinm/celer/blob/main/celer/datasets/climate.py#L60-L72
The
pos_Lxvalue range is supposed to be0~143, but it is0~144.For example, if
Lxis 359,pos_Lxwill be 144.Shouldn't we use
np.floorinsted ofnp.ceil?