[Thread Prev][Thread Next][Index]
Re: [ferret_users] netcdf error code 57
- To: ferret_users@xxxxxxxx
- Subject: Re: [ferret_users] netcdf error code 57
- From: Ansley Manke <a.c.manke@xxxxxxxxx>
- Date: Mon, 21 Feb 2022 15:55:04 -0800
- Arc-authentication-results: i=4; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=EAb8Q7N9; arc=pass (i=2 dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of a.c.manke@xxxxxxxxx designates 209.85.222.198 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=20210112 header.b=EAb8Q7N9; arc=pass (i=2 dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of a.c.manke@xxxxxxxxx designates 209.85.222.198 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=20210112 header.b=EAb8Q7N9; 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.176 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=20210112 header.b=EAb8Q7N9; 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 :in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:sender:dkim-signature; bh=gl4RyaAYdpzpn8VUPIdtmVdQ59nHZ9JvDXouMlJ3+2c=; b=tBeS45bu5hSt1IYjjT+ett/49vgzR4CvRor1osOmg8Q6UyB+OTwFTHDzkCgqYsg4cK PpXkctg6e9N6lfEzQq00uwrRgJKSy/nbMcuUkULRYu7Vs6+gTf5kSCkdZ0hz6rH6cjMt VUUuYBZ/2AflY67MFwYkThOLsY7mFvglB1gl+ULUL968nw9j1BFdhYaNyjxsHQcVAPMw plH+64hn1vYtfK1LjpekR+x8pwo++0kMQ0YhKglidpO3wBXteDXIFDXzAAD3HBaILVNY K2gmGDJyRACdEc09/eZIEnIXFTuG3Gjc6BrzaZpYlRrGGb6QK9UFei8/6jSqJ/cwy5he oBeg==
- Arc-message-signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=gl4RyaAYdpzpn8VUPIdtmVdQ59nHZ9JvDXouMlJ3+2c=; b=N2FjFheY+YGIb23ePhjnntbcQF3m+aXTJZfSj07AkZjXT46xckS5MvfU8EmwKspWHU joidt1ApdLpM6vMUcqJ2TWQtmmFRmBvo19TnB4WEopuaEg9div+cQ4ep9JT521rDce5B LwrNP3Lj61+ulPf8eDVX2hnXjFPdhIRDd1rCpUXy4l8p5E57cohCPs6uIksZ+z4ID111 0Zshs2dWWzSEZ0K+bYRTC17l2VVVh4V6kvo3YfMRB585NmWIvGNb7iCL9FjBL1ICc2Eu hPTXpRUJY/VCtnXZ1zcjFejWWXkkWsA2yI2Mbn7x//znhDO+gwl7IXiYIk7B+gjGdDel oXGQ==
- Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=gl4RyaAYdpzpn8VUPIdtmVdQ59nHZ9JvDXouMlJ3+2c=; b=w7YJX2zTcLsAxKRo/UOplRIVsWtt6AM1xZrrT6sWYx9F8liNOCWUP+TMmEatJ99XI7 /YyoGCuYdTbd+9DyztcSBsk7aF1dr7md8q652cxI62TE6VRcwT2XsSj5kFEB0JkafCIY 4k/Ae6LYa4Vv/NfqPuUi9RAkRABl/zk26FdLDAMAI3NVUnjpJqjkg9gl/DEpK88XGiee 1QEFfoZnTHac0ki4g61qTETxf7XELBIEWFpdi2YBm5cKgjzIE3kLyy1DfT/JxsIw+kFd hdM0bzAGDfDl9AQIboQIJA43N5gLVhTfk11cWhg7f6cPZu6Y0IDoObvTiB06Ia+2SYJ7 rtvQ==
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=gl4RyaAYdpzpn8VUPIdtmVdQ59nHZ9JvDXouMlJ3+2c=; b=EIDw81G9CkIzIvO7MApAs6+iFM2FG+DAb06jBmpC2xtRoAg0T3ijGNDNLb7JiR7Ifk UG9Mw41YZQeqb0baAVWXLUMJixn6hgSnGBakLG/+ygWBkePXKFjKSswBLq4RrSMpcA9Z 3AaBolqfuFkAhlAIgKQVYsjpPOmncf5F7Klh4oeNOrN8PvT9nlCzlyJhYsYw5dVnY7M3 /agw0cO6P4rFfTHYK7EhZ7M33ldSxzyZlFPl3LHxbpTI7c0nwcsACzSajKw3o+ZRt4d6 wS8XGjMWPXCojN0Od8ZmUDB5qQPpLJzyXLMfzhzv9kh/T8MHZ0TLKST/1Ar6TUEDG/no 9yjg==
- Arc-seal: i=4; a=rsa-sha256; t=1645487713; cv=pass; d=google.com; s=arc-20160816; b=Ux0eTpiez9JX1Skew0bsri1FSoeUQGajnhinL99q1r/UM3vjX99k0Fe1rslzFgBC5n lI6YQoCaJfXz33m7kCyAdhl4seewV1NE+XzkutUQnUdAbYNz9Rz2tOp1NyEaZmZyeFIo 6MKQNu/vNVDWorcsT0QMRAdJQfzXCyYCrEYrRK0y6uI+QxOu1nsgiB0ZPNHyP3ZrkeBZ 65P128rEIfhgoA1uAYSQEtmuNISwUpJnNTmuo3NCQgfkpslw3ea5a2RGtVEPWb28nPaA 8swKzU6RRBkCaTM7sPz4cooFzFv5Za6MeZnc/4iqGFqtS2uBgpuPHmRVoOtyNSCfPCbe r+Nw==
- Arc-seal: i=3; a=rsa-sha256; t=1645487712; cv=pass; d=google.com; s=arc-20160816; b=q4T5Rq5IJgZx0A+QCHt0Iojv0HFmPFur+wZjFwpKXWdRnEEMe/KNOO8J05exkwwtKD 5Xmelgwun6NM7ZM1tXgALXBxHAa5y9jMUqaknaNBHW30AuQ4l1mb3w1kaQ8Dx2/A45jQ PhQ/sXvWtkA/oMbOqGrwWnokk/myHpQetqtRCOEVEqcEXQ796RpJ3FNKr/HMCm0xwxmR 3wEn87+P8TZ7qrfpKa8dxz04Mur9A+Mwin92UMVx70D2Uzju5KL+fLpbF8c6dh/9eO2c Y0g4gsQ9OdhCMRyYBhJyIhfyjzqwOmwtgukioGApBHaK9tcNmw5mpom80/JINAyziE9R a1RA==
- Arc-seal: i=2; a=rsa-sha256; t=1645487708; cv=pass; d=google.com; s=arc-20160816; b=OLxXolfvJCSCnaggCCALYwq/BKJmAiw4lIVbsgBJLin3xhjxMMzn2STbmsAi6tpZHA 2YiE8DAMH4T+kb8DZCZHr+zJgOEk1JXrQjjsaCkva4HoKBuVfeKSJtjJG5ESduXVP5Hp PXCDgSaHeLax4gNCk4HkoGseUdN+LfXbE8Vap1MkXPnDmcd8UWRbk39PNpzQ6gccLCF6 F83zTePheYbPDUc59YRAuf2SX44ZblMBh3vUHUhPeTZmGSrPgbMVE+5Zjnk5oxxZYvf6 o0vOne2Lf4cGqNYLwdN54xuNTWdLq4pFPnJATzjisw3E8BBF3yreVaeO+/TchPeXFs9U qjdw==
- Arc-seal: i=1; a=rsa-sha256; t=1645487706; cv=none; d=google.com; s=arc-20160816; b=lmj1Rl+kA4WfPYa/f0K6sGkShnZDdLpXI5sxU7gWj5apwrpdfmpAxEZcaE8qfbRlSl koDU+lyQskTHCK5Zmaeebz+m0kv2BCvSnSgtk54lcjwT7wartmmQJLym3kNqEWqhm06+ ZidHAuBndgF/8vaOrBkY9BgU+xwL0llm6UFNEv+lNDEAygCmzfd63hPns19nmtmF9q7c KdrT8/wQbVkTU1100obxsbrR+lJgaSwNRQlquXsHBULklWzY5tccbXp3N9IbU7CqxJPm /HidTNBvV48bsqP6c60q45SvYejywuLFNcNqn8tLjUYvi1m7gKq9R1ne4Q5UrxQ08v2T ATTA==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noaa.gov; s=google; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive; bh=gl4RyaAYdpzpn8VUPIdtmVdQ59nHZ9JvDXouMlJ3+2c=; b=jk4/qxeN1bEGiVkOySwgTNCNvE3/Ajme0FF9m0daX3x1/pYJ7rykoVx32NfR4MK4cj VnxFWfkAIiDHokWxZVaQ/2GXePZCJQbF4I7JE7Uy+umU5W9dI/eYCSBY5gEsrtiKq3Ad Wf1NO9tWO6hDEoQHnm9h+Yyl5BV8XIchumeciTFAXBtnUkp+DcEeR8VXsUYOW04ehRhH yyP2c6ttzfnV27X/LTFdtqaSgEj3kdRZ9U6CJzj5cL59MJNNU1/QPkJIYW86/fCKm3x0 wcD/BnK9WWVxFAULsoItq2yZmVZXObyYSlZMsbFTFV4gB5OIhp3OrGMcEU4xxHk9NF4I wNBA==
- In-reply-to: <CAFXLzPhkq6=xXf47e7L2s0EaFXGsL3Wxz1i+gmEi025S9RbMgw@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: <CAFXLzPiEAyor3zKc94CGh_eP-5Ng5Hve3rogEHjH0EBopu5ATQ@mail.gmail.com> <CAEwQpaKkED5oBDiJH8CK6M_srzYHhwO-zGEdFPYYcs4vfLOmPg@mail.gmail.com> <CAFXLzPhkq6=xXf47e7L2s0EaFXGsL3Wxz1i+gmEi025S9RbMgw@mail.gmail.com>
- Sender: owner-ferret_users@xxxxxxxx
- User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1
Hi Saurabh,
It sounds as if there was some unexpected state, which resulted
in Ferret making an incorrect call to the netCDF library when
trying to read data.
If I ran into this error, I would compare the result of "show
data" with the output of "ncdump -h". Does Ferret seem to have
initialized the dataset with grids that match the dimensions and
axis directions that are shown in the ncdump header? Also look at
the output of "show grid variable" for the variable you are trying
to work with, and "show axis" for the axes in that grid and see if
they are what you would expect.
It would be interesting to see whether these results are the same
when looking at the original file and the file you created when
you extracted just the variable into a new file.
Ferret/PyFerret reads in the metadata (dimensions, attributes)
from a file and tries to construct grids. Sometimes there is not
enough information to do this unambiguously and it makes
assumptions. This is why sometimes we get the error "**ERROR:
inconsistent data grids: File needs axis attributes on coordinate
variables indicating correct directions" which others have asked
about. I wonder if something similar this has happened with your
file, but which did not trigger the inconsistent grids error.
Ansley
On 2/20/2022 10:59 PM, saurabh rathore
wrote:
Hi Ryo,
Thank you for
your reply just now I ran the code again and saved the NetCDF
files and they are looking good without the error. I do not
understand was it due to the ferret crashing problem or
related to saving the NetCDF but it is solved now. And
interestingly after generating the NetCDF file from ferret
which shows the error works fine if I extract the variable and
save it using CDO. So anyone facing such a problem can do
either of these steps
(1) Close
ferret and the related linux terminals and relaunch ferret
OR if the
problem still persists
(2) Use CDO,
extract the variable using "selvar" and save it into NetCDF
(cdo -r -f nc4 selvar,variable_name
input.nc output.nc)
Cheers, Saurabh
Saurabh,
I am writing this email
regarding a problem that I am running into as shown
below
**netCDF error
NetCDF: Start+count exceeds dimension
bound (OPeNDAP/netCDF Error code -57)
Is it possible that the netCDF file is corrupted? My
best guess is that there are more gridpoints in the
dimension variable than there are in the variable
(array). For example, say, your longitude grid has 100
points but your temperature field has only 50 points in
the longitudinal direction . . .
The error message you quote above is from the netCDF
library, which occurs when you try to access the index
of a variable beyond the maximum. But, what I don't
know is, what makes Ferret do so.
It's not easy for me to test it because the main
tools I use to create netCDF files (Ferret and Julia)
avoid such inconsistencies in the first place.
Cheers,
Ryo
--
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