You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@climate.apache.org by MichaelArthurAnderson <gi...@git.apache.org> on 2018/03/04 13:52:38 UTC

[GitHub] climate pull request #502: CLIMATE-938 Unify format of the time information ...

GitHub user MichaelArthurAnderson opened a pull request:

    https://github.com/apache/climate/pull/502

     CLIMATE-938 Unify format of the time information from a netCDF file.

    CLIMATE-938 Unify format of the time information from a netCDF file.
    
    - Fix time slice method from throwing error when date objects are of different types.
    - Minor pylint.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MichaelArthurAnderson/climate CLIMATE-938

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/climate/pull/502.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #502
    
----
commit 4807c4b82623e054787e233bab244dd88be98b44
Author: michaelarthuranderson <mi...@...>
Date:   2018-03-04T13:36:35Z

    CLIMATE-938 Unify format of the time information from a netCDF file.

commit 38fedad3c79bed9cf9feea7bdaee158008c07701
Author: michaelarthuranderson <mi...@...>
Date:   2018-03-04T13:47:20Z

    CLIMATE-938 Unify format of the time information from a netCDF file.

----


---

[GitHub] climate pull request #502: CLIMATE-938 Unify format of the time information ...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/climate/pull/502


---

[GitHub] climate issue #502: CLIMATE-938 Unify format of the time information from a ...

Posted by huikyole <gi...@git.apache.org>.
Github user huikyole commented on the issue:

    https://github.com/apache/climate/pull/502
  
    @MichaelArthurAnderson 
    This PR makes many of my existing codes not work. The error message is shown as below. 
    ----------------------------
    
     File "netcdftime/_netcdftime.pyx", line 1304, in netcdftime._netcdftime.datetime.__richcmp__
    TypeError: cannot compare netcdftime._netcdftime.DatetimeJulian(1980, 1, 17, 0, 0, 0, 0, -1, 1) and datetime.datetime(2000, 3, 15, 0, 0) (different calendars)


---