developmentseed / developmentseed/titiler-multidim

Tile API should not return tiles if time_slice is outside dataset bounds

Open
#62 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
88
Forks
13
Avg merge
2d 53m
Merged PRs (30d)
10

Description

## What's happening
Right now if a URL like the following https://prod-titiler-xarray.delta-backend.com/tiles/WebMercatorQuad/1/1/1@1x?url=s3://veda-data-store-staging/Fcmip6-GISS-E2-1-G-tas-kerchunk/Fcombined_CMIP6_daily_GISS-E2-1-G_tas_kerchunk.json&time_slice=2023-09-06T07:00:00.000Z&reference=true&resampling_method=bilinear&variable=tas&colormap_name=coolwarm&rescale=232,312 returns tiles even though the dataset ends in 2014.

## Expected behavior
If the time_slice parameter value does not fit in the dataset's temporal extent, the API should return 204 (this is what titiler-cmr does)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.