Skip to content

method to safely rename variable, unc_variables and err_corr variables all at once #25

@pdevis

Description

@pdevis

In my use case in hypernets, I don't need to just rename an uncertainty variable, but also the variable itself, as well as error correlation matrices.
Typically, the name of the variable (e.g.) temperature is also present in the uncertainty variable (e.g. u_ran_temperature) and name of err_corr_matrix (err_corr_temperature). I would like a method (see my previous suggestion for example code) in which we can replace all instances of a certain string (in this case "temperature") by a different string (e.g. "temperature_SWIR") in either variable name, unc_variable name or erro corr matrix variable name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions