xoa.meta.MetaSpecs.get_loc_mapping

xoa.meta.MetaSpecs.get_loc_mapping#

MetaSpecs.get_loc_mapping(obj, meta_names=None, loc=None, categories=['coords', 'data_vars'])[source]#

Associate a location to each identified variables, coordinates and dimensions of obj

Parameters:
Returns:

dict – Keys are item names and values are location. This dict is also stored in the meta_locs key of the encoding attribute of obj.