diff --git a/source/pyconform/miptableparser.py b/source/pyconform/miptableparser.py index b59cbced..11359ef3 100644 --- a/source/pyconform/miptableparser.py +++ b/source/pyconform/miptableparser.py @@ -521,6 +521,8 @@ def parse_table(self,exp,mips,tables,v_list,table_var_fields,table_axes_fields,t var['coordinates'] = sp_var_d + '|' + var['coordinates'] else: var['coordinates'] = sp_var.dimensions + if 'grid_latitude' in var['coordinates']: + var['coordinates'] = var['coordinates'].replace('grid_latitude','gridlatitude') dims = var['coordinates'].split('|') for d in dims: if d not in axes_list and d != '' and d != 'None': @@ -548,6 +550,8 @@ def parse_table(self,exp,mips,tables,v_list,table_var_fields,table_axes_fields,t # Add variable to variable dictionary variables[c_var.label] = var for a in axes_list: + if 'grid_latitude' in a: + a = 'gridlatitude' if a in dq.inx.grids.label.keys(): id = dq.inx.grids.label[a] if len(id) > 0: diff --git a/source/pyconform/version.py b/source/pyconform/version.py index 1ac0de2c..ce5f98f0 100644 --- a/source/pyconform/version.py +++ b/source/pyconform/version.py @@ -1,2 +1,2 @@ # Single place for version information -__version__ = '0.2.4' +__version__ = '0.2.5'