Is your feature request related to a problem? Please describe.
Users should be allowed to define custom dataset attributes. The values of attributes should be allowed to contain (Python) expressions evaluated in the context of the current target dataset. This way it is possible to dynamically update variables such as time_coverage_start and time_coverage_end. In the expression, the current dataset should be accessible by a variable named ds.
Ideally the solution would also work for variable attributes with current data array accessible by name v or var.
Is your feature request related to a problem? Please describe.
Users should be allowed to define custom dataset attributes. The values of attributes should be allowed to contain (Python) expressions evaluated in the context of the current target dataset. This way it is possible to dynamically update variables such as
time_coverage_start
andtime_coverage_end
. In the expression, the current dataset should be accessible by a variable namedds
.Ideally the solution would also work for variable attributes with current data array accessible by name
v
orvar
.Describe the solution you'd like
Configuration example: