Thank you for reporting this, Michael.
Another OCW user contacted me via private email regarding the same issue.
Sometimes, the time information from a netCDF file is not saved as a datetime 
object.
I will open an issue and fix this ASAP.

Best regards,
Kyo

-----Original Message-----
From: Michael Anderson [mailto:michael.arthur.ander...@gmail.com] 
Sent: Thursday, November 30, 2017 6:57 PM
To: dev@climate.apache.org
Subject: Re: Looking For nClimDiv_tave_1895-2005.nc used in 
examples/temperature_trends_over_CONUS.py

TYVM.  Interesting error once the files are in place and attempting to 
temporally subset the model:

TypeError: cannot compare netcdftime._netcdftime.DatetimeNoLeap(1850, 1, 16, 
12, 0, 0, 0, 5, 16) and datetime.datetime(1979, 12, 1, 0, 0) (different
calendars)

Intuitive what it is saying, but I'll need to experiment a bit to fix it.

On Thu, Nov 30, 2017 at 7:20 PM, Lee, Kyo (398L) <huikyo....@jpl.nasa.gov>
wrote:

> Dear Michael,
>
>
>
> Please use this link to download nClimDiv data
>
> : 
> https://rcmes.jpl.nasa.gov/RCMES_Turtorial_data/NCA-CMIP_examples.tar.
> gz
>
> You can find a user-friendly description on the example here:
> https://rcmes.jpl.nasa.gov/content/nca-cmip-analysis-using-rcmes
>
>
>
> Thanks,
>
> Kyo
>
>
>
> On 11/30/17, 2:00 AM, "Michael Anderson" <michael.arthur.anderson@ 
> gmail.com> wrote:
>
>
>
>     Could someone point out where the file nClimDiv_tave_1895-2005.nc 
> used in
>
>     the example temperature_trends_over_CONUS.py can be found?
>
>
>
>     The example assumes the file is local.
>
>
>
>     I'm checked at the nClimDiv FTP:
>
>     https://data.nodc.noaa.gov/cgi-bin/iso?id=gov.noaa.ncdc:C00702 and
>
>     http://zipper.jpl.nasa.gov/dist/, but it's not in either of those 
> locations.
>
>
>
>     I'll update the example a few comments to make it clear where to 
> get it for
>
>     the next person if someone can please point it out for me.
>
>
>
>     Thank you,
>
>
>
>     Michael A. Anderson
>
>
>

Reply via email to