[Thread Prev][Thread Next][Index]
Re: [ferret_users] white space in latitude-time cross-section plot (Hovemuller plot)
- To: Oluwaseun Ilori <wilseun@xxxxxxxxx>
- Subject: Re: [ferret_users] white space in latitude-time cross-section plot (Hovemuller plot)
- From: William Kessler <william.s.kessler@xxxxxxxx>
- Date: Fri, 8 May 2020 08:54:41 -0700
- Arc-authentication-results: i=2; mx.google.com; dkim=pass header.i=@noaa.gov header.s=google header.b=VTf7xCW2; spf=pass (google.com: domain of william.s.kessler@xxxxxxxx designates 209.85.220.41 as permitted sender) smtp.mailfrom=william.s.kessler@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=VTf7xCW2; spf=pass (google.com: domain of william.s.kessler@xxxxxxxx designates 209.85.220.41 as permitted sender) smtp.mailfrom=william.s.kessler@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:to :references:message-id:content-transfer-encoding:cc:date:in-reply-to :from:subject:mime-version:dkim-signature; bh=qD2qNg706CulSaqx427HoibAElVZp4Kky8CntKqsKno=; b=aoUEllE5Kd9r10U4lcrK1GuLQ0C04oAYjaVIt3nyvQfLCfnEq+RuBmlfyBmW/RZSvp xMi3gEMVyE8kJagwFTS2JGTLcKVXG7DXFy7RyICDOfKWIqfc/4BO/CLP7njNIYJierMz qsMnyFLsQvWd78UAPvSgVQqKfnEzbVDykQYvJ9LJ6bs/A+Usa1y/kX2jl07bLKcmVMuJ 1fIUnXbCpRi1NoxqC737CKlPPglGN2X32gdyrRnEjCOeaBCtAwknZVwsv0LICtAkxXah /0ERMzqOMT/RGKNRinFSvgFOEQRCmvLPR9xnOeIg2SZPqblMSeZQqj4gtfBQ33eEOSWP LcAw==
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:dkim-signature; bh=qD2qNg706CulSaqx427HoibAElVZp4Kky8CntKqsKno=; b=AhE1JjH3fm5r0h0JcNyZS0x87iYk4TVxa7xFU917eCDsjKtGUhqg3XEZNeNHZFLzwK S7b0+2YiTw+yG4tgmec26Lm/JS/VRRVxTAEbxGHTr+0/Eo5CrEqZP6VEokH3ZHioo1zk qV7JVP+a0O9GqZfwD27VrfPuRWvo8+qJI/BAtQqkkUHXKCIgk0O0/RtxfOsGsofFb1i3 H1dFCEHQ+3g5qv6S3m4blm1DbbagWII3RVS5HZIBqqbYlVn4eZjqSEOIAxbmZtVm/YSm P3nMX3bpVrPwFKeleLiWcYF1EOAzrTNpfHntrY3vvJ90ZLNoPN/lTSe2GCLCnKcANKvb m9nA==
- Arc-seal: i=2; a=rsa-sha256; t=1588953284; cv=pass; d=google.com; s=arc-20160816; b=BSoBp4VQzaE/JmmWErmY+t+aEbvXzOR64rYfvYBWFvjLl3hpQSJJo32SFD27R9+mOM lP9PFqjXth9mFEGydue3eRstU4coYdeEkMTs9kd/El7n5uoG2FwQY8xd1Ph+7he3A8U9 GMIy4LNLDelUntV4RBho/PznTXx8gtIrNjQ+L2JlRh6eKS40M1hT3NYlBZRsI2ikZu7v UHsvTilfQtTXIq5Gpu79YX6YFMX/+P1D2KvRWiREl1LqK2C8XIHND0U8DziiUxg2xwG0 f9hUVL7FfyJiC8EBWHnLO1BAZp+vTQ16eZfcoAyh56Yhh67lvS8elYxUYOqkT6NVgqKF pQwg==
- Arc-seal: i=1; a=rsa-sha256; t=1588953283; cv=none; d=google.com; s=arc-20160816; b=z2UFmkHJV+JvHszCWoRIGkbFcQlqCeY52aDdCfPixkIvMGRYbJu8sLgUfDCWdHnieV o6NlrEqqDA0Kv1mEs7sBZyNc8xnkLsTL5T49iGBk0F1f2ANxjfuAJh1HIss8udSc4p4k 8vRU3EU0SpZiqM0E4C3MSsnj+i/NhtY0tt+ERhK5/ix3yeRi4lN8+1anQRNyAfXCARjl fWTUjuDevFSJsm5DkUjQzHvKWoRfEyvPc7+E16+mgAPvN2AxT/T9xoZueAIC+p8uTula wULizbJo3Jtm8I/BeqXE8j2Cvgwg7T+5bUXTCX+J5nPirFLg85ozgHTOWaveF7CstuPL Krag==
- Cc: Ryo Furue <furue@xxxxxxxxxx>, Ferret <ferret_users@xxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noaa.gov; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive; bh=qD2qNg706CulSaqx427HoibAElVZp4Kky8CntKqsKno=; b=mQXSKAjbD7zPnjB8qg2qmir0ZEPPAJVYY0a/noHA5KthW8R19GhIXlE7ciGH7EfGUc tvEz3whDOumiy/OYwFLwrupmhchsCEiCBIcRA6d4Xxs6hXMAtfvM+dBo6zUyO4FhTCT6 RrD9bYNLQGoSkOE4dCyc9bEciVH+6y8jRfDZPSHz1zZr7ItYJmjdsZ/HjtAHmb9eEBQO IaDzhuzpt7CQrVCL/5WeTKcemZ9aBNFkLiryC6Ti0Tq0hwq747nfAH2tgvshWv9NIbpl cy87s5m83traGdD/5u8Ea/aJ059EyeMTlr/bGQ2IO68pbnEzPKJrqcFUyhGcp3zd/63e RzIQ==
- In-reply-to: <CAEmqVWX7DeFRUEaeiJchbdccawBZ73cazvBPA-zr00vS5nRqiA@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: <CAEmqVWUF54uoVGLOtxGYzTshPf7fYmd5Xz2-2SRYL4AtZjKhVA@mail.gmail.com> <CAEwQpaL2cHN-hsP_egwwqYr5NuVNywN-EDVJHcJpV7229tWQFQ@mail.gmail.com> <CAEmqVWX7DeFRUEaeiJchbdccawBZ73cazvBPA-zr00vS5nRqiA@mail.gmail.com>
- Sender: owner-ferret_users@xxxxxxxx
Assuming that the data is just 12 months, then Ferret will not recognize the axis as modulo, and won't know how to extend it earlier than mid-January or later than mid-December.
You can force it to be modulo, then do as Ryo suggests:
let modvar = var_name[gt=month_irreg@mod] ! now has a repeating monthly time axis
! first check that the regridding did what you expect:
plot/line/sym/y="pickanylatitude" var_name,modvar ! are they the same? Then proceed
fill/set/l=0:13 modvar ! extend the plot from the preceding Dec to the following Jan
ppl time,w000001010000,w000012312359 ! force the time axis to be from 1 Jan to 31 Dec
ppl txlint,1,0 ! omit the year axis label (would be year "0000")
ppl fill ! finally, draw the plot
It can also be visually useful to plot two successive years:
fill/set/l=0:25 modvar ! extend the plot from the preceding Dec to the second Jan
ppl time,w000001010000,w000112312359 ! force the time axis to be from 1 Jan to 31 Dec
ppl txlint,1,0 ! omit the year axis label (would be year "0000")
ppl fill ! finally, draw the plot
> On May 8, 2020, at 7:01 AM, Oluwaseun Ilori <wilseun@xxxxxxxxx> wrote:
>
> Thanks Ryo for the clarification and I will try it out, before then I think I should mention this here. The data is climatological monthly mean data gotten from cdo (ymonmean) operator on 55 years monthly data. The output (ymonmean_REMO.nc) now contains 12 months of data (Jan-Dec) that I needed to examine latitudinal variation from January to December.
>
> Thanks once again for your help and I will try your suggestion and get back to you.
>
>
> On Fri, May 8, 2020, 2:15 PM Ryo Furue <furue@xxxxxxxxxx> wrote:
> Dear Oluwaseun,
>
> If your time axis is annual climatology (that is, if it repeats itself every year), it should be defined as "modulo". Then, you can avoid these white bands by extending the data beyond the beginning and end of the year, as in
>
> fill/hlimits=0:365/ . . . pr[t=-40:400, . . .]
>
> if the underlying units of time is "days" and if your climatological year consists of 365 days. Basically, you limit the region of plotting to one year, but ask Ferret to take values before and after the year into account when generating contour lines (shadings). Having said that, I'm not too familiar with this issue and I would always need some trial and error before I get the right results.
>
> To see what time axis your data has, you want to see the outputs of these commands:
>
> yes? show grid pr
> yes? list t[gt=pr]
>
> Hope this helps.
>
> Ryo
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement