[Thread Prev][Thread Next][Index]

Re: [ferret_users] Re: Weekly to yearly average



Thank you all for reply

@Ansley & @Akshay : Sorry for the inconvience caused by me,  next time I will keep in mind about writing separate question, and I will not use either cc or to while asking question, please accepth my apology.

@Ansley : Mam , I had gone through following link in ferret website http://ferret.pmel.noaa.gov/Ferret/faq/averaging-to-regrid-a-time-series ,

DEFINE AXIS/EDGES/T0=1-jan-1900/UNITS=days tann92_12 = DAYS1900(X[i=1992:2012:1],1,1)
Let u_average =  u[gt=tann92_12@ave]

is this correct ? because in Faq data set used was monthly navy winds, but I have weekly data, will it work for weekly as well as daily data also ? please solve my confusion.



Thank you,

Dona




On Saturday, March 1, 2014 12:20 AM, Ansley Manke <ansley.b.manke@xxxxxxxx> wrote:
Hi Don,
I'd suggest writing a separate post for each question if you have more than one thing to ask. That way the answer to one question doesn't get lost.

For yearly averages, define your desired output yearly time axis, probably using the "DEFINE AXIS/EDGES" qualifier so that each grid cell starts at the beginning of the year and ends at the end of the year.  Then use the @AVE regridding transformation to put your variables onto that yearly axis.

-Ansley


On 2/28/2014 5:54 AM, Don DNA wrote:
Hi ferret users

I need help, I am having data like this, I want to create make yearly average so that I will have l=1:20 of only 20 years, how this can be done ? please someone help me..

U        U-Component Geostrophic Current  1:201     1:141     ...       1:1068    ...       ...
V        V-Component Geostrophic Current  1:201     1:141     ...       1:1068    ...       ...
 
 sh g u
    GRID GFE2
 name       axis              # pts   start                end
 LON_UV41_241 LONGITUDE       201mr   20E                  120E
 LAT_UV51_191 LATITUDE        141 r   40S                  30N
 normal    Z
 TIME      TIME              1068 i   08-OCT-1992 00:00    21-MAR-2013 00:00
 normal    E
 normal    F

list/l=1:5 t[g=u]
             VARIABLE : T
                        axis TIME
             FILENAME :  current.nc
             SUBSET   : 5 points (TIME)
 08-OCT-1992 00 / 1:  70407.
 15-OCT-1992 00 / 2:  70414.
 22-OCT-1992 00 / 3:  70421.
 29-OCT-1992 00 / 4:  70428.
 05-NOV-1992 00 / 5:  70435.

and I seen following post

http://www.pmel.noaa.gov/maillists/tmap/ferret_users/fu_2010/msg00706.html
http://www.pmel.noaa.gov/maillists/tmap/ferret_users/fu_2009/msg00511.html

which one I should follow to compute volume transport , I never done before.. I tried like this got error

list v[x=20:100@din,y=5,l=5]
             VARIABLE : V-Component Geostrophic Currents (centimeter second-1)
             FILENAME :  current.nc
             LONGITUDE: 20E to 100E (integrated)
             LATITUDE : 5N
             TIME     : 05-NOV-1992 00:00
          1.637E+07

yes? list v[x=20:100@din,y=y[g=u],l=5]
 **ERROR: command syntax: Y[G=U]

Thank you so much all.

Dona









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

Privacy Policy | Disclaimer | Accessibility Statement