Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch (some) coding/encoding in conventions.py to use xarray.coding. #1803

Merged
merged 6 commits into from
Jan 11, 2018

Commits on Dec 30, 2017

  1. Switch (some) coding/encoding in conventions.py to use xarray.coding.

    The goal here is to eventually convert everything in xarray.conventions to
    using the new coding module, which is more modular and supports dask arrays.
    For now, I have switched over datetime, timedelta, unsigned integer, scaling
    and mask coding to use new coders. Integrating these into xarray.conventions
    lets us harness our existing test suite and delete a lot of redundant code.
    
    Most of the code/tests is simply reorganized. There should be no changes to
    public API (to keep this manageable for review). All of the original tests that
    are still relevant should still be present, though I have reorganized many of
    them into new locations to match the revised code.
    shoyer committed Dec 30, 2017
    Configuration menu
    Copy the full SHA
    15644ea View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2017

  1. Fix zarr and cmds export

    shoyer committed Dec 31, 2017
    Configuration menu
    Copy the full SHA
    61de0ce View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2018

  1. Configuration menu
    Copy the full SHA
    f23dfe4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4b2ca19 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2018

  1. Move constant to top of module

    shoyer committed Jan 11, 2018
    Configuration menu
    Copy the full SHA
    1b24ef7 View commit details
    Browse the repository at this point in the history
  2. use _NS_PER_TIME_DELTA

    shoyer committed Jan 11, 2018
    Configuration menu
    Copy the full SHA
    67f86fc View commit details
    Browse the repository at this point in the history