Skip to content

Commit

Permalink
initialize wrapping attribute on axis
Browse files Browse the repository at this point in the history
otherwise led to error found in #6
fix #6
  • Loading branch information
doutriaux1 committed Jun 27, 2015
1 parent 7f9798f commit a100f8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ test_python: python
@env TEST_NAME=Test/test_python_jamie_11.py make test_a_python
@env TEST_NAME=Test/test_python_joerg_tim2_clim_02.py make test_a_python
@env TEST_NAME=Test/test_site_ts.py make test_a_python
@env TEST_NAME=Test/test_python_free_wrapping_issue.py make test_a_python

test_case:
@echo "${OK_COLOR}Testing: "${TEST_NAME}" with input file: ${INPUT_FILE}${NO_COLOR}"
Expand Down
1 change: 1 addition & 0 deletions Src/cmor.c
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,7 @@ int cmor_setup(char *path,int *netcdf, int *verbosity, int *mode, char *logfile,
cmor_axes[i].hybrid_in=0;
cmor_axes[i].hybrid_out=0;
cmor_axes[i].store_in_netcdf = 1;
cmor_axes[i].wrapping = NULL;
ierr = cmor_set_axis_attribute(i,"units",'c',"");
ierr = cmor_set_axis_attribute(i,"interval",'c',"");
}
Expand Down

0 comments on commit a100f8f

Please sign in to comment.