Skip to content

Commit

Permalink
Merge pull request #74 from NCAR/devel
Browse files Browse the repository at this point in the history
Create workaround for bug in data request version 01.00.25
  • Loading branch information
sherimickelson authored Jun 21, 2018
2 parents 738f0d0 + 488962b commit 5034a4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions source/pyconform/miptableparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion source/pyconform/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Single place for version information
__version__ = '0.2.4'
__version__ = '0.2.5'

0 comments on commit 5034a4d

Please sign in to comment.