Skip to content

Caps variables

Etor Lucio Eceiza requested to merge caps_variables into add-subregion

patched here so it still can handle variable names extracted from the metadata that contain caps:

    @cached_property
    def variables(self) -> list[str]:
        """The variables as they are stored in the dataset."""
        return [
            var
            for var in self._dataset.data_vars
            if (var in self._variables) or (var.lower() in self._variables) <---
        ]
Edited by Etor Lucio Eceiza

Merge request reports