Skip to content

save_nc and add_nc file error when saving gps data from LANDERs #13

@dasweeney4423

Description

@dasweeney4423

NOTE: this error only occurs when saving the gps structures in matlab. an older version of the tools that I have did not return the errors

save_nc('Zica-20180113-173188-cal.nc', info, A, Aw, depth, depth_sensor_temperature, batt, wet, comment, GPS_position, GPS_residual, GPS_satellites)

Error using netcdflib
The NetCDF library encountered an error during execution of 'putVaraText' function - 'Attempt to convert between text & numbers
(NC_ECHAR)'.

Error in netcdf.putVar (line 88)
netcdflib(funcstr,ncid,varid,varargin{:});

Error in internal.matlab.imagesci.nc/write (line 844)
netcdf.putVar(gid, varid,start, count, varData);

Error in ncwrite (line 87)
ncObj.write(varName, varData, start, stride);

Error in add_nc (line 82)
ncwrite(fname,vname,X.data);

Error in save_nc (line 62)
add_nc(fname,varargin{k}) ;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions