[Thread Prev][Thread Next][Index]
[ferret_users] data size estimation is not unique
- To: ferret_users@xxxxxxxx
- Subject: [ferret_users] data size estimation is not unique
- From: Martin Schmidt <martin.schmidt@xxxxxxxxxxxxxxxxx>
- Date: Tue, 24 Oct 2017 17:29:13 +0200
- Arc-authentication-results: i=3; mx.google.com; arc=pass (i=2); spf=neutral (google.com: 52.222.5.176 is neither permitted nor denied by domain of martin.schmidt@xxxxxxxxxxxxxxxxx) smtp.mailfrom=martin.schmidt@xxxxxxxxxxxxxxxxx
- Arc-authentication-results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=io-warnemuende.de); spf=neutral (google.com: 65.127.216.227 is neither permitted nor denied by domain of martin.schmidt@xxxxxxxxxxxxxxxxx) smtp.mailfrom=martin.schmidt@xxxxxxxxxxxxxxxxx
- Arc-authentication-results: i=1; mx.google.com; spf=pass (google.com: domain of martin.schmidt@xxxxxxxxxxxxxxxxx designates 192.124.245.147 as permitted sender) smtp.mailfrom=martin.schmidt@xxxxxxxxxxxxxxxxx
- Arc-message-signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:from:references:to:subject :arc-authentication-results:arc-message-signature :arc-authentication-results:arc-message-signature:message-id :arc-authentication-results; bh=C3OYi1MwxdOqrImK1EWKtBaJYIQZTQ+PgP7nQU7IP1w=; b=Hf8as300vV1SKB0DOy3bQy86nuIcal9Aiwcw7R3dVmmeiNrOHQEPN9mJk6rY8lqKiG /v+vKIGawsqJikDzagCMvdx/NV4ks9pYDONNqNKkvLuMGBABVJySQKnG76E/8wuoDn3w ky6untQ1xFykXLJW+qz66EdqW8nc40E9lOaFfuKIAeLEK72oHvUEXMwVN2SUdDAj9c+8 9ajGkP/b3F3hK8AX51HpD1tTTVx5PpZ+Gf1MzpE3Etkg9fsUAeqeCJBMxGy5pndk47ka 5cIhgzv/MdiZQVOYaIMrzia9WOQbVQaj0HCaU1BMd564Jm0o1aao7i/bccmW1PfNjy3n kSug==
- Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :arc-authentication-results:arc-message-signature :arc-authentication-results; bh=C3OYi1MwxdOqrImK1EWKtBaJYIQZTQ+PgP7nQU7IP1w=; b=tnJR/E8He+fgCdfXOXBymZiWD0b6GQK515/M5cpJ0o9mlToeRelTOZaE/N/lQWFCe7 KC7Z9JuUkeKykaL1vXqhMWyZyXF7Tj1Yl0j2bqeqpUlJpo6a/AYwoL5dw3hqKN1eOagf nUTyLD1RM1AucQGH9uYMEY7NtiZL6Dpr+xiCaX9J5vLb9QbUvbncJWl8j9qJkd3zeEcz W0eIwu7XLjCG/aD4EAf74k878jI13haRzgRi4T3qxGS4wds7p4u/jxoj+LHM6t6CfBzk RH6sGfxKBYFt/RhLZbmMu8DN7qT5a1na4OQQ+h2GcoDsE7dL9HYiY1uixAuzA6NkBXId NHCQ==
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :arc-authentication-results; bh=C3OYi1MwxdOqrImK1EWKtBaJYIQZTQ+PgP7nQU7IP1w=; b=oeirG3+LbDSJ2E+Bcdwmmia11HoRDfY+4QL66wrvmrtVFrdHjeo5Rnx1B+JvM5mp2j rFqR3P0JKxeveW/DEZj4RrLbgAtew/4yp6oJ4L5qEFY1RLmNskKSu7nxkWVAPpvWYsEz U15lRLTpvSfHYePd6zRbLwNAwQvqnUCWueoZ15Brd7h3Qr7qhXqgZNrwNGE8psJLfXbF j0lP1e28qSs1pe0uFA0chwhCGPqVJtdASBkcTG6ArjDhFaGYqkVoqaWKs/n7Cp2FUzAa Sz7hEDEf6iGzpp6YdNegE3kHeQNGNE3y0zQQokNQh1NUeMZJHBQ8h+Pp3UugB/wX0Dp0 +ZCw==
- Arc-seal: i=3; a=rsa-sha256; t=1508858985; cv=pass; d=google.com; s=arc-20160816; b=gjPttKUZOoNCXscsGRjmrsBmNI+jSPQf7v3ksgjJPx0NEpSEn/zNBn13oe7nopTihX CwBvhvsbAcikAciA3s54r9jPyaJ3DGK46RewJJg05VkLVOA2W1xCpHRBWXX0XeLfS/LU /8ztpw5vIXT+NYfoH1uXR5kKHVJv/MgQykBhkMTer+f7nq5D7U8nZ+xvZEM/y+PatgDm yJImN6RxEfO+zk5GtixQs/H92FPgA6ax6077+xUROaEbRYXChfnkuGC9Tv8EDIbZr5aL kpOTQ21/84D/dYmLx9DEn0FFFnXb6UogyJIP0Fq1lQE8AK5xaueRHnHQ2JI9pCYMKHO1 K+kA==
- Arc-seal: i=2; a=rsa-sha256; t=1508858980; cv=pass; d=google.com; s=arc-20160816; b=Mye6xifV6M+PiOo4/L0N1cdTjuFXUXB5SBJiNvK3eSkFNcN9zcuh9v2kxlMLsYp9sG G/lF7OniinLmt6RUEKI19hYHCZhZSa7NezQq+QzkpPRZWxF9LoqXCquC+ky4MIkawBeK 41TPEvNQyOJjYFw4K7SAf4q450eBmVHxzSy530wfzTI0iSkoHNh6ufgtT1/g/TD6NR8h kNqNoha5LT32N0/GDbak8729Vdpva85MhmCMxSSB2fnVZZ84T8HeYvJVDxu9HcEkB1YY 8GksJ7+5QKtwwrhWFD92YSsPVQqtUFVtZtKvx4o1BaMXMj8tySkfmVL8bhkTo8rqRuCv 8IRg==
- Arc-seal: i=1; a=rsa-sha256; t=1508858974; cv=none; d=google.com; s=arc-20160816; b=kgiMIZsD9Hj852Ow+9tdToO1+Ws5lX3bbeK9w+0ZFvEi+VhLP6d0K79+rZxlIs/m1M RXBvrEe6l2k7o9txGN/9QItVTHoNwlbxm6RXxDMexEKANQt/xJUlmISgOnos2SGNm+eL oq03+CpBzSgM19EC+L9t854UrjVCBUhDGSIPUA9bxyYURpH/ZOvOCnya5/pPkFoisZKH nsy/0L7mRke58dH49m/336/V4C6Xk/u/AhanIXnpXNg8XycFkXaWw3UCNkggcXyzrLQh /nthLCYe41QL7su3GAQ1pTTjLfB9bGOh+jI9ezRn17dra2El/owcnkFdV71JrAzqUsnM 6e0A==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noaa-gov.20150623.gappssmtp.com; s=20150623; h=message-id:subject:to:references:from:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive; bh=C3OYi1MwxdOqrImK1EWKtBaJYIQZTQ+PgP7nQU7IP1w=; b=qz/gSGUneLIwcl8cRK9Ev59euhexLBDAQ/K7pzYggkWqcWp7xsfe7QfW6H/sP6aUFx eR/A8ks56yBTXLOfSbtfd8MxNteFICw82Xvi5/UVOTzZSp8u7Qs7hX3g6fPIWb7lXLV6 /KBX02gOuHmiUOYP0n9y71mkngleqLBJfwBsNRIZhJcuW0EV3J2jz4/uV6gG5hOe2tp9 nud8kh9Rjt9c7sBzsjovXiy4QA96MYLKh8zn3Ci3lStclGysR2gq7BqHoin61xtRT1Ck y4XvprZx0r4oOoRiOsTgEhDmY3a8THwE6T9s+wBb9FhEj5enL1NSMz5BwR/OV/JwAo2G fI1g==
- In-reply-to: <426bdded-ef22-3ebc-465b-9cdf3138f3a7@noaa.gov>
- 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: <3f5631bcf4614785a04e689e330a6dc5@INCOISEXCMB01.incois.gov.in> <426bdded-ef22-3ebc-465b-9cdf3138f3a7@noaa.gov>
- Sender: owner-ferret_users@xxxxxxxx
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
Hi,
reading ascii data, I encountered the following problem. The estimated
length of an input field depends on the history of operations.
My data file test.data looks like this
header
1, 1
2, 2
3, 3
The script to read the data and to estimate the length of the field is
set data/ez/skip=1/var=t1,t2/format=delim/type=numeric test.data
let imax=`t1,return=iend`
list imax
ferret
NOAA/PMEL TMAP
PyFerret v7.22 (optimized)
Linux 4.4.87-25-default - 10/05/17
24-Oct-17 17:12
CAN MODE LOGO
SET MEM /SIZE=25.6
SET MODE VERIFY
yes? set data/ez/skip=1/var=t1,t2/format=delim/type=numeric test.data
yes? let imax=`t1,return=iend`
!-> DEFINE VARIABLE imax=4
yes? list imax
VARIABLE : 4
4.000
yes?
I would say, the result for imax is wrong.
Modifying the script, just by adding a 'list' command gives the correct
(or a more likely) result:
yes? set data/ez/skip=1/var=t1,t2/format=delim/type=numeric test.data
yes? list t1
VARIABLE : t1
FILENAME : test.data
SUBSET : 3 points (X)
1 / 1: 1.000
2 / 2: 2.000
3 / 3: 3.000
yes? let imax=`t1,return=iend`
!-> DEFINE VARIABLE imax=3
yes? list imax
VARIABLE : 3
3.000
yes?
This dependence of the variable size estimate on the history of
operations seems to be inherited over generations of ferret. I have very
old scripts, where some 'list' or 'shade' was added to get them running.
May be, the report helps.
Best,
Martin
--
Dr. Martin Schmidt
Leibniz-Institute for Baltic Sea Research
Seestrasse 15
D18119 Rostock
Germany
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement