# Re: Computing monthly mean from daily data

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Fri May 24 2013 - 08:12:57 MDT

```---
There is an unsupported function "calculate_monthly_values" located
in the "contributed.ncl" library. You can see the actual function
documentation via
%> less \$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl
This does require that the 'time' dimension associated with the
input array be of the form "seconds/hours//minutes since ..."
Good luck
On 5/24/13 7:41 AM, Ioannis Koletsis wrote:
> Dear all,
>
> I wonder if there is a function in order to compute mean monthly values from
> daily data?
>
> The function clmMonTLLL calculates long term monthly means (monthly
> climatology) from monthly data and not from daily data.
>
> The variable ws consist of 3600 days (records) during ten-year period, which
> means a 360-day calendar.
>
> The printVarSummary of variable ws is:
>
>
>
> Variable: ws
>
> Type: float
>
> Total Size: 519840000 bytes
>
>              129960000 values
>
> Number of Dimensions: 4
>
> Dimensions and sizes:      [time | 3600] x [height | 1] x [rlat | 190] x
> [rlon | 190]
>
> Coordinates:
>
>              time: [4018.5..7617.5]
>
>              height: [10..10]
>
>              rlat: [-20.68..20.9]
>
>              rlon: [-26.12..15.46]
>
> Number Of Attributes: 7
>
>    standard_name :            wind_speed
>
>    long_name :     10-meter wind speed
>
>    units :  m s-1
>
>    cell_methods : time: mean
>
>    coordinates :    lon lat
>
>    grid_mapping : rotated_pole
>
>    _FillValue :        1e+30
>
>
>
> Any idea would be appreciated..
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> 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 Fri May 24 08:13:18 2013

This archive was generated by hypermail 2.1.8 : Thu May 30 2013 - 11:38:10 MDT