Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pydata/xarray
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: st-bender/xarray
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 4 commits
  • 2 files changed
  • 2 contributors

Commits on Apr 10, 2024

  1. Keep attributes for "bounds" variables

    Issue #2921 is about mismatching time units between a time variable and
    its "bounds" companion.
    However, #2965 does more than fixing #2921, it removes all double
    attributes from "bounds" variables which has the undesired side effect
    that there is currently no way to save them to netcdf with xarray.
    Since the mentioned link is a recommendation and not a hard requirement
    for CF compliance, these attributes should be left to the caller to
    prepare the dataset variables appropriately if required.
    Reduces the amount of surprise that attributes are not written to disk
    and fixes #8368.
    st-bender committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    e8aa5c5 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2024

  1. tests: Remove attributes checks for time bounds

    After encoding these and removing the removal of attributes from time
    bounds variables, these should be in the attributes. Removes the checks
    that they aren't.
    st-bender committed May 21, 2024
    Configuration menu
    Copy the full SHA
    8c1b539 View commit details
    Browse the repository at this point in the history
  2. tests: Check different time_bounds calendar

    Makes the `time_bounds` calendar really different from `time` and checks
    that they are correctly encoded to be non-CF compliant.
    st-bender committed May 21, 2024
    Configuration menu
    Copy the full SHA
    ba83823 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a011c47 View commit details
    Browse the repository at this point in the history
Loading