fldmean and sellonlatbox operator
Added by Guilherme Martins over 8 years ago
Dear users,
I'm trying to select specific area and the same time do spatial mean, but I receive some errors like below to the same file and operators:
Error 1:
cdo -fldmean -sellonlatbox,-90,-30,-60,10 precip.mon.1979.2015.nc SA.prec.1979.2014.nccdo fldmean: Started child process "sellonlatbox,-90,-30,-60,10 precip.mon.1979.2015.nc (pipe1.1)".
- Error in `Bus error
or
Error 2:
cdo -fldmean -sellonlatbox,-90,-30,-60,10 precip.mon.1979.2015.nc SA.prec.1979.2014.nc
cdo fldmean: Started child process "sellonlatbox,-90,-30,-60,10 precip.mon.1979.2015.nc (pipe1.1)".
cdf_get_vara_float : ncid = 65536 varid = 3
Segmentation fault
or
Error 3:
cdo -fldmean -sellonlatbox,-90,-30,-60,10 precip.mon.1979.2015.nc SA.prec.1979.2014.nc
cdo fldmean: Started child process "sellonlatbox,-90,-30,-60,10 precip.mon.1979.2015.nc (pipe1.1)".
cdf_get_vara_float : ncid = 65536 varid = 3
Error (cdf_get_vara_float) : NetCDF: HDF error
Segmentation fault
If I try with only "-fldmean" or "sellonlatbox,-90,-30,-60,10", I don't have problems. The problem is when I use both operators.
About my file:
cdo showformat precip.mon.1979.2015.nc
NetCDF4 classic
cdo showformat: Processed 1 variable ( 0.00s )
My cdo installation:
Climate Data Operators version 1.7.1 (http://mpimet.mpg.de/cdo)
Compiled: by root on curupira (x86_64-unknown-linux-gnu) Mar 8 2016 11:29:28
Compiler: gcc -std=gnu99 -g -O2 -fopenmp
version: gcc (Ubuntu 4.8.4-2ubuntu1~14.04.1) 4.8.4
Features: DATA PTHREADS OpenMP HDF5 NC4/HDF5 Z SSE2
Libraries: HDF5/1.8.13
Filetypes: srv ext ieg grb grb2 nc nc2 nc4 nc4c
CDI library version : 1.7.1 of Mar 8 2016 11:28:40
CGRIBEX library version : 1.7.4 of Feb 19 2016 11:03:41
GRIB_API library version : 1.13.0
NetCDF library version : 4.3.3.1 of Dec 17 2015 14:54:06 $
HDF5 library version : 1.8.13
SERVICE library version : 1.4.0 of Mar 8 2016 11:28:27
EXTRA library version : 1.4.0 of Mar 8 2016 11:28:22
IEG library version : 1.4.0 of Mar 8 2016 11:28:25
FILE library version : 1.8.2 of Mar 8 2016 11:28:23
Thanks,
Guilherme.
Replies (4)
RE: fldmean and sellonlatbox operator - Added by Ralf Mueller over 8 years ago
Hi!
Could you upload the input file, or at least parts of it?
cheers
ralf
RE: fldmean and sellonlatbox operator - Added by Guilherme Martins over 8 years ago
Hi Ralf,
The file is in attachment.
Thanks,
Guilherme.
jan.feb.1979.nc (4.1 MB) jan.feb.1979.nc |
RE: fldmean and sellonlatbox operator - Added by Uwe Schulzweida over 8 years ago
Your netcdf4/HDF5 installation is not thread-safe. See https://code.zmaw.de/projects/cdo/wiki#Errors-with-operator-chaining-and-netCDF4HDF5-files
RE: fldmean and sellonlatbox operator - Added by Guilherme Martins over 8 years ago
Dear Uwe,
Thanks a lot for your help.
Guilherme.