[Thread Prev][Thread Next][Index]

Re: [ferret_users] regarding monthly average of data recorded after every 5 days in a month.



Hi,

In Ferret, you'd just need to define the monthly time axis that you want.  In the documentation, look under "Define Axis, defining monthly or seasonal axis".  Then do a regridding operation to regrid your data to that new monthly axis.

ansley


On 11/27/2017 3:33 PM, saurabh rathore wrote:
Dear Ferreters,

I am having OSCAR data

name     title                                               I         J           K         L
 V        ocean surface meridional curren  1:1081    1:379     1:1       1:793

 name                axis                   # pts         start                           end                        subset
 LON1_1081    LONGITUDE         1081 i        20E                           20E(380)                  full
 LAT52_430     LATITUDE             379 i        63S                            63N                         full
 LEV               HEIGHT (millibar)    1 r-         15                               15                           full
 TIME               TIME                   793 i       01-JAN-2005 00:00       01-JAN-2016 00:00   full

I want to create monthly averages of this time series (i.e. in this time series every month is 5-7 time steps).

01-JAN-2005 00 /   1:  0.1452
 06-JAN-2005 01 /   2:  0.0372
 11-JAN-2005 03 /   3: -0.0467
 16-JAN-2005 05 /   4: -0.0108
 21-JAN-2005 06 /   5:  0.0538
 26-JAN-2005 08 /   6:  0.1587
 31-JAN-2005 10 /   7:  0.1996
 05-FEB-2005 11 /   8:  0.2621
 10-FEB-2005 13 /   9:  0.3081
 15-FEB-2005 15 /  10:  0.4974
 20-FEB-2005 16 /  11:  0.5182
 25-FEB-2005 18 /  12:  0.4669
 02-MAR-2005 20 /  13:  0.2921
 07-MAR-2005 21 /  14:  0.2007
 12-MAR-2005 23 /  15:  0.1711
 18-MAR-2005 01 /  16:  0.2059
 23-MAR-2005 02 /  17:  0.2842
 28-MAR-2005 04 /  18:  0.4561
 02-APR-2005 06 /  19:  0.6620
 07-APR-2005 07 /  20:  0.8400
 12-APR-2005 09 /  21:  0.9957
 17-APR-2005 11 /  22:  0.9717
 22-APR-2005 12 /  23:  0.9284
 27-APR-2005 14 /  24:  0.8632
 02-MAY-2005 16 /  25:  0.7612
 07-MAY-2005 17 /  26:  0.6696
 12-MAY-2005 19 /  27:  0.6004
 17-MAY-2005 21 /  28:  0.4877
 22-MAY-2005 22 /  29:  0.3621
 28-MAY-2005 00 /  30:  0.1895
 02-JUN-2005 02 /  31:  0.0942
 07-JUN-2005 03 /  32:  0.1056
​12-JUN-2005 05 /  33:  0.1485
 17-JUN-2005 07 /  34:  0.1875
 22-JUN-2005 08 /  35:  0.2072
 27-JUN-2005 10 /  36:  0.1846
 02-JUL-2005 12 /  37:  0.1426
 07-JUL-2005 13 /  38:  0.1070
 12-JUL-2005 15 /  39: -0.0151
 17-JUL-2005 17 /  40: -0.0381
 22-JUL-2005 18 /  41: -0.0688
 27-JUL-2005 20 /  42: -0.0115
 01-AUG-2005 22 /  43:  0.0803
 06-AUG-2005 23 /  44:  0.1180
 12-AUG-2005 01 /  45:  0.1521
 17-AUG-2005 03 /  46:  0.2153
 22-AUG-2005 04 /  47:  0.2416
 27-AUG-2005 06 /  48:  0.2304
 01-SEP-2005 08 /  49:  0.2084
 06-SEP-2005 09 /  50:  0.1101
 11-SEP-2005 11 /  51:  0.0601
 16-SEP-2005 13 /  52:  0.0157
 21-SEP-2005 14 /  53:  0.0392
 26-SEP-2005 16 /  54:  0.1072
 01-OCT-2005 18 /  55:  0.1301
 06-OCT-2005 19 /  56:  0.1530
 11-OCT-2005 21 /  57:  0.0423
 16-OCT-2005 23 /  58: -0.0358
 22-OCT-2005 00 /  59: -0.1225
 27-OCT-2005 02 /  60: -0.1571
 01-NOV-2005 04 /  61: -0.1335
 06-NOV-2005 05 /  62: -0.1246
 11-NOV-2005 07 /  63: -0.1177
 16-NOV-2005 09 /  64: -0.0907
 21-NOV-2005 10 /  65: -0.0054
 26-NOV-2005 12 /  66:  0.0940
 01-DEC-2005 14 /  67:  0.1694
 06-DEC-2005 15 /  68:  0.2985
 11-DEC-2005 17 /  69:  0.2949
 16-DEC-2005 19 /  70:  0.2814
 21-DEC-2005 20 /  71:  0.1927
 26-DEC-2005 22 /  72:  0.0815
 01-JAN-2006 00 /  73:  0.0171
 06-JAN-2006 01 /  74:  0.0302
 11-JAN-2006 03 /  75:  0.0914
 16-JAN-2006 05 /  76:  0.1897
 21-JAN-2006 06 /  77:  0.2582
 26-JAN-2006 08 /  78:  0.3032
 31-JAN-2006 10 /  79:  0.2332
 05-FEB-2006 11 /  80:  0.1889
 10-FEB-2006 13 /  81:  0.1357
 15-FEB-2006 15 /  82:  0.0914
 20-FEB-2006 16 /  83:  0.0125
 25-FEB-2006 18 /  84: -0.0387
 02-MAR-2006 20 /  85: -0.0665
 07-MAR-2006 21 /  86:  0.0800
 12-MAR-2006 23 /  87:  0.2096
 18-MAR-2006 01 /  88:  0.3523
 23-MAR-2006 02 /  89:  0.4123
 28-MAR-2006 04 /  90:  0.2549
 02-APR-2006 06 /  91:  0.0959
 07-APR-2006 07 /  92: -0.0880
 12-APR-2006 09 /  93: -0.2403
 17-APR-2006 11 /  94: -0.2231
 22-APR-2006 12 /  95: -0.1563
 27-APR-2006 14 /  96: -0.0773
 02-MAY-2006 16 /  97:  0.0080​

​I hope I will get help in this regards.​

​regards, saurabh​

--


REGARDS

Saurabh Rathore
Research Scholar (PhD.)
Centre For Oceans, Rivers, Atmosphere & Land Science Technology
Indian Institute Of Technology, Kharagpur
contact :- 91- 8345984434


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement