[Thread Prev][Thread Next][Index]

Re: [ferret_users]



Just to close this thread, I can confirm that this is not an error written by Ferret or PyFerret code, but seems to have come from the netCDF library. That doesn't tell us whether it's an issue within netCDF, or whether the netCDF code has run into something wrong with the file.



On 8/25/2020 10:42 PM, Fiedler, Russell (O&A, Hobart) wrote:

Hi,

It actually looks as if it is a problem with a corrupt file  or possibly an internal netCDF error. There's a few issues in the netCDF github repository mentioning this error.
e.g.

https://github.com/Unidata/netcdf-c/issues/481


Supposedly fixed but who knows. What OS and version of Ferret are you using?

Russ
PS: Please use a meaningful subject when asking questions on the list.

From: owner-ferret_users@xxxxxxxx <owner-ferret_users@xxxxxxxx> on behalf of Ryo Furue <furue@xxxxxxxxxx>
Sent: Wednesday, 26 August 2020 3:22 PM
To: Gopal Mondal <gopalmondal18@xxxxxxxxx>
Cc: ferret <ferret_users@xxxxxxxx>
Subject: Re: [ferret_users]
 
Dear Gopal,

On Wed, Aug 26, 2020 at 12:43 PM Gopal Mondal <gopalmondal18@xxxxxxxxx> wrote:

 !-> SET DAT/FORM=CDF 9071_ionPrf.nc
ferret: v1hpg.c:234: v1h_get_nc_type: Assertion `type == 1 || type == 2 || type == 3 || type == 4 || type == 5 || type == 6 || type == 7 || type == 8 || type == 9 || type == 10 || type == 11 || type == 12' failed.
Aborted (core dumped)

The "Assertion" error and "Aborted" indicate that this is an error internal to Ferret(*footnote*).  Only the developers of Ferret can fix it.

I guess the best way to address this (Correct me if I'm wrong) is to submit an "issue" at

https://github.com/NOAA-PMEL/Ferret

Having said that, the error you show seems to suggest that there is something wrong with your netCDF file.  On the command line (terminal), what do you get from

ncdump -h  9071_ionPrf.nc

?

Ryo
---------------------
(*footnote*) The assertion is failing actually in the code of the netCDF library:
https://github.com/Unidata/netcdf-c/blob/master/libsrc/v1hpg.c



-- 
Ansley Manke
Science Data Integration Group
NOAA Pacific Marine Environmental Laboratory
7600 Sand Point Way NE
Seattle WA 98115

I am currently teleworking and am available Tue-Wed-Thu.

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement