[Thread Prev][Thread Next][Index]
Re: [ferret_users] MEMORY/SIZE= changes the result of SAVE
- To: ferret_users@xxxxxxxx
- Subject: Re: [ferret_users] MEMORY/SIZE= changes the result of SAVE
- From: "Ansley C. Manke" <ansley.b.manke@xxxxxxxx>
- Date: Tue, 17 Dec 2019 10:07:37 -0800
- Arc-authentication-results: i=2; mx.google.com; dkim=pass header.i=@noaa.gov header.s=google header.b=WpLXkBOz; 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=WpLXkBOz; 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=2heeWXAVcAdXEcBTVBM5s2QZHLmF2lyg1MRSBeyfK7w=; b=bpKY1gecXX7SS5tn4hGFHGYFEa3jpCTqEnOvauKCy59K6xuMyilYZonyauoPAu32gW U8ExTbPRcsKL2Jmzx82rGeiZMZQHxgI2m7whFE703RFpAF8AHlhT6+FuOEUQj5P3l+5B ToI9tQEjDDsBHMx24SZ5JNAGx4yzXmnBfVhRF73c5XBtGMyLP2ykFLcZ2NkMEvp3IiHG jqN5ITGp5sNG16GxLDeuRTPxVK2x+N9GB5sn4/61N8ferTQpHbwGdRDwQMi/wtdVzoZY aXeoWaMz+x6D/Ccv8JhcfKO8aLTKCnMsbu098dT+KfgCJYeXTBw3Jew5GmGlCJeZ2ByG aNTg==
- 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=2heeWXAVcAdXEcBTVBM5s2QZHLmF2lyg1MRSBeyfK7w=; b=EiJuoFGtsQ3JguAnHQ6LXh7wI4md2Da74vpIlECr4ohSAXKJv4pu9fSuBzo3JYIsQg Q4wsm3mxa0wyUCHZqlwvX0eJxtBCuhajK21RTLI8iby+8TrHKXFlA6NFH98mTqP/CWuC lXRVqYnx/bw2bIvLjLqdZ0fvd6hu2NE4s8UU+k7HUfnsFLJx2YdUmSFNmLkrRuk/xXWH qLdDbLz+J2JQjKaR/z9fBMWnWxmIBmCQ3dVEWD+nCZHnQLlDtmLpGESWSkzQep1Go0wh vWuwu3G2dDKyR+9033XXT6jq7KxGff//Bb3AE7m2vNS07RPUWSwbHHyM3HuSrCHJGKNl wjIQ==
- Arc-seal: i=2; a=rsa-sha256; t=1576606060; cv=pass; d=google.com; s=arc-20160816; b=DzBbkCLAMD8IrmgI4sHZAYnIAgiytRjVgE14VW7qE6OHLY8Cax2KipRxN1DEpdgd+1 JLSIivbXCD3b3tc/IgD9UR13jydh02aOx7UKPaj+BK7Cx8jOZ4cISXymQ8EQ3+iys/uE vH1y8/Q5B7yhYSFrgTjL9+dUmEe3eYKTQkJMmMfyeMmbIeSazFcZ51a57p1vPBuguy4K p0AqLaK/SM5+I8CUMQ66r7YuD1TWcgs6C2+jRi949NGKbQtQGI9MCF4XMbn21YNvxudB uudUNtALSnyO8TXBlR5W7LynNSrKASDUgWsPXYmoMP2sIlX8HTzItcgK2XNdJXFi2eZn Twrg==
- Arc-seal: i=1; a=rsa-sha256; t=1576606059; cv=none; d=google.com; s=arc-20160816; b=NuN3Cy0Mjpzfg2N/enENT9+09J1tI5HBLc+PWMPH2/2bwx8ysUg2Yf8IB9l0Mpy+Px k13mfmUY8o0vmWIYlJ7zujL8IWCaV3IJ5K6zWGrTvuJPxsZSKilek9Q0DkQf/7aN394C ftgHTLhy6O6PmaZfHoyE9llFe2f6qOWvpEGzJjFoyOM8iImTMsNOuSDwc4gnnf+uSbV0 Bzg0b/JErYV9tXgcqPzPzBIf+eo7im4ae6+b1W/c5xB2jLL/6ltfasNfAp4RqGy3uGjj 1EUbO28AlSQi7Cg6Hj23z/AB8A0XRomxftUdbdZF/rybDO13iBP3tPtsYmjv3Z+Zp6S9 Jrpw==
- 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=2heeWXAVcAdXEcBTVBM5s2QZHLmF2lyg1MRSBeyfK7w=; b=kOFMYW6QP/LqBVKiWjVy9fbRVdrh59r9KZoNXnSA0ZMS6wGCxKDnVD4Djq0QZHoTor srxH4qGb4pLAhgB1tSn3+mOtLAjvGipVHbOHRjiGcojew2+OuOH7mbv0+0YCm9THGuiu HnYnmlqH0Pw2q/zP56flL3UqvoGnOhoMFMSMRWOo+++rUZc3BcxxFNQEumpUV4SfQvXF 13gDTOo51v9AMyiKru4B0DIrX3Ey/NjVODSmwsW4rLgdUYwwe8sh6uCNAEffz3TYsXfT L1OAdnqbyWEL8bqLm7+Luo2WiLQ1GCCoDOhA3mtLWyElSCf8h98wu1krq+9D+4Ov62cC +GUg==
- In-reply-to: <CAEwQpaK8+zinaK_dB=22qrfCBbTJW_pJoGTBfFn9PXiUnvRttw@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: <CAEwQpaKVFocmfaDOdRg9UZ1Mc81DEv2y44fVsq6SpuXhAzY0vw@mail.gmail.com> <b3a2d861-78db-ce5f-d8b0-d5a25f36dba5@io-warnemuende.de> <CAEwQpaLY7unwks6dwaN_XghK8SY-syeM-TsOw1dpSaMjDZLU_Q@mail.gmail.com> <CAEwQpa+aFn_EppGbk1XwyE0qtK2CMtc9EJHgRnAJcFpmf=yD9w@mail.gmail.com> <CAEwQpaK8+zinaK_dB=22qrfCBbTJW_pJoGTBfFn9PXiUnvRttw@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.3.0
Hi,
I suspect this may have to do with Ferret/PyFerret breaking up
the computation when computing a number of transformations
including @AVE - that's summarized in point 2, here:
https://ferret.pmel.noaa.gov/Ferret/documentation/release_notes/version-7-2-release-notes
This behavior where the results differ does show up for the first
time in v7.2.
Breaking up the computation is done according to the size of the
data to be worked on and the available memory setting. That would
explain why changing the size of the computation changes the
behavior. The verbose output of "SET MODE DIAGNOSTIC" lists the
operations called scattering and gathering. And a summary is given
with "SHOW MEMORY/DIAGNOSTIC". I'll work with your example and
see if I can tell what's going on.
The core analysis code is identical with Ferret and Pyferret, so
we wouldn't expect differences there.
-Ansley
On 12/17/2019 4:52 AM, Ryo Furue wrote:
Hi, again,
Just one more experiment.
Unfortunately, I've just reproduced exactly
the same problem on Ferret 7.5.0 on Linux. So
far, we haven't got Pyferret on our Linux
server.
So, the same problem is reproduced with PyFerret
7.5 on the same Linux machine:
On PyFerret 7.5 on my Mac, exactly the same problem
occurs with the same dataset. So, it's more likely that
other people can reproduce the problem.
Regards,
Ryo
The presence or absence of a SET MEMORY command
changes the result of SAVE without any diagnostics.
I'll try to further reduce my data file.
Regards,
Ryo
-----------
NOAA/PMEL TMAP
PyFerret v7.5 (optimized)
Linux 4.15.0-1061-azure - 11/14/19
16-Dec-19 13:21
====================
NOAA/PMEL TMAP
FERRET v7.5 (optimized)
Linux 2.6.32-754.11.1.el6.x86_64 64-bit -
04/25/19
16-Dec-19 00:02
!=== my script to reproduce the bug ===
! Delete the SET MEMORY command and the two
output variables become identical.
!
set data tmp-usss0500m-L600.nc ! Contains var
"usss" .
set memory/size=300 ! <- Delete this line
let u = usss[d=1]
save/clobber/file=
tmp-u.nc
u[m=1:10@AVE]
save/clobber/file=
tmp-usss.nc
usss[m=1:10@AVE]
!--- plot to see if they are identical ---
cancel var/all
cancel data/all
set data
tmp-u.nc
set data
tmp-usss.nc
plot/x=101W/y=4S:4N u[d=1], usss[d=2]
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement