Skip to content

Commit

Permalink
Replace NC_MAX_DIMS with NC_MAX_VAR_DIMS
Browse files Browse the repository at this point in the history
Same issue as in #197.
  • Loading branch information
gsjaardema committed Jan 25, 2016
1 parent fbc210f commit e169618
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nc_test4/bm_radar.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ int copy_file(char *file_name_in, char *file_name_out, int cmode_out,
char name[NC_MAX_NAME + 1];
char att_name[NC_MAX_NAME + 1];
nc_type xtype;
int ndims, dimids[NC_MAX_DIMS], natts;
int ndims, dimids[NC_MAX_VAR_DIMS], natts;
int varid_out;
int a;
int retval = NC_NOERR;
Expand Down Expand Up @@ -103,7 +103,7 @@ int copy_file(char *file_name_in, char *file_name_out, int cmode_out,
{
char name[NC_MAX_NAME + 1];
nc_type xtype;
int ndims, dimids[NC_MAX_DIMS], natts, real_ndims;
int ndims, dimids[NC_MAX_VAR_DIMS], natts, real_ndims;
int d;
void *data = NULL;
size_t *count = NULL, *start = NULL;
Expand Down

0 comments on commit e169618

Please sign in to comment.