COSIMA / cosima-cookbook

Framework for indexing and querying ocean-sea ice model output.
https://cosima-recipes.readthedocs.io/en/latest/
Apache License 2.0
58 stars 25 forks source link

ExperimentExplorer uses pandas datetime which supports a narrow range of dates #201

Closed aidanheerdegen closed 4 years ago

aidanheerdegen commented 4 years ago

The daterange widget in ExperimentExplorer uses pandas.date_range which limits the available dates.

https://github.com/COSIMA/cosima-cookbook/blob/master/cosima_cookbook/explore.py#L448

A possible fix is to use the xarray.cftime_range function.