the daily history files from CESM2-LE have two days of data for Jan 1 2015, one each from the HIST and SSP simulations.
I thought I should be able to use drop_isel
but this doesn't seem to be working. Suggestions welcome here.
ds.drop_isel(time=(165*365))
InvalidIndexError: Reindexing only valid with uniquely valued Index objects
This seems to work!
ds = ds.sel(time=~ds.get_index("time").duplicated(keep='last') )
Last updated: May 16 2025 at 17:14 UTC