Project

General

Profile

Monsum: segmentation fault when used in combination

Added by Dominik Wisser about 12 years ago

Hi,
I have an nc file with 10 years of daily data and I use monsum in combination with selllonlatbox:
cdo monsum -sellonlatbox,-180,180,-56,84 Input10YearsDaily.nc out1.nc

This crashes with a segmentation fault ("glibc detected *** cdo: double free or corruption (fasttop): 0x. ")
If I use ymonsum instead of monsum, it works fine.
Any idea what could be wrong ?
I am using CDO 1.5.3
Thanks,
Dominik


Replies (2)

RE: Monsum: segmentation fault when used in combination - Added by Uwe Schulzweida about 12 years ago

Hi Dominik,

I can't reproduce this problem. It could be related to your netCDF file. Is it possible to attach this file?

Cheers, Uwe

RE: Monsum: segmentation fault when used in combination - Added by Dominik Wisser about 12 years ago

Hi Uwe,
Thanks for looking into that. I have attached a smaller version of the file.
I tried this (failed):
cdo monsum -sellonlatbox,-87,-86,40,42 in3yearsDaily.nc out.nc
This worked:
cdo ymonsum -sellonlatbox,-87,-86,40,42 in3yearsDaily.nc out.nc

Dominik

    (1-2/2)