Project

General

Profile

Error (cdf_put_vara_double) : Protocol error

Added by Jessica Butler almost 13 years ago

Hi there,
I know this title has been posted before, but i'm afraid I couldn't find an answer to my question. I'm extremely new and clueless as regards CDO's. I'm trying to get the multi-year monthly mean of the data using the following code:

class@class-desktop:/media/windows-share$ cdo ymonmean ll_C4IRCA3_CTL_ERA40_DM_25km_tas.nc ymonmean_mean_C4IRCA3.nc

The multi-year data has been provided as input, and i've named the output, but I keep getting the following message when I hit enter:

cdf_put_vara_double : ncid = 4 varid = 4 val0 = 283.108623

Error (cdf_put_vara_double) : Protocol error

I know it's probably something very silly that I'm doing, but i just can't see what. Any help on the subject would be greatly appreciated. Please and thank you :)


Replies (4)

RE: Error (cdf_put_vara_double) : Protocol error - Added by Uwe Schulzweida almost 13 years ago

The error message Protocol error comes from the operating system and will produced inside the netCDF library. I have absolutely no idea which situation caused this kind of error. Could you give some more information:
  • result of cdo -d
  • size of the input and output file
  • if possible access to the input file

RE: Error (cdf_put_vara_double) : Protocol error - Added by Frank Kaspar almost 13 years ago

Dear Uwe,

I have seen the same problem, but it does not seem to be related to a specfic type of input. It is rather a platform-specific issue.
On those platforms, where I see the problem, I can also reproduce it with very simple operations.

For example, the following command sequence does also lead to the same error message:

cdo -d -f nc const,1,r720x360 test.nc 

It works fine, if I use "nc4" instead of "nc".

I attached the result of "cdo -d".

I can send more examples. It seems to be a general error when creating netcdf-files (but not using netcdf-files as input; conversion of netcdf-files works fine, but I also get the message when using "import_binary" or "import_cmsaf").

Best regards,

Frank

RE: Error (cdf_put_vara_double) : Protocol error - Added by Uwe Schulzweida almost 13 years ago

Dear Frank,

Thanks for this additional information.
We can't reproduce this problem on our machines. Do you observe this problem also with netCDF 4.1.2?
Unfortunately there is nothing we can do as far as we have a chance to reproduce it, sorry.

Best wishes,
Uwe

RE: Error (cdf_put_vara_double) : Protocol error - Added by Filipa Varino over 10 years ago

Hi

I have the same problem running cdo in a VM (ubuntu)

The difference is that it does not happen when I use netcdf data from one folder (precipitation data)
...But when I use data from another folder (pressure data) the error message appears.

The data are the same netcdf3.

Best regards

Filipa

    (1-4/4)