[ncl-talk] ComputeGlobalWeightedAreaAverage

Dennis Shea shea at ucar.edu
Thu Jul 19 11:56:54 MDT 2018


Also, if you want the Jan-to-May 2018 months to be included,

You can download the recent NCL 6.5.0
     http://www.ncl.ucar.edu/current_release.shtml

Use:

http://www.ncl.ucar.edu/Document/Functions/Shea_util/dim_pad_modulo.shtml



On Thu, Jul 19, 2018 at 9:38 AM, Rashed Mahmood <rashidcomsis at gmail.com>
wrote:

> Hi Zhang,
>
> The function "month_to_annual" expects time to be a multiple of 12.
> However, printing yyyymm in your script suggests that for 2018 there are 5
> months in the file which means that time dimension is not a multiple of 12
> assuming that the time starts at January.
> Setting an end time, for example 201712, would make the script run
> successfully. See attached.
>
> Cheers,
> Rashed
>
>
> On Wed, Jul 18, 2018 at 9:30 PM, 张盼峰 <zhangpanfeng at cug.edu.cn> wrote:
>
>> Hello everyone,
>> When I run the script in the attachment to convert the monthly value to
>> yearly value, there will always be an error, as shown below
>>
>> The data used in the script can be downloaded at
>> https://crudata.uea.ac.uk/cru/data/temperature/HadCRUT.4.6.0.0.median.nc
>>
>> Thank everyone very much!
>> Best regards!
>> Zhang Panfeng
>>
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
> _______________________________________________
> 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/20180719/2d0d98f1/attachment.html>


More information about the ncl-talk mailing list