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

Adding a utility for flattening Aux Coords #3030

Closed
wants to merge 32 commits into from

Commits on Jan 20, 2019

  1. Adding a utility for flattening Aux Coords (e.g. for later use in ext…

    …ract calls)
    
    Adding some tests and fixing some edge cases
    
    Removing unused import
    
    Add comment and rename var for clarity
    
    Add comment and rename var for clarity
    
    Minor fix
    
    Retain lazy data
    
    Support aux coords on leading dimensions, and split across non-neighbouring dimensions. The routine chooses the first dimension of the AuxCoord as the new flat one.
    
    Fix whitespace
    
    Fix issue with multiple dim coords being flattened
    
    PEP8 conformance
    
    Long lines
    
    Factor out a function for flattening arbitrary dimensions
    
    Fix case for coordinates with bounds
    
    Flatten all dims by default
    
    Remove unused imports
    
    Remove unused imports
    duncanwp committed Jan 20, 2019
    Configuration menu
    Copy the full SHA
    4222298 View commit details
    Browse the repository at this point in the history
  2. Adding a NotImplemented error for coordinates with more than 2 dimens…

    …ions. Other minor whitespace and text changes
    duncanwp committed Jan 20, 2019
    Configuration menu
    Copy the full SHA
    4b19906 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    18a563d View commit details
    Browse the repository at this point in the history
  4. Split out flatten_cube tests

    duncanwp committed Jan 20, 2019
    Configuration menu
    Copy the full SHA
    38af4b5 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2019

  1. Mergeback 2.2.x (SciTools#3256)

    * BLD: Pinning cftime to 1.0.1 (SciTools#3247)
    
    * Fix for numpy 1v16. (SciTools#3257)
    pp-mo authored and bjlittle committed Feb 1, 2019
    Configuration menu
    Copy the full SHA
    6a4f9dc View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2019

  1. Configuration menu
    Copy the full SHA
    0f519e1 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2019

  1. Configuration menu
    Copy the full SHA
    a76afdc View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2019

  1. Configuration menu
    Copy the full SHA
    a7aa2c7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    129ae41 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2019

  1. Get licence header test working again. (SciTools#3272)

    * Fix testing cwd for licence header test to work properly.
    
    * Remove redundant test runner --coding-tests key.
    
    * Update all the missed header years.
    pp-mo authored and lbdreyer committed Feb 25, 2019
    Configuration menu
    Copy the full SHA
    45a18ab View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2019

  1. Configuration menu
    Copy the full SHA
    337f6f0 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2019

  1. Configuration menu
    Copy the full SHA
    7bc4d5a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4f26e80 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bbcfae7 View commit details
    Browse the repository at this point in the history
  4. Fix problem with factories in iris.util.new_axis(). (SciTools#3263)

    * Fix problem with factories from iris.util.new_axis().
    
    * Added whatsnew.
    
    * Licence header fix.
    
    * Reference PR in comment.
    
    * Revised whatsnew.
    pp-mo authored and lbdreyer committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    400abd2 View commit details
    Browse the repository at this point in the history
  5. Added a timeout to stop requests.get hanging on platforms with no int…

    …ernet (SciTools#3284)
    
    * Added a 1 second timout to stop requests.get hanging on the HPC
    
    * Amended comment to be more generic
    
    * Changed 1 second timeout to 10 seconds.
    wilbertcs authored and lbdreyer committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    3237313 View commit details
    Browse the repository at this point in the history
  6. Fix for small plot changes with freetype 2.10. (SciTools#3297)

    * Fix for small plot changes with freetype 2.10.
    
    * Remove spurious end-of-line spaces in imagerepo.json.
    pp-mo authored and lbdreyer committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    d40a3a8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cc5017c View commit details
    Browse the repository at this point in the history
  8. Imagehash listfile for fixbranch (SciTools#3311)

    * Test-imagehash uris checked against listing file instead of github api listing.
    
    * Licence header fix.
    
    * Remove redundant import + skip; fix bytes decode; improve error message; clarify comments.
    
    * Improved error message.
    pp-mo authored and lbdreyer committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    c732c02 View commit details
    Browse the repository at this point in the history
  9. Coord nan equal (SciTools#3283)

    * Allow coords with NaNs in to compare equal.
    
    * Tests for AuxCoord.__eq__ and util.array_equal(withnans=True).
    
    * Move whatsnew contributions into existing whatsnew document.
    
    * Better logic in util.array_equal.
    pp-mo authored and lbdreyer committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    535d763 View commit details
    Browse the repository at this point in the history
  10. Dask landsea masks bugfix (SciTools#3255)

    * Fix landsea-mask data access for UM files.
    
    * Review changes.
    
    * Fixed some stale comments  + unused variables.
    pp-mo authored and lbdreyer committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    859e0c5 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6e26263 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7968001 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f8e95a8 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    3872614 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2019

  1. Merge pull request SciTools#3316 from lbdreyer/221_mergeback_rebase

    v2.2.x branch mergeback
    bjlittle authored Jun 4, 2019
    Configuration menu
    Copy the full SHA
    b209642 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2019

  1. Adding a utility for flattening Aux Coords (e.g. for later use in ext…

    …ract calls)
    
    Adding some tests and fixing some edge cases
    
    Removing unused import
    
    Add comment and rename var for clarity
    
    Add comment and rename var for clarity
    
    Minor fix
    
    Retain lazy data
    
    Support aux coords on leading dimensions, and split across non-neighbouring dimensions. The routine chooses the first dimension of the AuxCoord as the new flat one.
    
    Fix whitespace
    
    Fix issue with multiple dim coords being flattened
    
    PEP8 conformance
    
    Long lines
    
    Factor out a function for flattening arbitrary dimensions
    
    Fix case for coordinates with bounds
    
    Flatten all dims by default
    
    Remove unused imports
    
    Remove unused imports
    duncanwp committed Jun 7, 2019
    Configuration menu
    Copy the full SHA
    64cb28c View commit details
    Browse the repository at this point in the history
  2. Adding a NotImplemented error for coordinates with more than 2 dimens…

    …ions. Other minor whitespace and text changes
    duncanwp committed Jun 7, 2019
    Configuration menu
    Copy the full SHA
    b356cb0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    308123c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    24831fb View commit details
    Browse the repository at this point in the history
  5. Merge remote-tracking branch 'origin/flatten_aux_coord' into flatten_…

    …aux_coord
    
    # Conflicts:
    #	lib/iris/util.py
    duncanwp committed Jun 7, 2019
    Configuration menu
    Copy the full SHA
    1b187a3 View commit details
    Browse the repository at this point in the history
  6. Updating copyright year

    duncanwp committed Jun 7, 2019
    Configuration menu
    Copy the full SHA
    94da0f9 View commit details
    Browse the repository at this point in the history