[ncl-talk] Error in joining files having

Mary Haley haley at ucar.edu
Mon Nov 30 10:22:24 MST 2015


Amit,

The error is telling you that your coordinate variable is non-monotonic.
In order to use "cat" mode to join a dimension, which is usually the time
dimension, the time values must be monotonic. Also, I believe the time
arrays must have the same units.

Please look at your "time" dimension on both files and make sure 1) they
are monotonic, 2) they have the same units, and 3) the first time value of
the second file is greater than the last time value of the first file.

--Mary




On Fri, Nov 27, 2015 at 4:23 PM, amit timilsina <
timilsinaamit87 at huskers.unl.edu> wrote:

> Respected all,
>
> Is the warning " warning:error attempting to fix non-monotonic aggregation
> variable"  while joining files makes any differences? The first file has
> dimension size: 366x240X480 and second file have 365x240x480 or first-year
> data is leap year data. Even with using both non-leap year data, I found
> the similar problem. What is the reason for getting this problem and how
> can I solve it?
>
> ncl 0> fils =
> (/"pr_day_CMCC-CM_decadal2005_r1i2p1_20120101-20121231.nc","pr_day_CMCC-CM_decadal2005_r1i2p1_20130101-20131231.nc"/)ncl
> 1> f=addfiles(fils,"r")
> ncl 2> ListSetType(f,"cat")
> ncl 3> pr=f[:]->pr
> warning:error attempting to fix non-monotonic aggregation variable
>
>
> Thank you in advance.
>
> Amit Prasad Timilsina
> PhD student
> School of Natural Resources,UNL
> 243 Hardin Hall
> 3310 Holdrege Street
> Lincoln, Nebraska
> _______________________________________________
> 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/20151130/a660e2b2/attachment.html 


More information about the ncl-talk mailing list