Closed RondeauG closed 2 years ago
Agreed that the default shouw be allow_conversion=False
.
Is prsn
an official term ? Feels more like something that should be changed in xclim maybe ?
Yes, prsn
stands for snowfall_flux
. The issue was that CF names were missing from the conversion YAML. See #88
Pour préciser, ça s'appelle "snowfall_approximation" dans xclim parce que c'est pas mal une approximation!
Mais si on utilise l'indicateur de base, la variable va s'appeler prsn
. Il faut répéter "var_name" explicitement dans un module virtuel, voilà la plupart du bogue.
Generic Issue
Description
If I have a catalog with
tas
andpr
, I would expectprsn
to be found withsearch_data_catalogs(allow_conversion=True, ...)
, but it's not. Instead, I need to search forsnowfall_approximation
. Once computed, the variable also appears assnowfall_approximation
instead ofprsn
in the dataset`Also, do we really want
allow_conversion=True
to be the default? I feel like this is something that should be a conscious choice.