[Thread Prev][Thread Next][Index]
Re: [ferret_users] error regarding saving netcdf file with index exceeds dimension Error Code - 40
- To: ferret_users@xxxxxxxx
- Subject: Re: [ferret_users] error regarding saving netcdf file with index exceeds dimension Error Code - 40
- From: Ansley Manke <a.c.manke@xxxxxxxxx>
- Date: Tue, 19 Jan 2021 11:26:35 -0800
- Arc-authentication-results: i=4; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XzDsjkaU; arc=pass (i=2 dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of a.c.manke@xxxxxxxxx designates 209.85.219.70 as permitted sender) smtp.mailfrom=a.c.manke@xxxxxxxxx
- Arc-authentication-results: i=3; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XzDsjkaU; arc=pass (i=2 dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of a.c.manke@xxxxxxxxx designates 209.85.219.70 as permitted sender) smtp.mailfrom=a.c.manke@xxxxxxxxx
- Arc-authentication-results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XzDsjkaU; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=softfail (google.com: domain of transitioning a.c.manke@xxxxxxxxx does not designate 65.153.203.173 as permitted sender) smtp.mailfrom=a.c.manke@xxxxxxxxx
- Arc-authentication-results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XzDsjkaU; spf=pass (google.com: domain of a.c.manke@xxxxxxxxx designates 209.85.220.41 as permitted sender) smtp.mailfrom=a.c.manke@xxxxxxxxx; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
- Arc-message-signature: i=4; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-archive:list-help:list-post:list-id:mailing-list:precedence :message-id:content-language:in-reply-to:mime-version:user-agent :date:references:to:subject:from:sender:dkim-signature; bh=kn/ammKvh85Hankoe8tcMtnIUEJVJwIcuxSUyvWx8Zo=; b=kmSGj1Nncr6IW4km6O2FCNuM6hphEFULhpQREMLHllA9Q8OlNx+yGLNMv1gy455OOX QUlUD+nGJIuEBVQf0QuykOjZvVEm77fXaZS5Ed6jHx5EQ20PznudF85qN55PyAHXtq+K De2ymAEL516fef14gbe2qpRhDXSlMEG683KgL1PyGn+qkHVv+AKOKCM4Jf7/FvCoWktU KXp7EgiIcIuN91eYO0HOAC/8nxA4u8gUGt8UukorXJ9KVhQ/PssWk44vGfYECW/UmAUf PySX9VWTk5K8nk6+jUS/5s3PseKxQfYYRp8k9uN3/QWQz0PJHXsKlIUKgRYzMSweUafs GOYQ==
- Arc-message-signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:content-language:in-reply-to:mime-version:user-agent :date:references:to:subject:from:dkim-signature; bh=kn/ammKvh85Hankoe8tcMtnIUEJVJwIcuxSUyvWx8Zo=; b=QTiiehSiZpNWv5YkMEjsznbeJ7P0nCFBijzvRgZN2SsropVRnNSVcajhFzY5utseXZ 8OgMUuCKHtET5yIfn5oGJ7uRg7GR5A5fPMIy2d/P+kjN0mPGz9CBtiA4gkNDaYQ/XLyG T1Wav/SHKgI1DI/oNEveKutBwHCeuc8qdnZxMcuPl1D2HPbZL+HyUea3J+rYQX/yjA02 wi+LXHm1Ppyp/TT7bkETnmJeEWJwKrMUNAR4Wvt/R9N5iv/anYvXfvLRjquG4PY1Fvzf f8LAuJSMmqCw+/l0kP7FKWxO7wmxn7XZRSJHNndAQUr8RQilzlba7k+k1tai8UijtHSm WDcA==
- Arc-message-signature: i=2; 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:references:to:subject:from:dkim-signature; bh=kn/ammKvh85Hankoe8tcMtnIUEJVJwIcuxSUyvWx8Zo=; b=rffE3/oqLz6vkjg7f5PWAvC0b/Z+SwC5x1l3LlzWFboYNIOMEv6pNOyhuJZkK59QKr Gd+yE+CHvTZJVgZYkev5kJPNzsDVqaRO57/hDRUgUJnHSOg5GbWsl4EqEtQyTzEM/LHj oMZxtNmW+7BpYj4mODmoIgO0yf7apNooj4QxfZYLyYS6LNs/3CnLGCpktszuCuP9JQgt k/gdcSUR+Dsqp/D0WX4uh4UNstNi8gjN3QpA4EAqsaEDKmoHHbg27LY2GiFrFwbUPWpy k8r9Tw/EeYpAaLXWtLIseNH96vDUzYelMaD7QG6Vh/2mL8Dd1mBnpKeKTkz9lKrD+qnA wurw==
- 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:references:to:subject:from:dkim-signature; bh=kn/ammKvh85Hankoe8tcMtnIUEJVJwIcuxSUyvWx8Zo=; b=xURzH2lJYj+7yuqFdkng2Z0TZxG79s7AVemVXIAkmPomK3EZw2z21Es50VEjL6b9ha 0+xHeJadarlz7ue8WTTluaeEseuHGS/L3s+bQSgcXYe4vxBTLpNSoqs7YM/EncXh/kCr GgVhOnEQrskgsnXPFgJRq/3az/ApFWR9jyX335Qmb2Vl9DHXHug0Hp7Q+cXy5XZgPdwK YxJBCSB5JMLZTf4R8Fes1RDWMOPr9zwAuzDJjNktowXNzVs51xPoy3CVNYVAiWkNjmpk 8bAoUdhOHHqv8e+UWp0J1gqkkr3GGRNgqPGWCSVoVXUDXKa+dk02XHntoWT8hM8+PziN ErdA==
- Arc-seal: i=4; a=rsa-sha256; t=1611084402; cv=pass; d=google.com; s=arc-20160816; b=L1Qpe39hhc+KeXmIFaQ5qeoT92D5af1dPJ7pNjZfRU3yuw+APlpKN18rqoRvlDzdOA /vl8vn3tgxqBY9U3JJzkJNVos8fDTFA4krzW/f00MRf/jvG2yja6z5z8lYk1Xvm2u4H0 QoE/Os3mHLms0SjhtNlEMVy423jM9oGqzS8DuHWSctKQxOlbGnKGGKy6SmvILXKyrrZL dYNyshwMsWpJWduUTfOGulzJ1UxiV+diJXWWx6lNyvDdTrV3hxKm6w7c4xWUq1E4nQny AmUaliTjDWjh+yJQ86DIe6M5ydHycl6+/Jc1MRk5MallkowP4oMiufR1ZRzJ/vZ8FQm+ zV3g==
- Arc-seal: i=3; a=rsa-sha256; t=1611084400; cv=pass; d=google.com; s=arc-20160816; b=KgeBWnWMRDHtTT9P0qkHOE3mcchOa27MIQuAKHBI5ghi/7y4mXFCi9hFsxHYE0SdWJ KnJ6AUX9TAKgNt4XOfxrgbQTjD9FICDc7hCNKuUI1joPOCwtbmKu4J265JnkzZZKocJV TXGAwv/ejLUx8z5XAXUEnXLWaBEN/m2hbwSXCFYS/9nkpianUQVzNCEZRvGavbm6xjcH mO8iSkNOFE+fjlKMFGqA3ScCsmm12biARq66BCxm6A1rNioYOzULVhkxEvFExATBz6js sExCdTxUOkv4OvAk3bD/F+PbBErFU0OXEqIvS/C5EtltPWww0HfzQv1wP/Hg8992uC7Z AdGg==
- Arc-seal: i=2; a=rsa-sha256; t=1611084398; cv=pass; d=google.com; s=arc-20160816; b=nKq0ANAJxLadKWmsKrQrGx7d4JJK/vDvNeDQVzudOU3weY1N09Ip6QFcf51Z1Fp45K pC0xMkGACml3HE87eoDpxZ0bpWuRpytpgytacb+/2Rp2vLK+WSJIP8Cw7doXm0EpAIuO NvQTQXyhMuW7a45Nk287ODGTjRCbqFY+ARMcOZ7YkRqRbD7qmHK5dMRj3gbHMdGR8kT1 0DwztmjBvJzMxafXtvsXViMqLFLSLPmmLm+GrZdrI1HicJQWbPPeqK0g52iQEPmh9Wmh tInMI13CrSp+ZwvXJ+fW0Hz0+D/wtfFSQCioNC/1EbLm2D0G6YXLN1NZIxbq2yDYwPJk Z8HQ==
- Arc-seal: i=1; a=rsa-sha256; t=1611084397; cv=none; d=google.com; s=arc-20160816; b=gaElm6obXR9r0VbO8G8Fe1V4tQ4OtkYb+f/dpCHnYaQ2nTsnOBSz3cTwx6bK4SK2xz oBp71aIo1bQ28IizHyay4SlCHHfGrWnDfUo4k4WgfWo06cI85dUvQWWIdNMtELMEFGOC 7FcT6Hofka1MiBnLUDNIeR5XHJdxHlCe/HI8pAMBfbwNX8YWLD1/kwp3XctDvzJ+yO+u CP6sj1bzKPKkLohSSxWPCTL6hJAQZkRl3XzoctCQF4Y6PFt1Lj/qkxPYEPQ+04CGohr/ Qh9nresJOuAyhabXuaW39kVKtkNmDSdsEN2C5y5eHm+W70YgFsLeX/sxC9l9kSI+vYRW bSEg==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noaa.gov; s=google; h=sender:from:subject:to:references:date:user-agent:mime-version :in-reply-to:content-language:message-id:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive; bh=kn/ammKvh85Hankoe8tcMtnIUEJVJwIcuxSUyvWx8Zo=; b=b3q0Nnt7o4Oz7LslYXCCLcjFUcWUMcjbUpKVzPjwsRhQggM75kZewRHuUZq9aunT2w GW8X+u1D3Sygu77Cc7H+QbCK6kTAiw2bR9RcoCSrJJ0ID3v6wKl1ZK8R/mmLHboNbYLa soIa7xEJlb6EPXsLQ2VhV009b7jWvOll/Yyq5k1Lskol3WOiKi9YwebjGKOTtdZ3781O ZnE4RG20FE4G8nzE1C6OProh3doK7bXW1M1xD/XkOuL8R/z1vMFI6PT1F29W3TB1brzg XlImXNthKIdDDfk/kvL4+HGEKLncrQ/04Dz7JDdzmYvZyDIFIyVoo4JrBt4ZbKvo9aTp iNPQ==
- In-reply-to: <CAFXLzPjsEAdK7-MJ6ZmYdOneZ_Li+XueMDxJ9vZ0hrKksGATqg@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: <CAFXLzPjsEAdK7-MJ6ZmYdOneZ_Li+XueMDxJ9vZ0hrKksGATqg@mail.gmail.com>
- Sender: owner-ferret_users@xxxxxxxx
- User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1
Hi,
When appending to an existing file, the coordinates of the
variable need to match the coordinate variables in the file
(except for the time dimension where you can append more timesteps
to an existing time axis). The error message is saying that the
grid of the data you're trying to write doesn't match what's in
the file, in one or more dimensions. Look at the grid of your
variable temp[gz=zax] and see if it has the same coordinates as
coordinates in the file.
A good way to check what's going on would be to write your new
variable to a new file, and compare the coordinate variables with
what's in your file rg-plus-cli.nc
list/format=cdf/clobber/file=test_file.nc temp[gz=zax]
and look at the ncdump -h of both files.
By the way, look at the variable name in test_file.nc. You are
writing an _expression_, temp[gz=zax], and so the variable in the
file won't be "temp", it'll be some kind of name generated by
Ferret. Better to define a variable with units and a title. If
you are working with a file variable with the name temp, and you
want to define a new variable also named temp:
yes? set variable/name=temp_in temp !
rename the variable (just in this session)
yes? let/title="temperature"/units="Deg C" temp =
temp_in[gz=zax]
yes? save...
Ansley
On 1/17/2021 8:42 PM, saurabh rathore
wrote:
Dear Ferreters,
G'day
I am
encountering an error with Error Code - 40. I have 210 time
steps that I want to save in a Netcdf file but I don't know
why I am getting this error and I am unable to rectify it. Any
help will be appreciated.
NetCDF: Index
exceeds dimension bound (OPeNDAP/netCDF Error code - 40)
failure writing to CDF output file
LIST/FORMAT=CDF/append/file=
rg-plus-cli.nc temp[gz=zax]
Command file, command group, or REPEAT execution aborted
Executed by script: *** GO rg-plus-cli.jnl ***
Thanks in
advance
Cheers,
Saurabh
--
REGARDS
Saurabh Rathore
Research Scholar (PhD.)
Centre For Oceans, Rivers,
Atmosphere & Land Science Technology
Indian Institute Of Technology,
Kharagpur
contact :- 91- 8345984434
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement