Ferret users,
Has anybody seen this behavior? Is this a bug? Basically,
"return=lend" tries to allocate a lot of memory in some cases.
yes? set data bug.nc
yes? let refp = 0
yes? let den1 = RHO_UN(salt,temp,0) !! Good
yes? let den2 = RHO_UN(salt,temp,refp) !! Bad
yes? say `den1,return=lend`
!-> MESSAGE/CONTINUE 2
2
yes? say `den2,return=lend`
**ERROR: request exceeds memory setting: 10 Mwords were requested.
[ . . . remaining error messages elided . . .]
The dataset bug.nc contains salt(i,j,k,l) and temp(i,j,k,l)
with l = 1:2. I'm attaching the results of "show grid" below.
If you are interested and you cannot reproduce this error,
I'll send the dataset to you.
I'm currently using
FERRET v6.81 Linux 2.6.32-279.1.1.el6.x86_64 32-bit - 07/23/12
The same script didn't cause this error some versions ago.
Regards,
Ryo
--------------------------------
yes? show grid den1
GRID GCF1
name axis # pts start end
LONGITUDE_T LONGITUDE 564mr 104.17E(104.17) 68.167W(291.83)
LATITUDE_T LATITUDE 168 r 25.833S 29.833N
DEPTH_T DEPTH (m) 51 i- 2.5 5745
TIME1 TIME 2 r 21-JAN-2031 00:00 01-FEB-2031 00:00
normal E
normal F
yes? show grid den2
GRID (G002)
name axis # pts start end
LONGITUDE_T LONGITUDE 564mr 104.17E(104.17) 68.167W(291.83)
LATITUDE_T LATITUDE 168 r 25.833S 29.833N
DEPTH_T DEPTH (m) 51 i- 2.5 5745
TIME1 TIME 2 r 21-JAN-2031 00:00 01-FEB-2031 00:00
ABSTRACT E 9999999 r 1 9999999
ABSTRACT F 9999999 r 1 9999999