Tarkan Bilge
unread,Oct 13, 2021, 7:19:52 AM10/13/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SciTools (iris, cartopy, cf_units, etc.) - https://github.com/scitools
Hi everyone!
I was wondering, is it possible in iris to create a NetCDF dimension that is attached to a coordinate variable with a different name (but also so that the dimension does not generate a coordinate variable in the name of the dimension). For example, in order to meet NetCDF C3S requirements, files that are part of a set of realizations need a dimension called 'str31' with size 31, and a coordinate called 'realization' with datatype 'str' that is associated with the dimension (
https://confluence.ecmwf.int/display/COPSRV/Guide+to+NetCDF+encoding+for+C3S+providers).
I have seen a similar request here:
https://github.com/SciTools/iris/issues/2626My understanding from the above comment is that it is not possible in iris to have a dimension that is not a coordinate variable? If so, then perhaps there is a workaround for this in iris? I think this can be done in the xarray or netCDF4 libraries but I am trying to avoid switching too much between libraries.
Thanks,
Tarkan