climate-resource / input4mips_validation

Validation of input4MIPs data
https://input4mips-validation.readthedocs.io/en/latest/
Other
0 stars 1 forks source link

`variable_id` validation #73

Open znichollscr opened 3 weeks ago

znichollscr commented 3 weeks ago

The motivation

As a validator, any variables with either an underscore or a hyphen in their name should fail. These can cause many kinds of downstream software to trip up, so users should just use camel case instead if they need.

The proposed solution

Add validation of variable names (hence variable_id).

Alternatives

Additional context

Original discussion here: https://github.com/PCMDI/input4MIPs_CVs/pull/131#issuecomment-2411333597