Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Error during writing nc file.

jagdishisro

New member
Hi there all,
I am using netcdf library to create an nc file. I am writing temperature, salinity, u,v, and ssh. I am getting some values with "*" that is unwanted. Here I am attaching the code snippet and pieces of error.
call check( nf90_create(trim(filename), nf90_clobber, ncid) )
call check( nf90_put_var(ncid, temp_varid, buf, start, count = count) )
call check( nf90_put_var(ncid, salt_varid, buf, start, count = count) )
...
Printed error
31.4791126, 31.5090065, 31.5263977, 31.5377693, 31.5463791, 31.55303, 31.5609531, 31.5868034, 30.3634319, 28.2348213, 26.9069176, 25.7876072, 24.7770424, 23.7332516, 22.611021, 21.490509, 20.3801727, 19.1441441, 18.1071358, 17.1019878, 16.0356865, 15.1387939, 14.4916811, 13.7402983, 13.283638, 12.6621342, 12.1037712, 11.5465851, 11.0206785, 10.5665417, 10.0511551, 9.55668163, 9.06267452, 8.5371151, 8.03297424, 7.52638531, 7.05134201, 6.5380497, 6.01908112, 5.51572275, 5.09243584, 4.67510986, 4.22221947, 3.79252934, 3.4286499, 3.10180044, 2.92071652, 2.84405684, 2.84966302, 2.84966278, 2.84966254, 2.8496623, 2.84966207, 2.84966183, 2.84966159, 2.84966135, 2.84966111, 2.84966087, 2.84966063, 2*2.8496604, 2*2.84965992, 2.84965968, 2.84965944, 2.8496592, 2*2.84965897, 2.84965873, 2*2.84965849, 2*2.84965825, 2*2.84965801

Any help is highly appreciated
 
Hi,
Unfortunately the support team at NCAR is unable to help with netCDF-specific issues, but it's possible other users on this forum may see this and be able to provide some guidance.
 
Top