HDF4 expects Fortran integers to be 4 bytes. Are you sure your INTEGER(LONG) are 4 bytes? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Elena Pourmal The HDF Group http://hdfgroup.org 1800 So. Oak St., Suite 203, Champaign IL 61820 217.531.6112 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On Mar 4, 2013, at 11:05 PM, [email protected] wrote: > On 2013-03-04 10:02, M Pa wrote: >> Hello, >> I inherited a code that converts MODIS (MYD04_L2 type) data to bufr. >> I compiled the code and checked files for content and they contain the >> data I want to use. Also I checked that the code is got the name of >> the file right. >> When I try to read dimensions of latititude the code crashed with segfault. >> The code was compiled with ifort, icc >> (12-12.0.4.191) hdf4/4.2.7-intel-12.0.4.191, szip/2.1-intel-12.0.4.191 >> Can you suggest what the problem is? > > Nothing jumps out as incorrect, have you verified Max_HDF_Array_Size and what > KIND is LONG? > > > > _______________________________________________ > Hdf-forum is for HDF software users discussion. > [email protected] > http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
