Re: calculate 10-minute mean values

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Tue Feb 15 2011 - 15:24:15 MST

[1]
The _FillValue on the file is incorrect.
The file says -999.0 It should be -3276700.0
Please check that all files contain the correct information.
It takes time to find the errors.

[2]
the time has a big jump: 26270939 to 28913040

           time [time-time(0)]
(0) 26265600 0
(1) 26265601 1
(2) 26265602 2
(3) 26265603 3
[snip]
(5337) 26270937 5337
(5338) 26270938 5338
(5339) 26270939 5339
(5340) 28913040 2647440 <=== note the big jump
(5341) 28913041 2647441
(5342) 28913042 2647442
[snip]
(36297) 28943997 2678397
(36298) 28943998 2678398
(36299) 28943999 2678399

Attached is a sample script. I create values for successive
600 second (10 minute) blocks. You could also
use "runave" with nave = 599 but you will lose
300 pts an the beginning and end.

On 2/15/11 7:46 AM, yiren Yi wrote:
> Dear all,
>
> I would like to calculate the 10-minute mean values from data (file
> attached) with a frequency of one second. Are there better ways to do
> this job other than counting the index by myself? Thanks in advance.
>
> Yiren

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Tue Feb 15 15:24:20 2011

This archive was generated by hypermail 2.1.8 : Thu Feb 17 2011 - 22:00:17 MST