Skip to content

Commit

Permalink
drop missing chlor_a date from recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
cisaacstern committed Aug 31, 2023
1 parent 352fdca commit 3debab6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions feedstock/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ 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") # missing for `sst`, but not `bbp_403` + `chlor_a`
yrs[2022] = yrs[2022].drop("2022-04-15") # missing for `chlor_a`, but not `sst` + `bbp_403`
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 3debab6

Please sign in to comment.