Re: Bug in time_axis_labels

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Jul 21 2011 - 08:05:06 MDT

Thanks Neil! This was definitely a bug and I've applied your fix.

--Mary

On Jul 20, 2011, at 6:17 AM, Davis, Neil wrote:

> The option ttmNumTicks had no effect in the version of
> time_axis_labels
> which shipped with NCL V6.0. To fix this bug line 172 of the code
> should
> be changed from:
>
> restick@ttmMajorStride = floattoint((nt-1)/restick@nTicks)
>
> to:
>
> restick@ttmMajorStride = floattoint((nt-1)/(restick@ttmNumTicks - 1))
> --
>
> Neil Davis
> Ph.d.-student
> Wind Energy Division
> Risų DTU
>
> Technical University of Denmark
>
>
>
>
> Risų National Laboratory for
> Sustainable Energy
> Frederiksborgvej 399, P.O. Box 49
> Building 125
> 4000 Roskilde
> Direct +45 46775070
> neda@risoe.dtu.dk
> www.risoe.dtu.dk
>
>
>
>
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jul 21 08:05:16 2011

This archive was generated by hypermail 2.1.8 : Fri Jul 29 2011 - 08:44:18 MDT