Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datasets on or near the international dateline (e.g., Fiji) are not handled properly #126

Closed
alexgleith opened this issue May 21, 2019 · 4 comments

Comments

@alexgleith
Copy link
Contributor

  • datacube-wms version: latest Docker build on 21 May 2019
  • Python version: Python3
  • Operating System: Linux

Description

No data for Fiji is rendered.

WMS GetFeatureInfo returns a list of dates where data is available, and this is different to the list of data the GetCapabilities returns.

What I Did

  • Indexed USGS Landsat 8 Surface Reflectance for Fiji
  • Set up OWS on top of it
  • Noted that I can't render data for Fiji from OWS in Terria
@SpacemanPaul
Copy link
Contributor

I believe the problem is that update_ranges.py uses UTC dates - but the bulk of datacube_ows uses local solar time.

@alexgleith
Copy link
Contributor Author

Seems to be fixed a bit, and data is rendered. There are some odd issues remaining. For example, when a scene straddles the dateline in Fiji, it wraps around the world the wrong way. See:
image

The data does render when you zoom in, though:

image

@SpacemanPaul
Copy link
Contributor

Note that "seems to be fixed a bit" refers to the antimeridian branch which has not yet been merged into master.

At this stage I am not sure how to handle this remaining issue.

@SpacemanPaul
Copy link
Contributor

Now merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants