Is there a way to rename global attribute names using xarray? The rename command only seems to rename variables and dimensions and not global attributes. I tried this:
with util.open_or_die('AA.nc', perm='r+') as hndl_nc:
hndl_nc.rename({'src_name': 'dst_name'}, inplace=True)
But I get this error:
AttributeError: NetCDF: Attribute not found