We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is a pet peeve of mine, with a very simple (albeit API-breaking) fix.
We currently offer several conversion tools that use the following naming conventions:
x2x
amount2rate
flux2rate
lwethickness2amount
pint2cfattrs
pint2cfunits
rate2amount
rate2flux
str2pint
units2pint
x_to_x
days_since_to_doy
doy_to_says_since
prsn_to_prsnd
prsnd_to_prsn
snw_to_snd
snd_to_snw
x_2_x
sfcwind_2_uas_vas
uas_vas_2_sfcwind
We agree on the following conventions:
xclim.core
[a-z]+2[a-z]
xclim.indices
xclim.indicators
[a-z]+\_to\_[a-z]
We can deprecate the sfcwind_2_uas_vas and uas_vas_2_sfcwind conversions now and replace them in the next two or three releases.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Addressing a Problem?
This is a pet peeve of mine, with a very simple (albeit API-breaking) fix.
We currently offer several conversion tools that use the following naming conventions:
x2x
:amount2rate
flux2rate
lwethickness2amount
pint2cfattrs
pint2cfunits
rate2amount
rate2flux
str2pint
units2pint
x_to_x
:days_since_to_doy
doy_to_says_since
prsn_to_prsnd
prsnd_to_prsn
snw_to_snd
snd_to_snw
x_2_x
:sfcwind_2_uas_vas
uas_vas_2_sfcwind
Potential Solution
We agree on the following conventions:
xclim.core
conversions that are typically used internally use the[a-z]+2[a-z]
pattern.xclim.indices
|xclim.indicators
conversions use the[a-z]+\_to\_[a-z]
pattern.Additional context
We can deprecate the
sfcwind_2_uas_vas
anduas_vas_2_sfcwind
conversions now and replace them in the next two or three releases.Contribution
Code of Conduct
The text was updated successfully, but these errors were encountered: