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? Thanks, Mark
PRINT *,SDS_ID, Field_Name
Status = SFGINFO (SDS_ID, Field_Name, Number_of_Dimensions, &
Dimension_Sizes, Number_Type, Number_of_Attributes)
Processing MYD04_L2.AAA.hdf
262145 Latitude
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
modis_products_to 000000000054FA72 Unknown Unknown Unknown
modis_products_to 0000000000515D5B Unknown Unknown Unknown
modis_products_to 0000000000517579 Unknown Unknown Unknown
modis_products_to 00000000004AF2B9 get_hdf_dimension 151
get_hdf_dimensions.f90
modis_products_to 0000000000435A4B modis_products_to 435
modis_products_to_BUFR.f90
modis_products_to 000000000040C107 MAIN__ 342
modis_products_to_BUFR.f90
modis_products_to 000000000040582C Unknown Unknown Unknown
libc.so.6 00000038B8C1ECDD Unknown Unknown Unknown
modis_products_to 0000000000405729 Unknown Unknown Unknown
get_hdf_dimensions.f90
Description: Binary data
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
