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

Surface temperature returned from Data Cube needs to be converted to celsius #43

Closed
wadhwamatic opened this issue May 13, 2020 · 5 comments

Comments

@wadhwamatic
Copy link
Member

The Data Cube returns Land Surface Temperature (LST) in a scaled-Kelvin format. We need to display data in Celsius. Two steps are needed:

  1. Scale to degrees Kelvin by multiplying by 0.02
  2. Convert to Celsius by subtracting 273

Reference:
https://icess.eri.ucsb.edu/modis/LstUsrGuide/usrguide_mod11.html#sds

@bencpeters
Copy link
Collaborator

This is really easy to add with the new code in #55. We just need to add another type of layer for WCS data processed on the front end (vs. WMS tiles)

@Ry-DS
Copy link
Collaborator

Ry-DS commented Jun 17, 2020

From my understanding, we are looking to display the correct surface temperature in Celsius once you click on a boundary, right?

If this is correct, should #64 be completed first to ensure the infrastructure is in place to display boundary data onClick in a WMSLayer?

@bencpeters
Copy link
Collaborator

If this is correct, should #64 be completed first to ensure the infrastructure is in place to display boundary data onClick in a WMSLayer?

I think this is more or less the same issue as #64 - the data that @dubwalla is talking about here is the data that we want to display for the tooltip.

@wadhwamatic
Copy link
Member Author

Yes, this builds off of the issue of #64, but there's the additional component of unit conversion. Fetch, convert, display

@wadhwamatic
Copy link
Member Author

Addressed via #220

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

3 participants