nansencenter/django-geo-spaas

Dataset that ends with exaclty the begin time of search time should not be displayed in viewer

Closed this issue · 3 comments

Following my discussion with @aperrin66 in one of the PRs of metanorm. The last time of time must also be excluded in

ds = ds.exclude(time_coverage_end__lt=t_0)

The condition is lt, not lte, so t_0 is already excluded.
What exactly do you want to do here?

lte should be there instead of lt

Oh right, it's an exclusion condition, my bad.