mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
Have duplicated issue reported in #221 at github.
This commit is contained in:
parent
654a6e39e3
commit
4ccad07a6b
@ -19,8 +19,8 @@
|
||||
#include <nc_logging.h>
|
||||
|
||||
#define FILE_NAME "tst_gh221.nc"
|
||||
//#define DIM_LEN NC_UNLIMITED
|
||||
#define DIM_LEN 5
|
||||
#define DIM_LEN NC_UNLIMITED
|
||||
//#define DIM_LEN 5
|
||||
#define DIM_NAME "x"
|
||||
#define VLEN_NAME "vltest"
|
||||
#define VAR_NAME1 "v"
|
||||
@ -105,10 +105,11 @@ int main() {
|
||||
|
||||
data[2].p = dat2;
|
||||
data[2].len = VLEN2;
|
||||
printf("\t* Puting data in VLEN variable:\tnc_put_vara().\n");
|
||||
|
||||
//printf("\t* Puting data in VLEN variable:\tnc_put_vara().\n");
|
||||
//stat = nc_put_vara(ncid,varid,&startp,&countp,data);
|
||||
stat = nc_put_var(ncid,varid,data);
|
||||
if(stat) ERR;
|
||||
//stat = nc_put_var(ncid,varid,&data);
|
||||
//if(stat) ERR;
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user