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

ENH: Add units_metadata attribute to the output of temperature based indices #297

Open
bzah opened this issue Jan 10, 2024 · 0 comments
Open

Comments

@bzah
Copy link
Member

bzah commented Jan 10, 2024

  • icclim version: 6
  • Python version: n/a

Description

CF has added a units_metadata attribute that is used to differentiate a difference of temperatures and a on scale temperature.
See: units_metadata cf-convention/vocabularies#172

The temperature: difference concerns mainly DTR, vDTR, ETR but also some generic indices.
The other indices should still set this attribute but should set temperature: on-scale if they are computed on temperatures.

As for the input of icclim, either we assume it's always temperature: on-sclae daily data (or whatever frequency) or we add a check for this units_metadata but it won't be filled for existing datasets.

@bzah bzah changed the title ENH: Add units_metadata attributes to tempartured based indices output ENH: Add units_metadata attributes to the output of temperature based indices Jan 10, 2024
@bzah bzah changed the title ENH: Add units_metadata attributes to the output of temperature based indices ENH: Add units_metadata attribute to the output of temperature based indices Jan 10, 2024
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

1 participant