Re: [netcdfgroup] nf90_char size

  • To: netCDF Mail List <netcdfgroup@xxxxxxxxxxxxxxxx>
  • Subject: Re: [netcdfgroup] nf90_char size
  • From: Aleksandar Jelenak <ajelenak@xxxxxxxxxxxx>
  • Date: Fri, 15 May 2020 18:22:04 +0000
  • Authentication-results: unidata.ucar.edu; dkim=none (message not signed) header.d=none;unidata.ucar.edu; dmarc=none action=none header.from=hdfgroup.org;
Hi John,

On May 15, 2020, at 12:56 PM, John Buonagurio 
<jbuonagurio@xxxxxxxxxxxx<mailto:jbuonagurio@xxxxxxxxxxxx>> wrote:

(Side note: OFFSET 18446744073709551615 is ULLONG_MAX (2^64 - 1), I don't
know why h5dump prints that.)

In HDF5 the HADDR_UNDEF constant has the value ULLONG_MAX (2^64 - 1). So what 
h5dump is telling with:

>       STORAGE_LAYOUT {
>          CONTIGUOUS
>          SIZE 0
>          OFFSET 18446744073709551615
>       }

is that the HDF5 dataset was created but no data for it was written to the file.

I agree that h5dump’s output should have something more friendlier than the 
integer value itself.

-Aleksandar