NCVGT: : NetCDF: HDF error

Topics related to the ARWpost post-processor
Post Reply
TJ12345
Posts: 6
Joined: Thu Mar 07, 2019 8:57 am

NCVGT: : NetCDF: HDF error

Post by TJ12345 » Fri May 21, 2021 7:04 pm

I launch ARWpost but it suddenly stops with the message
Processing time --- 2021-03-15_14:00:00
Found the right date - continue
NCVGT: : NetCDF: HDF error

I checked that wrfout_d01_2021-03-15_14:00:00 is not corrupted.
I can successfully output variables from wrfout_d01_2021-03-15_14:00:00
ncdump -v HGT wrfout_d01_2021-03-15_14:00:00
Also I can view fields from wrfout_d01_2021-03-15_14:00:00 using xconv.

What could be the reason for the ARWpost error message?

kwerner
Posts: 2347
Joined: Wed Feb 14, 2018 9:21 pm

Re: NCVGT: : NetCDF: HDF error

Post by kwerner » Mon May 24, 2021 6:14 pm

Hi,
I'm assuming that you built NetCDF with HDF5? If so, can you check that your HDF5 library hasn't been updated since you built NetCDF? Can you also check the path for the environment variable NETCDF to see if you have that pointing to the right location?
NCAR/MMM

TJ12345
Posts: 6
Joined: Thu Mar 07, 2019 8:57 am

Re: NCVGT: : NetCDF: HDF error

Post by TJ12345 » Fri Jun 04, 2021 9:07 pm

Thank you for the reply.

I found the cause of the error. My file is indeed corrupted.
When I use
ncks -v W wrfout_d01_2021-03-15_14:00:00
it fails
nco_err_exit(): ERROR Short NCO-generated message (usually name of function that triggered error): nco_get_vara()
nco_err_exit(): ERROR Error code is -101. Translation into English with nc_strerror(-101) is "NetCDF: HDF error"
nco_err_exit(): ERROR NCO will now exit with system call exit(EXIT_FAILURE)

kwerner
Posts: 2347
Joined: Wed Feb 14, 2018 9:21 pm

Re: NCVGT: : NetCDF: HDF error

Post by kwerner » Mon Jun 28, 2021 10:24 pm

HI,
I first would like to apologize for the long delay in response. I've been traveling for the past few weeks and am just now trying to catch up with forum inquiries. I'm so glad to hear that you were able to find the root of the problem. Have you been able to get a new uncorrupted file and build it successfully?
NCAR/MMM

Post Reply

Return to “ARWpost”