Skip to content

varia : calendars, time_bnds, ... #30

@sbiner

Description

@sbiner

Here's a few info/considerations linked to xclim

  • we should take car of passing xarray.DataArray to the different indices and not xarray.Dataset. It may work but there are problems downstream.

  • Nothing get's done with xarray.resample until we actually read the data. To keep in mind for the benchmark.

  • xarray.resample does not support 365_day and 360_day calendars. For a reason i ignore yet (raised an issue about it), using xr.open_dataset() on a 365_day netcdf works (but it should not).

  • if we aim at producing standard netCDF files, we will eventually have to take care of the time_bnds. That implies that we have to compute them and maybe/probably attach them as coordinates to the output xarray.DataArray

Feel free to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    informationFor development/intsructional purposes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions