Skip to content

Commit

Permalink
tweak dates
Browse files Browse the repository at this point in the history
  • Loading branch information
cisaacstern committed Aug 29, 2023
1 parent 36b6734 commit 8339841
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions feedstock/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def make_dates(freq="8D"):
}
# ...but we need to make some edits due to missing data
yrs[2002] = yrs[2002][slice(*yrs[2002].slice_locs("2002-07-04", "2002-12-27"))]
yrs[2022] = yrs[2022].drop("2022-04-07")
yrs[2023] = yrs[2023][slice(*yrs[2023].slice_locs("2023-01-01", "2023-07-27"))]
yrs[2022] = yrs[2022].drop("2022-04-07") # missing for `sst`, but not `bbp_403` + `chlor_a`
yrs[2023] = yrs[2023][slice(*yrs[2023].slice_locs("2023-01-01", "2023-07-20"))]
# now flatten everything to a single list
return list(itertools.chain.from_iterable(yrs.values()))

Expand Down

0 comments on commit 8339841

Please sign in to comment.