[ncl-talk] merging netcdf files with cdo

Rick Brownrigg brownrig at ucar.edu
Thu Aug 22 09:01:14 MDT 2019


Hi Zilore,

I don't know the answer to your specific science question(s), but if icclim
is terminating with a message that simply says "killed", then that's a
Linux system's very unhelpful way of saying it ran out of memory entirely.
Are you indeed running under Linux and are the data you are processing
rather large?

Rick


On Thu, Aug 22, 2019 at 7:42 AM Zilore Mumba via ncl-talk <ncl-talk at ucar.edu>
wrote:

> I have five yearly data from several RCMs, i.e 19510101 to 19551231, ...
> 20050101 to 20101231. These are tasmax, tasmin and precip. I want to work
> on climate indices on these files, but only interested in the period
> 19710101 to 20001231. I have written a perl script which combines six files
> with the command "cdo file1.nc file2.nc ... file6.nc outputfile.nc".
> The perl scrip seems to work fine.
> However:
> 1. ncdump -h combined file gives the right number of times in the file,
> 10958 365x30+8 leap years)
> 2. display in ncl displays the map ok
> 3. A check on values at specific times shows they are the same as in the
> original file
> But:
> running icclim (a python library for index calculation from
> CNRM-CERFACS-France) fails, giving a message killed
> running icclim with an original file calculates the index ok.
>
> My request for assistance is whether anybody has experienced such a
> problem and how it can be resolved.
> merging the files with nco "ncrcat  file1.nc ... file6.nc output.nc" is
> worse. Plotting in ncl gives "unknown format
> Assistance will be appreciated.
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190822/53cdb042/attachment.html>


More information about the ncl-talk mailing list