Some variables (e.g. time_bnds) do not have variable "attributes" in certain model files. As a result the extension code crashes. 8621b6d fixes that.
As per CF convention bounds variables are not required to have attributes and that they should instead be inferred from the corresponding coordinate variables. 6326908 addresses that.
An example of how the data cube extension looks like with these changes is here.
An outstanding issue is that time_bnds variable is still not being inferred as an auxiliary variable. This will require a hack since this variable cannot be determined to be auxiliary using the framework currently in place (because the variable in the netCDF file will not contain any of the "criteria" that could be put into place for the benefit of the is_coordinate).
time_bnds
) do not have variable "attributes" in certain model files. As a result the extension code crashes. 8621b6d fixes that.An example of how the data cube extension looks like with these changes is here.
An outstanding issue is that
time_bnds
variable is still not being inferred as an auxiliary variable. This will require a hack since this variable cannot be determined to be auxiliary using the framework currently in place (because the variable in the netCDF file will not contain any of the "criteria" that could be put into place for the benefit of theis_coordinate
).