[Thread Prev][Thread Next][Index]
Re: [ferret_users] Edges and @AVG
- To: ferret_users@xxxxxxxx
- Subject: Re: [ferret_users] Edges and @AVG
- From: "Ansley C. Manke" <ansley.b.manke@xxxxxxxx>
- Date: Tue, 25 Feb 2020 15:02:23 -0800
- Arc-authentication-results: i=2; mx.google.com; dkim=pass header.i=@noaa.gov header.s=google header.b=Y7mcoPqC; spf=pass (google.com: domain of ansley.b.manke@xxxxxxxx designates 209.85.220.41 as permitted sender) smtp.mailfrom=ansley.b.manke@xxxxxxxx; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=noaa.gov
- Arc-authentication-results: i=1; mx.google.com; dkim=pass header.i=@noaa.gov header.s=google header.b=Y7mcoPqC; spf=pass (google.com: domain of ansley.b.manke@xxxxxxxx designates 209.85.220.41 as permitted sender) smtp.mailfrom=ansley.b.manke@xxxxxxxx; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=noaa.gov
- Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-archive:list-help:list-post:list-id:mailing-list:precedence :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=wjcdBG9wiDl+r3pHPdgVHuXv252Cx1ek3UI1LfMhcf0=; b=avREEZrLu9XK1dk410j5E5cV94hsmBwgrX2i2LpGgVaTilDxBQ1bLWAWF7Uunfc6WT Je60sMhhpFHIvrRBtV6HZ2vq1JIsgbgtWuIH0iYSmXQvHKJ3r5sm686w0M2d54iZxPaG BThSyeZ03Q1vunEWZGZddMYIPzwMlldg5Z+E1Tq5YCpO+NzVbDuLDW8Zvh4o0YhC6hQv MVFVo5gce3BDjrvnhvEDqOorBh1vTNkwr6tMrH/hEq8gVofWY0fa4aeP6zZwydE19PlL rmOWcSqn1CdMaggaZSNeSlYWuwt+YNDDT0zb61J8hE6eq3ykDH6wldrPGeB27yamxM1A 9hng==
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=wjcdBG9wiDl+r3pHPdgVHuXv252Cx1ek3UI1LfMhcf0=; b=YnVvmewmDvA/vI2LMsCtinThC5npDRgIoi8NJuaEd6Rmm/Q9VcBfqiDoPVffeoScH6 ThrHDhaPfRg6MRDy6fgSuW9yzNcTMhw+IAUxZHoegSaBz+uRjeYFPB73DPtkrvDiHSmE 4voDg+LLx1MHRQ08lQytiSTNj6igWbJHW2SSWjLE0ea0DIkYesREMhISsKf+bBgSfWxS y4Q2t2xsaPECHUgo147XdnMb2nFfsuKcAklAvKlCEw5UNp/2WeEznG2IQteI5+msvAYP eKBAYTk8sw+KwjsJ/ePvk0GO0lEDu0VgRdTNNDt1EQgKaaiI89ZNKHi3wI3N45bBy9aj dSdw==
- Arc-seal: i=2; a=rsa-sha256; t=1582671747; cv=pass; d=google.com; s=arc-20160816; b=ixuElp07L+jDdEnDxWMcg0q5JIUrIMWt43davhN+XpqnI5w4MQUFXW/8YthF799T02 LoWCbPqF/7Cca9qouRBNawKlfcirA3xDcjkS3gwZHtH7aTX3VRJuj5jJjTfQAHjBPNba GRQzoqC7nGxxjrhzEVStw/rtEUM7RNyOBBWdECkmwHnE/56imiLKhmLvPHp7YFm9bU3Y I6g4nwtP3VMq4bk0ap+5emWYFk7Gz2n8euy202WIY7LMQ3WWF/7OPDkPk+/IvvtAJf2O VG5Bt7+pOpyhDhjAEpOb0JOMZw9li+zY/S6Q2ISpIitFWvVuNXoKgQsaHbBkkEEGIHYL 6O8Q==
- Arc-seal: i=1; a=rsa-sha256; t=1582671746; cv=none; d=google.com; s=arc-20160816; b=vtltCSAtGB0Vana4DCtKEsOLlVyCArMFmA2t5KE2FQ8M+U1ciBNXViJ9ET6eFOjOSx TYjzh9uRB8T58JvBhhpCXfXRqPub6V7hZ20c7xVzw774wDFSNF4IhFu1n7aa6ST35Idn KpONbkgFFGIu+gGPgX6ZWbc9ZK1NLZHGj8iXRb91BdD4VIyaSEFuJlS92u2hZ/lmStxc 8cZQTKfqRAPYI3b0t2o49QRZOyQKcWU9lA1fDyuWHzOxc3BLWKeL/EfRXIoM+8j+95Ox Zf43SO7AUCtVfxbfOEO3gjiQlZ9ABGMGHxbkLR5LkkhC/kvwRLoKU8lesiXjR9mVy02r T4Xw==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noaa.gov; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive; bh=wjcdBG9wiDl+r3pHPdgVHuXv252Cx1ek3UI1LfMhcf0=; b=h1ePvrv2ECY8rJ+jSopsy29Ef9Kz3LIk5Emes4Z0+NeX9mRpoRaWCPEHsH4+Bd8+9n l1i6rqZEClPJ2CpO6j2+BzNpEyGkkIdZmsIWp/Y8Bm4DqUb12wLeW53IMD58OT64Dz66 ZabdeV9ukmbf+EC8qZQWWwSy8WL9AYYhhnGd5nbWgueKilDTAsJXXe5rFoIG8XV3WFx5 igH5n/LULFkCBn7Zou1e/aInTaUEdgluvRo7O+ecrMgkOmVLAfkUOPK04rGUoOj/cn3Q xuBVJrlYSlWasPaoJoQoP7IlqPbRHJqXU334iReE5LweBijQ2IZZLbTImw+BQ8YVeZDD np9w==
- In-reply-to: <CAP06G6SmYC+TsgacshQEk2+44o=eb8d9sSkQo1xh3LxKA=9BRA@mail.gmail.com>
- List-archive: <https://groups.google.com/a/noaa.gov/group/ferret_users/>
- List-help: <https://support.google.com/a/noaa.gov/bin/topic.py?topic=25838>, <mailto:ferret_users+help@noaa.gov>
- List-id: <ferret_users.noaa.gov>
- List-post: <https://groups.google.com/a/noaa.gov/group/ferret_users/post>, <mailto:ferret_users@noaa.gov>
- Mailing-list: list ferret_users@xxxxxxxx; contact ferret_users+owners@xxxxxxxx
- References: <CAP06G6Qt-GLxUqLY0AA+aHEEVq_3wTKhB6cLC3yFeMVtUjOVcg@mail.gmail.com> <CAEwQpa+SgCVR19G5bx2KXzNOKOKV52N7068YiTcU-rbEHrDQTA@mail.gmail.com> <CAP06G6QuNKn59BwAS7udR3i5Ef37dhEo74ku5xy95f_LxeSb5Q@mail.gmail.com> <AEB9D751-C106-4BDC-8808-4313B0CE067E@noaa.gov> <CAP06G6SmYC+TsgacshQEk2+44o=eb8d9sSkQo1xh3LxKA=9BRA@mail.gmail.com>
- Sender: owner-ferret_users@xxxxxxxx
- User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0
Hi Alexendar,
You're right. If the monthly data is meant to represent the first
through end of the month, then the best way to recenter would be
by using the @ASN transformation as you suggested. That doesn't
do any operation on the data itself.
Alternatively you can redefine the time axis within the session,
which replaces the definition that Ferret/PyFerret is using within
the session (but doesn't change the file). It really comes down
to the same thing. Give it the right time-axis definition,
probably using /EDGES to put the cell edges at the start/end of
months and therefore the grid points at the middle,
yes? use my_data.nc
yes? define axis/edges/t[...] `var,return=taxis`
You'd get a warning message like this,
Replacing definition of axis TIME
*** NOTE: grid GDN1 used by data set my_data
*** NOTE: Redefinition may alter apparent contents of
data set
On 2/25/2020 2:15 PM, Alexander Audet
wrote:
Afternoon Billy,
As far as I can tell (
link) although the monthly means
are timestamped at the first of the month and seem to be
centered there, they actually represent the average value of the
month instead 1/2 the last and 1/2 the named month. I am still
confused about this, so I could be wrong.
If so, by my understanding, it wouldn't be smoothing to
recenter the data into the middle of the month?
Thank you for your comments! These are definitely details I
need to think about!
Alexander Audet
> On Feb 25, 2020, at 12:26 PM, Alexander Audet <alexander.c.audet@xxxxxxxxx>
wrote:
>
> The full fix would probably be to first regrid it into
proper 1-month time slots using the @ASN transformation as
described in the above link, then regrid it a second time into
the seasonal 3 months using the @AVG.
There's a danger here: The first step of averaging to put the
data onto explicit months when the time points are centered on
the first of the month is a smoothing operation before you
start to do anything else. Won't that have a larger effect
than the length-of-month problem?
It seems to me that "1/2 December, January, February, and 1/2
of March" is the right way (least smoothing) to define DJF.
You could do this manually, or use @ave specifying dates; in
that case if Ferret understands the calendar it will do this
correctly.
Billy K
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement