Hi Deepak, thanks for the awesome tutorial :) I have a question concerning the coarsen() and construct functio(). You mentioned that the coordinates of the new dimensions (year and month in your example) do not inherit coordinates. I totally get the the 'outer' dimension year cannot inherit coordinates. However the 'inner' dimension month could conserve the coordinates ion theory, right? Say all these entries had an additional datetime coordinate. The datetime coordinates are not inherited for the 'month' dimension. Is there any way to achieve this behaviour? I am using coarsen to do some filtering in the 'year' dimension in this example, but would then would be specifically interested in conserving the coordinate information. Cheers, Jan
The data used for this repository lives within the Xarray `tutorial` module that comes with the package installation, it is accessed via `da = xr.tutorial.load_dataset("air_temperature", engine="netcdf4").air`.
Hi Deepak,
thanks for the awesome tutorial :)
I have a question concerning the coarsen() and construct functio().
You mentioned that the coordinates of the new dimensions (year and month in your example) do not inherit coordinates.
I totally get the the 'outer' dimension year cannot inherit coordinates. However the 'inner' dimension month could conserve the coordinates ion theory, right? Say all these entries had an additional datetime coordinate. The datetime coordinates are not inherited for the 'month' dimension. Is there any way to achieve this behaviour?
I am using coarsen to do some filtering in the 'year' dimension in this example, but would then would be specifically interested in conserving the coordinate information.
Cheers, Jan
Hello! How can I calculate the depth of 20-degree celsius temperature with the xarray library?
how do we download the netcdf file?
The data used for this repository lives within the Xarray `tutorial` module that comes with the package installation, it is accessed via `da = xr.tutorial.load_dataset("air_temperature", engine="netcdf4").air`.