You are working on the Ouranosinc/xclim repository. The source code is checked out at /testbed at commit…
You are working on the Ouranosinc/xclim repository. The source code is checked out at /testbed at commit…: a task in SWE-Lego-RL-2699 (Harbor dataset). ds = xr.tutorial.open dataset('air temperature') tasmax = ds.air.resample(time='D').max(dim='time',keep attrs=True) d1 = atmos.tx days…
The task
ds = xr.tutorial.open_dataset('air_temperature') tasmax = ds.air.resample(time='D').max(dim='time',keep_attrs=True) d1 = atmos.tx_days_above(tasmax, thresh='10 degC', freq='MS') d2 = atmos.tx_days_above(tasmax, thresh='10 deg C', freq='MS') plt.figure() d1.mean(dim=['lat','lon']).plot(label='Correct') plt.legend()…
Part of Lego-X/Lego-RL-2699.